|
@@ -337,11 +337,13 @@ export default {
|
|
this.ruleForm.JSKS = depIds
|
|
this.ruleForm.JSKS = depIds
|
|
},
|
|
},
|
|
handleRuleIdChange(e) {
|
|
handleRuleIdChange(e) {
|
|
- const nodeData = this.$refs.zkInfoRef.getCheckedNodes(true)
|
|
|
|
- console.log('选中', nodeData)
|
|
|
|
- this.ruleFormDisabled.level = nodeData[0].data.level
|
|
|
|
- this.ruleFormDisabled.score = nodeData[0].parent.value == 1 ? nodeData[0].data.down : nodeData[0].data.score
|
|
|
|
- this.receivingEnd(nodeData[0].parent.value)
|
|
|
|
|
|
+ this.$nextTick(() => {
|
|
|
|
+ const nodeData = this.$refs.zkInfoRef.getCheckedNodes(true)
|
|
|
|
+ console.log('选中', nodeData)
|
|
|
|
+ this.ruleFormDisabled.level = nodeData[0].data.level
|
|
|
|
+ this.ruleFormDisabled.score = nodeData[0].parent.value == 1 ? nodeData[0].data.down : nodeData[0].data.score
|
|
|
|
+ this.receivingEnd(nodeData[0].parent.value)
|
|
|
|
+ })
|
|
},
|
|
},
|
|
success(msg) {
|
|
success(msg) {
|
|
this.$message({
|
|
this.$message({
|