提交修改

dev
dsh 12 months ago
parent 684f82eb76
commit dc8f9c988e

@ -86,11 +86,14 @@ export default {
methods: { methods: {
parseTime, parseTime,
filteredActions(applyStatus) { filteredActions(applyStatus) {
if (applyStatus === 3) { if(applyStatus === 0 || applyStatus === 1){
return this.actions;
} else {
return this.actions.filter(action => action.text !== '退回意见'); return this.actions.filter(action => action.text !== '退回意见');
} }
if (applyStatus === 3) {
return this.actions
} else if(applyStatus === 2 || applyStatus === 4){
return this.actions.filter(action => action.text === '查看');
}
}, },
// //
getList(query){ getList(query){

@ -18,16 +18,6 @@
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
/> />
</el-form-item> </el-form-item>
<el-form-item label="状态" prop="applyStatus">
<el-select v-model="queryParams.applyStatus" placeholder="状态" clearable>
<el-option
v-for="dict in dict.type.rew_apply_status"
:key="dict.value"
:label="dict.label"
:value="dict.value"
/>
</el-select>
</el-form-item>
<el-form-item> <el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery"></el-button> <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery"></el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery"></el-button> <el-button icon="el-icon-refresh" size="mini" @click="resetQuery"></el-button>

Loading…
Cancel
Save