会员状态:
@@ -427,13 +429,14 @@
{prop: 'MMobile', label: '联系电话'},
{prop: 'unionname', label: '所属工会', sortable: true},
{prop: 'unitname', label: '所属单位', sortable: true},
- {prop: 'threeUnitName', label: '所在科室', sortable: true},
- {prop: 'unionGroupName', label: '工会小组', sortable: true},
+ {prop: 'threeUnitName', label: '所在科室', sortable: true, checked: 0},
+ {prop: 'unionGroupName', label: '工会小组', sortable: true, checked: 0},
{prop: 'type', label: '变更类型', sortable: true},
{prop: 'applyDate', label: '申请时间', sortable: true},
{prop: 'applyOrigin', label: '申请方式', sortable: true},
{prop: 'stateId', label: '状态', sortable: true},
],
+ isThreeUnit: null,
}
},
components: {
@@ -530,6 +533,15 @@
}
},
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();
if ("${@shiro.hasRole('sysadmin')||@shiro.hasRole('A06')||@shiro.hasRole('H03')}" === 'true') {