|
@@ -1,5 +1,5 @@
|
1
|
1
|
<template>
|
2
|
|
- <div class="p-2 auto-overflow-y">
|
|
2
|
+ <div class="p-2 auto-overflow-y" style="overflow-x: hidden">
|
3
|
3
|
<el-row :gutter="20">
|
4
|
4
|
<!-- 部门树 -->
|
5
|
5
|
<el-col :lg="4" :xs="24" style="">
|
|
@@ -7,7 +7,7 @@
|
7
|
7
|
<el-input v-model="deptName" placeholder="请输入部门名称" prefix-icon="Search" clearable />
|
8
|
8
|
<el-tree
|
9
|
9
|
ref="deptTreeRef"
|
10
|
|
- class="mt-2 w-300px h-148 inline-block overflow-auto"
|
|
10
|
+ class="mt-2 w-300px h-174 inline-block overflow-auto"
|
11
|
11
|
node-key="id"
|
12
|
12
|
:data="deptOptions"
|
13
|
13
|
:props="{ label: 'label', children: 'children' }"
|
|
@@ -72,11 +72,11 @@
|
72
|
72
|
错扣补款
|
73
|
73
|
</el-button>
|
74
|
74
|
</el-col>
|
75
|
|
-<!-- <el-col :span="1.5">-->
|
76
|
|
-<!-- <el-button v-has-permi="['cardOperation:ptCard:edit']" type="warning" plain icon="Unlock" @click="handleImportBalance()">-->
|
77
|
|
-<!-- 导入卡余-->
|
78
|
|
-<!-- </el-button>-->
|
79
|
|
-<!-- </el-col>-->
|
|
75
|
+ <!-- <el-col :span="1.5">-->
|
|
76
|
+ <!-- <el-button v-has-permi="['cardOperation:ptCard:edit']" type="warning" plain icon="Unlock" @click="handleImportBalance()">-->
|
|
77
|
+ <!-- 导入卡余-->
|
|
78
|
+ <!-- </el-button>-->
|
|
79
|
+ <!-- </el-col>-->
|
80
|
80
|
<el-col :span="1.5">
|
81
|
81
|
<el-dropdown class="mt-[1px]">
|
82
|
82
|
<el-button plain type="info">
|
|
@@ -102,7 +102,14 @@
|
102
|
102
|
</el-row>
|
103
|
103
|
</template>
|
104
|
104
|
|
105
|
|
- <el-table v-loading="loading" :data="ptUserAccountList" max-height="calc(100vh - 23.75rem)" @selection-change="handleSelectionChange">
|
|
105
|
+ <el-table
|
|
106
|
+ v-loading="loading"
|
|
107
|
+ :data="ptUserAccountList"
|
|
108
|
+ height="calc(100vh - 25rem)"
|
|
109
|
+ :row-style="{ 'height': '35px' }"
|
|
110
|
+ :cell-style="{ 'padding': '5px 0px', 'height': '30px' }"
|
|
111
|
+ @selection-change="handleSelectionChange"
|
|
112
|
+ >
|
106
|
113
|
<el-table-column type="selection" width="55" align="center" />
|
107
|
114
|
<el-table-column v-if="columns[0].visible" label="姓名" align="center" prop="realName" width="100" :show-overflow-tooltip="true" />
|
108
|
115
|
<el-table-column v-if="columns[1].visible" label="学/工号" align="center" prop="userNumb" width="100" :show-overflow-tooltip="true" />
|
|
@@ -124,7 +131,7 @@
|
124
|
131
|
</template>
|
125
|
132
|
</el-table-column>
|
126
|
133
|
<el-table-column v-if="columns[7].visible" label="账户余额" align="center" prop="accountBalance" />
|
127
|
|
- <el-table-column v-if="columns[8].visible" label="账户流水号" align="center" prop="userNo" width="110" />
|
|
134
|
+ <el-table-column v-if="false && columns[8].visible" label="账户流水号" align="center" prop="userNo" width="110" />
|
128
|
135
|
<el-table-column v-if="columns[9].visible" label="发卡情况" align="center" prop="accountCard" width="100">
|
129
|
136
|
<template #default="scope">
|
130
|
137
|
<span :style="{ color: getCardInfoColor(scope.row.accountCard) }">{{ scope.row.accountCard }}</span>
|
|
@@ -138,7 +145,7 @@
|
138
|
145
|
width="100"
|
139
|
146
|
:show-overflow-tooltip="true"
|
140
|
147
|
/>
|
141
|
|
- <el-table-column v-if="columns[11].visible" label="有效期" align="center" prop="lifespan" width="120">
|
|
148
|
+ <el-table-column v-if="columns[11].visible" label="有效期" align="center" prop="lifespan" width="110">
|
142
|
149
|
<template #default="scope">
|
143
|
150
|
<span>{{ parseTime(scope.row.lifespan, '{y}-{m}-{d}') }}</span>
|
144
|
151
|
</template>
|
|
@@ -148,7 +155,7 @@
|
148
|
155
|
<dict-tag :options="sys_normal_disable" :value="scope.row.status" />
|
149
|
156
|
</template>
|
150
|
157
|
</el-table-column>
|
151
|
|
- <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
|
158
|
+ <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="90">
|
152
|
159
|
<template #default="scope">
|
153
|
160
|
<el-tooltip content="卡片信息" placement="top">
|
154
|
161
|
<el-button
|