xi.vue
8.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
<template>
<div>
<div class="fa-box">
<div class="lik">
<div class="fa-ji">
<div class="ge"></div>
<div class="fa-text">账号管理</div>
</div>
<div class="peiches">
<el-button type="primary" @click="dialogVisible = true">添加结项记录</el-button>
</div>
</div>
<div class="biaoge">
<div class="zhonlistas">
<el-table
:data="tableData"
border
style="width: 100%"
height="100%"
:header-cell-style="{ background: '#F4F4F5', color: '#303133' }"
>
<el-table-column fixed prop="date" label="编号" style="width: 25%">
</el-table-column>
<el-table-column prop="name" label="系统消息模板" style="width: 25%">
</el-table-column>
<el-table-column prop="province" label="状态" style="width: 25%">
<template slot-scope="scope">
<span
v-if="scope.row.province == '审核中'"
style="color: #e6a23c"
>审核中</span
>
<span
v-if="scope.row.province == '审核通过'"
style="color: #67c23a"
>审核通过</span
>
<span
v-if="scope.row.province == '审核失败'"
style="color: #f56c6c"
>审核失败</span
>
</template>
</el-table-column>
<el-table-column fixed="right" label="操作" style="width: 25%">
<template slot-scope="scope">
<el-button
type="text"
size="small"
@click="dialogVisibleh = true"
>配车明细</el-button
>
<el-button
type="text"
size="small"
v-if="scope.row.province == '审核中'"
>审核</el-button
>
</template>
</el-table-column>
</el-table>
</div>
</div>
<div class="tiaoshu">
<div class="left-io"></div>
<div class="gon">共400条</div>
<div class="kls">
<el-pagination
:page-size="20"
:pager-count="11"
layout="prev, pager, next"
:total="1000"
>
</el-pagination>
</div>
</div>
</div>
<!-- 编制成套配车计划 -->
<el-dialog
title="权限管理"
:visible.sync="dialogVisible"
width="50%"
style='margin-top:10%;'
:append-to-body="true"
>
<div class="liebiao">
<div class="lise">
<div class="lise-left">
<div class="shenfen">身份名称</div>
<input
type="text"
class="shen-ingpuy"
placeholder="请输入身份名称"
/>
</div>
<div class="lise-left">
<div class="shenfen">身份名称</div>
<div class="as">
<el-tree
:data="data"
show-checkbox
node-key="id"
:default-expanded-keys="[5]"
:default-checked-keys="[5]"
:props="defaultProps"
>
</el-tree>
</div>
</div>
</div>
<div class="queren">
<el-button type="primary" round @click="dialogVisible = false">确认</el-button>
<el-button round @click='dialogVisible = false'>取消</el-button>
</div>
</div>
</el-dialog>
</div>
</template>
<script>
export default {
data() {
return {
tableData: [
{
date: "P2112020092300",
name: "P2112020092300",
province: "审核中",
city: "赵吾光",
address: "178 2038 0191",
zip: "重庆市南岸区长生桥镇长生路46号附1号",
},
{
date: "P2112020092300",
name: "P2112020092300",
province: "审核通过",
city: "审核通过",
address: "178 2038 0191",
zip: "重庆市南岸区长生桥镇长生路46号附1号",
},
{
date: "P2112020092300",
name: "P2112020092300",
province: "审核中",
city: "审核中",
address: "178 2038 0191",
zip: "重庆市南岸区长生桥镇长生路46号附1号",
},
{
date: "P2112020092300",
name: "P2112020092300",
province: "审核通过",
city: "赵吾光",
address: "178 2038 0191",
zip: "重庆市南岸区长生桥镇长生路46号附1号",
},
{
date: "P2112020092300",
name: "P2112020092300",
province: "审核通过",
city: "赵吾光",
address: "178 2038 0191",
zip: "重庆市南岸区长生桥镇长生路46号附1号",
},
{
date: "P2112020092300",
name: "P2112020092300",
province: "审核失败",
city: "赵吾光",
address: "178 2038 0191",
zip: "重庆市南岸区长生桥镇长生路46号附1号",
},
{
date: "P2112020092300",
name: "P2112020092300",
province: "北京电站",
city: "赵吾光",
address: "178 2038 0191",
zip: "重庆市南岸区长生桥镇长生路46号附1号",
},
{
date: "P2112020092300",
name: "P2112020092300",
province: "北京电站",
city: "赵吾光",
address: "178 2038 0191",
zip: "重庆市南岸区长生桥镇长生路46号附1号",
},
{
date: "P2112020092300",
name: "P2112020092300",
province: "北京电站",
city: "赵吾光",
address: "178 2038 0191",
zip: "重庆市南岸区长生桥镇长生路46号附1号",
},
{
date: "P2112020092300",
name: "P2112020092300",
province: "北京电站",
city: "赵吾光",
address: "178 2038 0191",
zip: "重庆市南岸区长生桥镇长生路46号附1号",
},
],
dialogVisible: false,
dialogImageUrl: "",
data: [
{
id: 1,
label: "全部选中"
},
{
id: 2,
label: "首页"
},
{
id: 3,
label: "运输管理",
children: [
{
id: 7,
label: "二级 3-1",
},
{
id: 8,
label: "二级 3-2",
},
],
},
{
id: 4,
label: "在途管理",
children: [
{
id: 7,
label: "二级 3-1",
},
{
id: 8,
label: "二级 3-2",
},
],
},
{
id: 5,
label: "系统管理",
children: [
{
id: 7,
label: "用户管理",
},
{
id: 8,
label: "权限管理",
},
{
id: 9,
label: "仪表类型管理",
},
{
id: 10,
label: "车辆类型管理",
},
],
},
],
defaultProps: {
children: "children",
label: "label",
},
};
},
methods: {
//编辑发货申请
handleClick(row) {
console.log(row);
},
//上传图片
handleRemove(file, fileList) {
console.log(file, fileList);
},
handlePictureCardPreview(file) {
this.dialogImageUrl = file.url;
this.dialogVisible = true;
},
},
};
</script>
<style>
.el-dialog__body {
padding: 5px 20px;
padding-bottom: 68px;
}
.el-dialog__title {
font-size: 29px !important;
color: #000000 !important;
font-weight: 500;
}
.el-upload--picture-card {
width: 107px !important;
height: 107px !important;
line-height: 107px !important;
}
.el-upload-list--picture-card .el-upload-list__item {
width: 107px !important;
height: 107px !important;
line-height: 107px !important;
}
.el-carousel__container {
margin-top: 52px;
height: 629px;
}
/* .el-table /deep/.DisabledSelection .cell .el-checkbox__inner{
margin-left: -30px;
position:relative;
} */
.el-table /deep/.DisabledSelection .cell:before {
content: "全选";
position: absolute;
right: 42px;
}
</style>
<style scoped>
@import "../../css/fa.css";
@import "../../css/pei.css";
@import "../../css/gon.css";
</style>