【修改】修改权限又称

This commit is contained in:
zhoulingpo
2023-05-10 16:43:11 +08:00
parent 0efc8c6c14
commit 35954268bc
5 changed files with 35 additions and 17 deletions
@@ -64,6 +64,7 @@
v-for="item in PERMISSION"
:key="item.value"
:label="item.label"
:disabled="item.disabled"
:value="item.value">
</el-option>
</el-select>
@@ -142,23 +143,33 @@ export default {
return item
}
})
this.form.powerName = newItem[0].label
this.applicationForm.powerName = newItem[0].label
this.$set( this.applicationForm,'powerName',newItem[0].label )
console.log(this.applicationForm,"报告隐私等级")
},
handleClose() {
this.isShow = false
},
open(form) {
this.isShow = true
let oldPower = form.power
if (!form.twoApprove) {
form.oneApprove = ''
form.oneApproveName = ''
form.twoApprove = ''
form.twoApproveName = ''
form.power = ''
form.applyReason = ''
form.prcType = ''
form.powerName=''
form.power=''
this.PERMISSION = this.PERMISSION.map(item=>{
if(item.value == oldPower){
item.disabled=true
}
return item
})
}
this.applicationForm = JSON.parse(JSON.stringify(form))
this.$nextTick(() => {