Commit 50afbf5f authored by lwy's avatar lwy

用户管理-优化表格数据

parent d0fca11e
......@@ -42,9 +42,9 @@
/>
</el-form-item>
<!-- 事业部出来再改 -->
<el-form-item label="" prop="divsion">
<el-form-item label="" prop="unitNames">
<el-input
v-model="queryParams.divsion"
v-model="queryParams.unitNames"
placeholder="事业部"
clearable
style="width: 240px"
......@@ -120,7 +120,6 @@
@selection-change="handleSelectionChange"
border
>
<!-- <el-table-column type="selection" width="50" align="center" />-->
<el-table-column label="序号" align="center">
<template #default="scope">
{{scope.$index + 1}}
......@@ -168,15 +167,15 @@
</el-table-column>
<el-table-column
v-if="columns[2].visible"
key="divsion"
key="unitNames"
label="事业部权限"
sortable
align="center"
prop="divsion"
prop="unitNames"
:show-overflow-tooltip="true"
>
<template #default="scope">
{{ scope.row.divsion || '--' }}
{{ scope.row.unitNames || '--' }}
</template>
</el-table-column>
<el-table-column
......@@ -184,11 +183,11 @@
key="factoryName"
label="制造工厂权限"
align="center"
prop="factoryName"
prop="factoryNames"
:show-overflow-tooltip="true"
>
<template #default="scope">
{{ scope.row.factoryName || '--' }}
{{ scope.row.factoryNames || '--' }}
</template>
</el-table-column>
<el-table-column
......@@ -257,8 +256,9 @@
link
v-if="scope.row.userType !== '00'"
type="primary"
v-hasPermi="['system:user:edit']"
@click="divsionDialog = true"
>配置事业部</el-button> <!--v-hasPermi="['system:user:edit']"-->
>配置事业部</el-button>
<el-button
v-hasPermi="['system:user:edit']"
link
......@@ -859,6 +859,7 @@ function reset() {
userId: null,
deptId: null,
userName: null,
unitNames: null,
nickName: null,
password: null,
phonenumber: null,
......
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