mirror of
http://112.124.100.131/ebiz-ai/ebiz-ai-knowledge-manage.git
synced 2025-12-16 06:16:51 +08:00
修复重置不清楚数据问题
This commit is contained in:
@@ -55,7 +55,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<!-- 规则描述输入框 -->
|
<!-- 规则描述输入框 -->
|
||||||
<el-form-item label="规则描述" prop="ruleDesc">
|
<el-form-item label="规则描述" prop="ruleDescLike">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="queryParams.ruleDescLike"
|
v-model="queryParams.ruleDescLike"
|
||||||
size="medium"
|
size="medium"
|
||||||
@@ -134,10 +134,6 @@ import {
|
|||||||
deleteRule,
|
deleteRule,
|
||||||
batchSwitchStatus,
|
batchSwitchStatus,
|
||||||
queryRuleDetail,
|
queryRuleDetail,
|
||||||
getRuleList,
|
|
||||||
batchAddRuleType,
|
|
||||||
batchAddField,
|
|
||||||
batchAddRiskType,
|
|
||||||
getRuleTypeList,
|
getRuleTypeList,
|
||||||
getFieldTypeList,
|
getFieldTypeList,
|
||||||
getRiskTypeList
|
getRiskTypeList
|
||||||
@@ -330,6 +326,15 @@ export default {
|
|||||||
tableData: []
|
tableData: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
watch: {
|
||||||
|
'queryParams.ruleType': {
|
||||||
|
handler: function(n) {
|
||||||
|
if (!n) {
|
||||||
|
this.fieldTypeListCopy = []
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
created() {
|
created() {
|
||||||
this.getList()
|
this.getList()
|
||||||
this.getRuleTypeList()
|
this.getRuleTypeList()
|
||||||
@@ -343,7 +348,6 @@ export default {
|
|||||||
)[0]
|
)[0]
|
||||||
if (ruleType) {
|
if (ruleType) {
|
||||||
this.fieldTypeListCopy = this.fieldTypeList.filter(item => {
|
this.fieldTypeListCopy = this.fieldTypeList.filter(item => {
|
||||||
console.log(item)
|
|
||||||
return item.ruleTypeId === ruleType.id
|
return item.ruleTypeId === ruleType.id
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user