Commit b3be8960 by lei wang

dia经办用户查询条件逻辑添加

parent 5397b72d
......@@ -145,11 +145,11 @@
return {
codData: [],
codColumns: [
{ label: '交易编码', prop: 'cod', width: '200' },
{ label: '方向', prop: 'dir', width: '100' },
{ label: '类型', prop: 'typ', width: '100' },
{ label: '名称', prop: 'txt', width: '200' },
{ label: '状态', prop: 'sta', width: '100' }
{ label: '交易编码', prop: 'cod', width: 'auto' },
{ label: '方向', prop: 'dir', width: 'auto' },
{ label: '类型', prop: 'typ', width: 'auto' },
{ label: '名称', prop: 'txt', width: 'auto' },
{ label: '状态', prop: 'sta', width: 'auto' }
],
};
},
......
......@@ -50,7 +50,7 @@
v-on:queryFunc="queryFunc"
:border="true"
>
<c-table-column fixed="right" prop="op" label="操作" width="240px">
<c-table-column fixed="right" prop="op" label="操作" width="320px">
<template slot-scope="{ scope }">
<c-button
style="margin-left: 0"
......@@ -71,6 +71,7 @@
@click="usrDelete(scope.$index, scope.row)"
>删除</c-button
>
<c-button id="useButton" size="small" style="margin-left: 5px" :disabled="useButtonVisible" @click="use(scope.row)">使用</c-button>
<!-- <el-popover placement="top-start" width="50" trigger="click">-->
<!-- <ul class="table-button-item-list">-->
<!-- <li>-->
......@@ -135,6 +136,7 @@ export default {
// { label: 'ubrList', prop: 'ubrList', width: 'auto' },
// { label: 'uclList', prop: 'uclList', width: 'auto' },
],
useButtonVisible: true
};
},
// activated:已进入页面便可触发
......@@ -144,7 +146,24 @@ export default {
this.onInfusrSearch()
}
},
created() {
const { from } = this.$route.params
if (from != undefined && from != null) {
this.useButtonVisible = false
}
},
methods: {
use(row) {
const extkey = row.extkey
const { from } = this.$route.params
this.$store.dispatch("TagsView/delView", this.$route)
this.$router.push({
name: from,
params: {
extkey: extkey
}
})
},
handleReset() {
this.root.$refs.modelForm.resetFields();
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment