diff --git a/packages/conv/creditScore/AppGridMemberScore/components/gridScoreRules.vue b/packages/conv/creditScore/AppGridMemberScore/components/gridScoreRules.vue index 4ad582f3..45aed165 100644 --- a/packages/conv/creditScore/AppGridMemberScore/components/gridScoreRules.vue +++ b/packages/conv/creditScore/AppGridMemberScore/components/gridScoreRules.vue @@ -50,7 +50,7 @@ - +
@@ -174,7 +174,7 @@ export default { tableData: [], dialog: false, form: { - ruleType: 0, + ruleType: '0', systemRuleId: '', ruleName: '', scoringCycle: '', @@ -231,8 +231,19 @@ export default { } }); }, + closed() { + this.form = { + ruleType: '0', + systemRuleId: '', + ruleName: '', + scoringCycle: '', + numberLimit: '', + integral: '', + validRangeType: '0', + validRangeData: '' + } + }, toEdit(row) { - console.log(row); this.form = this.$copy(row) this.$nextTick(() => { this.dialog = true @@ -364,14 +375,11 @@ export default { if (!this.$refs.tree.getCheckedNodes().length) { return this.$message.error('请选择网格') } - this.$set(this.girdInfoList, this.currIndex, { ...this.$refs.tree.getCheckedNodes(), checkType: true }) - console.log(this.$refs.tree.getCheckedNodes()); this.form.validRangeData = this.$refs.tree.getCheckedNodes().map(e=> e.id).toString() - console.log(this.form.validRangeData); this.showGrid = false; },