From 7dad5e5e092380e7a69fe4abf5c883aac8bf3fa5 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期三, 25 十月 2023 15:45:55 +0800
Subject: [PATCH] 代码上传
---
Source/UBCS-WEB/src/views/system/PasswordManagement/passwords.vue | 18 +++++++++---------
Source/UBCS-WEB/src/store/modules/user.js | 4 ++--
2 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/Source/UBCS-WEB/src/store/modules/user.js b/Source/UBCS-WEB/src/store/modules/user.js
index 5eb70d5..235b774 100644
--- a/Source/UBCS-WEB/src/store/modules/user.js
+++ b/Source/UBCS-WEB/src/store/modules/user.js
@@ -295,9 +295,9 @@
}
Vue.set(permission_new, item.code, children);
});
- //console.log(permission_new)
state.permission = permission_new;
- setStore({name: "saber-permission", content: permission_new});
+ // console.log(state.permission)
+ setStore({name: "permission", content: permission_new});
},
}
diff --git a/Source/UBCS-WEB/src/views/system/PasswordManagement/passwords.vue b/Source/UBCS-WEB/src/views/system/PasswordManagement/passwords.vue
index e64436d..4326828 100644
--- a/Source/UBCS-WEB/src/views/system/PasswordManagement/passwords.vue
+++ b/Source/UBCS-WEB/src/views/system/PasswordManagement/passwords.vue
@@ -185,7 +185,7 @@
labelWidth:"22%",
id:5,
hide:true,
- change:this.handleCheckboxChange,
+ change: this.handleCheckboxChange,
rules: [{
required: true,
message: "璇烽�夋嫨缁勫悎鏂规硶",
@@ -319,10 +319,8 @@
created() {
this.onLoad()
combination().then(res=>{
- console.log("111",res)
+ // console.log("111",res)
})
- },
- mount() {
},
methods:{
handleSelectChange(val){
@@ -332,8 +330,10 @@
// }
},
handleCheckboxChange(val) {
+ console.log("val",val);
const arr = this.option.column[5];
this.checkboxlength = val.value;
+ console.log("this.checkboxlength",this.checkboxlength);
this.checkboxedit = this.checkboxlength.toString().split(",");
if (val.value != undefined && val.value != null) {
@@ -380,7 +380,7 @@
});
this.onLoad();
}).catch(res=>{
- console.log(res)
+ // console.log(res)
})
},
rowSave(row,done){
@@ -400,7 +400,7 @@
})
},
rowEdit(row){
- console.log("鎵撳紑缂栬緫edit",row)
+ // console.log("鎵撳紑缂栬緫edit",row)
},
handleDel(row){
this.$refs.crud.rowDel(row,row.$index);
@@ -411,7 +411,7 @@
// const arr=this.option.column[5];
this.checkboxNumber=row.combinationIds.split(",")
this.selectNumber=row.requiredType
- console.log(this.checkboxNumber, this.selectNumber)
+ // console.log(this.checkboxNumber, this.selectNumber)
// 鎵撳紑缂栬緫棣栧厛鍒ゆ柇锛岀粍鍚堟柟娉曟槸鍚﹀皬浜庡繀濉绫伙紝濡傛灉灏忎簬缁欎簣鎻愰啋淇敼
if(this.checkboxNumber.length<=this.selectNumber){
this.$message({
@@ -429,7 +429,7 @@
});
done()
}).catch(res=>{
- console.log(res)
+ // console.log(res)
})
},
onLoad(page, params = {}) {
@@ -440,7 +440,7 @@
// this.data = data.records;
// this.loading = false;
// this.selectionClear();
- console.log(res)
+ // console.log(res)
this.page.total=res.data.data.total
this.data=res.data.data.records
});
--
Gitblit v1.9.3