员工相关01转YN
This commit is contained in:
parent
38bc4dd952
commit
e7b95f125d
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<a-card :class="{
|
||||
'selected-card': orgInfo.izOnline== 1,
|
||||
'selected-card': orgInfo.izOnline== 'Y',
|
||||
'directive-selected-card': isDirectiveSelected,
|
||||
'org-card': true
|
||||
}" style="width: 100%; border-radius: 8px;" :style="{ cursor: clickable ? 'pointer' : 'default' }"
|
||||
|
|
|
|||
|
|
@ -25,12 +25,12 @@ export const columns: BasicColumn[] = [
|
|||
align: "center",
|
||||
dataIndex: 'descr'
|
||||
},
|
||||
{
|
||||
title: '是否启用',
|
||||
align: "center",
|
||||
dataIndex: 'izEnabled_dictText',
|
||||
width:100
|
||||
},
|
||||
// {
|
||||
// title: '是否启用',
|
||||
// align: "center",
|
||||
// dataIndex: 'izEnabled_dictText',
|
||||
// width:100
|
||||
// },
|
||||
];
|
||||
|
||||
// 高级查询数据
|
||||
|
|
|
|||
|
|
@ -17,13 +17,13 @@
|
|||
<JInput v-model:value="queryParam.configKey" />
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :lg="6">
|
||||
<!-- <a-col :lg="6">
|
||||
<a-form-item name="izEnabled">
|
||||
<template #label><span title="是否启用">是否启用</span></template>
|
||||
<j-dict-select-tag type='list' v-model:value="queryParam.izEnabled" dictCode="iz_enabled"
|
||||
placeholder="请选择是否启用" allowClear />
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
</a-col> -->
|
||||
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
||||
<span style="float: left; overflow: hidden" class="table-page-search-submitButtons">
|
||||
<a-col :lg="6">
|
||||
|
|
@ -37,16 +37,16 @@
|
|||
</a-form>
|
||||
</div>
|
||||
<!--引用表格-->
|
||||
<BasicTable @register="registerTable" :rowSelection="rowSelection">
|
||||
<BasicTable @register="registerTable">
|
||||
<!--插槽:table标题-->
|
||||
<template #tableTitle>
|
||||
<a-button type="primary" v-auth="'sysconfig:nu_sys_config:add'" @click="handleAdd"
|
||||
preIcon="ant-design:plus-outlined"> 新增</a-button>
|
||||
<a-button type="primary" v-auth="'sysconfig:nu_sys_config:exportXls'" preIcon="ant-design:export-outlined"
|
||||
<!-- <a-button type="primary" v-auth="'sysconfig:nu_sys_config:exportXls'" preIcon="ant-design:export-outlined"
|
||||
@click="onExportXls"> 导出</a-button>
|
||||
<j-upload-button type="primary" v-auth="'sysconfig:nu_sys_config:importExcel'"
|
||||
preIcon="ant-design:import-outlined" @click="onImportXls">导入</j-upload-button>
|
||||
<a-dropdown v-if="selectedRowKeys.length > 0">
|
||||
preIcon="ant-design:import-outlined" @click="onImportXls">导入</j-upload-button> -->
|
||||
<!-- <a-dropdown v-if="selectedRowKeys.length > 0">
|
||||
<template #overlay>
|
||||
<a-menu>
|
||||
<a-menu-item key="1" @click="batchHandleDelete">
|
||||
|
|
@ -55,10 +55,10 @@
|
|||
</a-menu-item>
|
||||
</a-menu>
|
||||
</template>
|
||||
<a-button v-auth="'sysconfig:nu_sys_config:deleteBatch'">批量操作
|
||||
<Icon icon="mdi:chevron-down"></Icon>
|
||||
</a-button>
|
||||
</a-dropdown>
|
||||
<a-button v-auth="'sysconfig:nu_sys_config:deleteBatch'">批量操作
|
||||
<Icon icon="mdi:chevron-down"></Icon>
|
||||
</a-button>
|
||||
</a-dropdown> -->
|
||||
</template>
|
||||
<!--操作栏-->
|
||||
<template #action="{ record }">
|
||||
|
|
@ -394,7 +394,7 @@ function AsyncResultFunc(record) {
|
|||
processingList.value = [];
|
||||
successList.value = [];
|
||||
pendingList.value = [];
|
||||
listByType({ primaryKey: record.id,type:'sys_config' }).then(res => {
|
||||
listByType({ primaryKey: record.id, type: 'sys_config' }).then(res => {
|
||||
if (res) {
|
||||
errorList.value = res.errorList || [];
|
||||
processingList.value = res.processingList || [];
|
||||
|
|
|
|||
|
|
@ -26,12 +26,12 @@
|
|||
<a-textarea v-model:value="formData.descr" :rows="4" placeholder="请输入备注" />
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
<!-- <a-col :span="24">
|
||||
<a-form-item label="是否启用" v-bind="validateInfos.izEnabled" id="SysConfigForm-izEnabled" name="izEnabled">
|
||||
<j-dict-select-tag type='radio' v-model:value="formData.izEnabled" dictCode="iz_enabled"
|
||||
placeholder="请选择是否启用" allowClear />
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
</a-col> -->
|
||||
</a-row>
|
||||
</a-form>
|
||||
</template>
|
||||
|
|
@ -63,7 +63,7 @@ const formData = reactive<Record<string, any>>({
|
|||
configKey: '',
|
||||
configValue: '',
|
||||
descr: '',
|
||||
izEnabled: '0',
|
||||
izEnabled: 'Y',
|
||||
delFlag: '0',
|
||||
});
|
||||
const { createMessage } = useMessage();
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@ function reload() {
|
|||
res.records = res.records.filter(o => o.orgCode != props.excludeOrgCode)
|
||||
orgTableList.value = res
|
||||
if (props.showDirectiveChoose || props.showDMTip) {
|
||||
const defaultSelected = res.records.find(item => item.izDirectiveMain === '0')
|
||||
const defaultSelected = res.records.find(item => item.izDirectiveMain === 'Y')
|
||||
if (defaultSelected) {
|
||||
dmOrg.value = defaultSelected
|
||||
emit('handleOrgChoose', defaultSelected)
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@ function reload() {
|
|||
res.records = res.records.filter(o => o.orgCode != props.excludeOrgCode)
|
||||
orgTableList.value = res
|
||||
if (props.showDirectiveChoose || props.showDMTip) {
|
||||
const defaultSelected = res.records.find(item => item.izElderTagMain === '0')
|
||||
const defaultSelected = res.records.find(item => item.izElderTagMain === 'Y')
|
||||
if (defaultSelected) {
|
||||
etmOrg.value = defaultSelected
|
||||
emit('handleOrgChoose', defaultSelected)
|
||||
|
|
|
|||
Loading…
Reference in New Issue