Commit 0ac0ab1f by 胡悦

修改

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