This commit is contained in:
shijingjing
2022-06-27 14:37:00 +08:00
parent 0a154f0c1f
commit a9e4aae662
2 changed files with 10 additions and 11 deletions

View File

@@ -6,10 +6,9 @@
</template>
<template slot="content">
<ai-search-bar bottomBorder>
<template slot="left">
<el-cascader size="small" v-model="search.eventType" placeholder="请选择事件/类型" clearable
:props="{...etOps,checkStrictly:true}" @change="handleTypeSearch" ref="eventTypeSearch"/>
<!-- <el-cascader size="small" v-model="search.eventType" placeholder="请选择事件/类型" clearable
:props="{...etOps,checkStrictly:true}" @change="handleTypeSearch" ref="eventTypeSearch"/> -->
<ai-select
v-model="search.status"
@change="page.current = 1, getList()"
@@ -17,18 +16,16 @@
:selectList="dict.getDict('integralRuleStatus')">
</ai-select>
</template>
<template slot="right">
<el-input size="small" placeholder="事件名称" v-model="search.partyName" clearable
@change="page.current=1,getTableData()" suffix-icon="iconfont iconSearch"/>
</template>
</ai-search-bar>
<ai-search-bar style="margin-top: 16px;">
<template #left>
<el-button type="primary" icon="iconfont iconAdd" @click="dialog=true">添加</el-button>
</template>
</ai-search-bar>
<ai-table
@@ -195,7 +192,7 @@ export default {
dialog: false,
form: {
ladderRule: [],
pass: 0,
pass: '0',
},
formRules: {
eventType: [{required: true, message: "请选择事件/类型", trigger: "change"}],
@@ -257,7 +254,6 @@ export default {
},
typeChange(val) {
// console.log(val);
this.form.pass = val
},