Commit 0ac0ab1f by 胡悦

修改

1 parent bdd3bfa2
......@@ -10,6 +10,10 @@ const Constants = {
},
ACCOUNT_STAUS_LIST: [
{
label: '全部',
value: ''
},
{
label: '已启用',
value: 0
},
......
......@@ -36,8 +36,8 @@
></el-input>
</el-form-item>
<el-form-item>
<el-button type="primary" :size="btn_size" :id="accountTableParams.btnId">搜索</el-button>
<el-button type="primary" :size="btn_size" @click="reset">重置</el-button>
<el-button type="primary" :size="btn_size" :id="accountTableParams.btnId">搜索</el-button>
</el-form-item>
</el-form>
</el-col>
......@@ -68,7 +68,9 @@ import { accountApi } from '@/api/accountManage'
export default {
data() {
return {
accountSearchForm: {},
accountSearchForm: {
delFlag: ''
},
getListApi: accountApi.getPageApi,
pageConf: {
pageSize: 'pageSize',
......@@ -149,7 +151,10 @@ export default {
}
},
reset() {
this.accountSearchForm = {}
this.accountSearchForm = {
delFlag: ''
}
this.$refs.accountTable.refreshTable()
}
}
}
......
<template>
<div>
<el-form :inline="true" :model="dictDataSearchForm">
<el-form :inline="true" style="text-align: right;" :model="dictDataSearchForm">
<el-form-item>
<el-input
v-model="dictDataSearchForm.dictName"
......@@ -33,8 +33,8 @@
</el-select>
</el-form-item>
<el-form-item>
<el-button type="primary" :size="btn_size" :id="dictDataTableParams.btnId">搜索</el-button>
<el-button :size="btn_size" type="primary" @click="reset">重置</el-button>
<el-button type="primary" :size="btn_size" :id="dictDataTableParams.btnId">搜索</el-button>
<el-button type="primary" :size="btn_size" @click="btnClick('create')">新增字典数据</el-button>
</el-form-item>
</el-form>
......
<template>
<div>
<el-form :inline="true" :model="dictSearchForm">
<el-form :inline="true" style="text-align: right;" :model="dictSearchForm">
<el-form-item label="字典名称:">
<el-input
v-model="dictSearchForm.dictName"
......@@ -33,8 +33,8 @@
</el-select>
</el-form-item>
<el-form-item>
<el-button type="primary" :size="btn_size" :id="dictTableParams.btnId">查询</el-button>
<el-button :size="btn_size" type="primary" @click="reset">重置</el-button>
<el-button type="primary" :size="btn_size" :id="dictTableParams.btnId">查询</el-button>
<el-button type="primary" :size="btn_size" @click="btnClick('create')">新增字典</el-button>
</el-form-item>
</el-form>
......@@ -89,7 +89,9 @@ export default {
data() {
return {
DICTSTATUS: this.$Constants.DICT_STATUS,
dictSearchForm: {},
dictSearchForm: {
enableStatus: ''
},
pageConf: {
pageSize: 'pageSize',
pageNum: 'pageNum',
......@@ -301,7 +303,10 @@ export default {
this.$Common.confirmDialog(tipData)
},
reset() {
this.dictSearchForm = {}
this.dictSearchForm = {
enableStatus: ''
}
this.$refs.dictTable.refreshTable()
}
}
}
......
......@@ -8,7 +8,7 @@
<el-col style="text-align: right;" :span="22">
<glsx-combi-form
ref="showSearch"
labelWidth="110px"
labelWidth="120px"
:formObj="searchForm"
:searchSelectObj="searchSelectObj"
:formData="searchFormData"
......@@ -31,8 +31,8 @@
@changeSecond="changeOwnSecond"
></own-cus-com>
</template>
<el-button :size="btn_size" type="primary" :id="tableParams.btnId">查询</el-button>
<el-button :size="btn_size" type="primary" @click="reset">重置</el-button>
<el-button :size="btn_size" type="primary" :id="tableParams.btnId">查询</el-button>
</glsx-combi-form>
</el-col>
</el-row>
......@@ -113,7 +113,7 @@ export default {
functionType: '',
ownedCusgroupType: '',
ownedCusGroupValues: '',
productId: []
productId: ''
},
tableSearchForm: {},
searchSelectObj: {
......@@ -677,7 +677,7 @@ export default {
functionType: '',
ownedCusgroupType: '',
ownedCusGroupValues: '',
productId: []
productId: ''
}
this.searchSelectObj = {
funcOrName: {
......@@ -685,6 +685,7 @@ export default {
value: ''
}
}
this.$refs.functionTable.refreshTable()
}
}
}
......
......@@ -12,8 +12,8 @@
:formData="searchFormData"
:labelWidth="'120px'"
>
<el-button :size="btn_size" type="primary" :id="tableParams.btnId">查询</el-button>
<el-button :size="btn_size" type="primary" @click="reset">重置</el-button>
<el-button :size="btn_size" type="primary" :id="tableParams.btnId">查询</el-button>
</glsx-combi-form>
</el-col>
</el-row>
......@@ -663,7 +663,11 @@ export default {
this[obj.formName][obj.targetItem.name] = obj.val ? obj.val.id : ''
},
reset() {
this.searchForm = {}
this.searchForm = {
productIds: [],
menuName: ''
}
this.$refs.menuTable.refreshTable()
}
}
}
......
......@@ -7,8 +7,8 @@
</el-col>
<el-col style="text-align: right;" :span="12">
<glsx-combi-form ref="showSearch" :formObj="searchForm" :formData="searchFormData">
<el-button :size="btn_size" type="primary" :id="tableParams.btnId">查询</el-button>
<el-button :size="btn_size" type="primary" @click="reset">重置</el-button>
<el-button :size="btn_size" type="primary" :id="tableParams.btnId">查询</el-button>
</glsx-combi-form>
</el-col>
</el-row>
......@@ -258,6 +258,7 @@ export default {
},
reset() {
this.searchForm = {}
this.$refs.productTable.refreshTable()
}
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!