commit
This commit is contained in:
@@ -53,6 +53,8 @@ layout("/layouts/platform.html"){
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<template v-if="searchMore">
|
<template v-if="searchMore">
|
||||||
|
|
||||||
|
<template v-if="isThreeUnit">
|
||||||
<div class="search-item">
|
<div class="search-item">
|
||||||
<div class="search-item-label">工会小组:</div>
|
<div class="search-item-label">工会小组:</div>
|
||||||
<div class="search-item-option">
|
<div class="search-item-option">
|
||||||
@@ -86,6 +88,7 @@ layout("/layouts/platform.html"){
|
|||||||
</el-select>
|
</el-select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
<div class="search-item">
|
<div class="search-item">
|
||||||
<div class="search-item-label">人员类型:</div>
|
<div class="search-item-label">人员类型:</div>
|
||||||
@@ -349,13 +352,14 @@ layout("/layouts/platform.html"){
|
|||||||
{prop: 'username', label: '姓名'},
|
{prop: 'username', label: '姓名'},
|
||||||
{prop: 'unionname', label: '所属工会', sortable: true},
|
{prop: 'unionname', label: '所属工会', sortable: true},
|
||||||
{prop: 'unitname', label: '所属单位', sortable: true},
|
{prop: 'unitname', label: '所属单位', sortable: true},
|
||||||
{prop: 'threeUnitName', label: '所在科室', sortable: true},
|
{prop: 'threeUnitName', label: '所在科室', sortable: true, checked: 0},
|
||||||
{prop: 'unionGroupName', label: '工会小组', sortable: true},
|
{prop: 'unionGroupName', label: '工会小组', sortable: true, checked: 0},
|
||||||
{prop: 'type', label: '变更类型', sortable: true},
|
{prop: 'type', label: '变更类型', sortable: true},
|
||||||
{prop: 'applyDate', label: '申请时间', sortable: true},
|
{prop: 'applyDate', label: '申请时间', sortable: true},
|
||||||
{prop: 'applyOrigin', label: '申请方式', sortable: true},
|
{prop: 'applyOrigin', label: '申请方式', sortable: true},
|
||||||
{prop: 'stateId', label: '状态', sortable: true}
|
{prop: 'stateId', label: '状态', sortable: true}
|
||||||
],
|
],
|
||||||
|
isThreeUnit
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
@@ -417,6 +421,16 @@ layout("/layouts/platform.html"){
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
async created() {
|
async created() {
|
||||||
|
|
||||||
|
this.isThreeUnit = await getConfigKey('isThreeUnit') === 'true'
|
||||||
|
if (this.isThreeUnit) {
|
||||||
|
this.tableColumns.forEach(v => {
|
||||||
|
if (["threeUnitName", "unionGroupName"].includes(v.prop)) {
|
||||||
|
v.checked = 1
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
this.pageData();
|
this.pageData();
|
||||||
if ("${@shiro.hasRole('sysadmin')||@shiro.hasRole('A06')||@shiro.hasRole('H03')}" === 'true') {
|
if ("${@shiro.hasRole('sysadmin')||@shiro.hasRole('A06')||@shiro.hasRole('H03')}" === 'true') {
|
||||||
this.unions = await getUnions(null, false)
|
this.unions = await getUnions(null, false)
|
||||||
|
|||||||
Reference in New Issue
Block a user