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