@liuqiongqiong/vue-pages 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,72 +1,35 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="app-container">
|
|
3
3
|
<div class="filter-container">
|
|
4
|
-
<el-form
|
|
5
|
-
ref="listQuery"
|
|
6
|
-
:inline="true"
|
|
7
|
-
:model="listQuery"
|
|
8
|
-
class="demo-form-inline"
|
|
9
|
-
>
|
|
4
|
+
<el-form ref="listQuery" :inline="true" :model="listQuery" class="demo-form-inline">
|
|
10
5
|
<el-form-item label="姓名" prop="name">
|
|
11
|
-
<el-select
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
clearable
|
|
15
|
-
filterable
|
|
16
|
-
size="small"
|
|
17
|
-
class="filter-item"
|
|
18
|
-
placeholder="请选择姓名"
|
|
19
|
-
>
|
|
20
|
-
<el-option
|
|
21
|
-
v-for="(item, index) in renyuanxinxi"
|
|
22
|
-
:key="index"
|
|
23
|
-
:label="item.name"
|
|
24
|
-
:value="item.name"
|
|
25
|
-
/>
|
|
6
|
+
<el-select v-model="listQuery.name" style="width: 100%" clearable filterable size="small" class="filter-item"
|
|
7
|
+
placeholder="请选择姓名">
|
|
8
|
+
<el-option v-for="(item, index) in renyuanxinxi" :key="index" :label="item.name" :value="item.name" />
|
|
26
9
|
</el-select>
|
|
27
10
|
</el-form-item>
|
|
28
11
|
<el-form-item label="性别" prop="sex">
|
|
29
|
-
<el-select
|
|
30
|
-
v-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
<el-option
|
|
35
|
-
v-for="(item, index) in [
|
|
36
|
-
{ label: '男', value: '1' },
|
|
37
|
-
{ label: '女', value: '2' },
|
|
38
|
-
]"
|
|
39
|
-
:key="index"
|
|
40
|
-
:label="item.label"
|
|
41
|
-
:value="item.value"
|
|
42
|
-
/>
|
|
12
|
+
<el-select v-model="listQuery.sex" size="small" placeholder="请选择性别">
|
|
13
|
+
<el-option v-for="(item, index) in [
|
|
14
|
+
{ label: '男', value: '1' },
|
|
15
|
+
{ label: '女', value: '2' },
|
|
16
|
+
]" :key="index" :label="item.label" :value="item.value" />
|
|
43
17
|
</el-select>
|
|
44
18
|
</el-form-item>
|
|
45
19
|
<el-form-item>
|
|
46
|
-
<el-button size="small" type="primary" @click="onSubmit"
|
|
47
|
-
>查询</el-button
|
|
48
|
-
>
|
|
20
|
+
<el-button size="small" type="primary" @click="onSubmit">查询</el-button>
|
|
49
21
|
</el-form-item>
|
|
50
22
|
<el-form-item>
|
|
51
|
-
<el-button size="small" type="warning" @click="resetting('listQuery')"
|
|
52
|
-
>重置</el-button
|
|
53
|
-
>
|
|
23
|
+
<el-button size="small" type="warning" @click="resetting('listQuery')">重置</el-button>
|
|
54
24
|
</el-form-item>
|
|
55
25
|
<el-form-item>
|
|
56
26
|
<el-button size="small" type="success" @click="add">新增</el-button>
|
|
57
27
|
</el-form-item>
|
|
58
28
|
<el-form-item>
|
|
59
|
-
<el-button
|
|
60
|
-
size="small"
|
|
61
|
-
type="primary"
|
|
62
|
-
@click="dialogVisibleExp = true"
|
|
63
|
-
>导出</el-button
|
|
64
|
-
>
|
|
29
|
+
<el-button size="small" type="primary" @click="dialogVisibleExp = true">导出</el-button>
|
|
65
30
|
</el-form-item>
|
|
66
31
|
<el-form-item>
|
|
67
|
-
<el-button size="small" type="primary" @click="synchronization"
|
|
68
|
-
>护工同步</el-button
|
|
69
|
-
>
|
|
32
|
+
<el-button size="small" type="primary" @click="synchronization">护工同步</el-button>
|
|
70
33
|
</el-form-item>
|
|
71
34
|
</el-form>
|
|
72
35
|
</div>
|
|
@@ -102,12 +65,8 @@
|
|
|
102
65
|
</el-table-column>
|
|
103
66
|
<el-table-column :label="'状态'" align="center">
|
|
104
67
|
<template slot-scope="{ row }">
|
|
105
|
-
<el-tag
|
|
106
|
-
|
|
107
|
-
:type="
|
|
108
|
-
row.status == '0' ? 'danger' : row.status == '1' ? 'success' : ''
|
|
109
|
-
"
|
|
110
|
-
>
|
|
68
|
+
<el-tag size="medium" :type="row.status == '0' ? 'danger' : row.status == '1' ? 'success' : ''
|
|
69
|
+
">
|
|
111
70
|
<span v-if="row.status == '0'">不可用</span>
|
|
112
71
|
<span v-if="row.status == '1'">正常</span>
|
|
113
72
|
</el-tag>
|
|
@@ -115,35 +74,20 @@
|
|
|
115
74
|
</el-table-column>
|
|
116
75
|
<el-table-column :label="'资质证书'" align="center">
|
|
117
76
|
<template slot-scope="{ row }">
|
|
118
|
-
<el-image
|
|
119
|
-
|
|
120
|
-
:key="index"
|
|
121
|
-
style="width: 50px; height: 50px"
|
|
122
|
-
:src="`${constant}${img(item)}`"
|
|
123
|
-
:preview-src-list="[`${constant}${img(item)}`]"
|
|
124
|
-
/>
|
|
77
|
+
<el-image v-for="(item, index) in row.certPicUrlList" :key="index" style="width: 50px; height: 50px"
|
|
78
|
+
:src="`${constant}${img(item)}`" :preview-src-list="[`${constant}${img(item)}`]" />
|
|
125
79
|
</template>
|
|
126
80
|
</el-table-column>
|
|
127
81
|
<el-table-column :label="'身份证'" align="center">
|
|
128
82
|
<template slot-scope="{ row }">
|
|
129
|
-
<el-image
|
|
130
|
-
|
|
131
|
-
:key="index"
|
|
132
|
-
style="width: 50px; height: 50px"
|
|
133
|
-
:src="`${constant}${img(item)}`"
|
|
134
|
-
:preview-src-list="[`${constant}${img(item)}`]"
|
|
135
|
-
/>
|
|
83
|
+
<el-image v-for="(item, index) in row.sfzUrlList" :key="index" style="width: 50px; height: 50px"
|
|
84
|
+
:src="`${constant}${img(item)}`" :preview-src-list="[`${constant}${img(item)}`]" />
|
|
136
85
|
</template>
|
|
137
86
|
</el-table-column>
|
|
138
87
|
<el-table-column :label="'学历证书'" align="center">
|
|
139
88
|
<template slot-scope="{ row }">
|
|
140
|
-
<el-image
|
|
141
|
-
|
|
142
|
-
:key="index"
|
|
143
|
-
style="width: 50px; height: 50px"
|
|
144
|
-
:src="`${constant}${img(item)}`"
|
|
145
|
-
:preview-src-list="[`${constant}${img(item)}`]"
|
|
146
|
-
/>
|
|
89
|
+
<el-image v-for="(item, index) in row.xlUrlList" :key="index" style="width: 50px; height: 50px"
|
|
90
|
+
:src="`${constant}${img(item)}`" :preview-src-list="[`${constant}${img(item)}`]" />
|
|
147
91
|
</template>
|
|
148
92
|
</el-table-column>
|
|
149
93
|
<!-- <el-table-column :label="'状态'" align="center">
|
|
@@ -151,12 +95,7 @@
|
|
|
151
95
|
<el-tag size="medium" :type="row.status == '1' ? 'success' : row.status == '2' ? 'warning' : '' " >{{ row.status == '1' ? '有效' : row.status == '2' ? '无效' : row.status == '0' ? '待审核' : '-'}}</el-tag>
|
|
152
96
|
</template>
|
|
153
97
|
</el-table-column> -->
|
|
154
|
-
<el-table-column
|
|
155
|
-
:label="'操作'"
|
|
156
|
-
align="center"
|
|
157
|
-
width="280"
|
|
158
|
-
class-name="small-padding fixed-width"
|
|
159
|
-
>
|
|
98
|
+
<el-table-column :label="'操作'" align="center" width="280" class-name="small-padding fixed-width">
|
|
160
99
|
<template slot-scope="{ row, $index }">
|
|
161
100
|
<el-button size="mini" type="success" @click="update(row, 'draft')">
|
|
162
101
|
更新状态
|
|
@@ -164,100 +103,48 @@
|
|
|
164
103
|
<el-button size="mini" type="primary" @click="edit(row, 'draft')">
|
|
165
104
|
修改
|
|
166
105
|
</el-button>
|
|
167
|
-
<el-button
|
|
168
|
-
size="mini"
|
|
169
|
-
type="danger"
|
|
170
|
-
@click="handleDelete(row, $index)"
|
|
171
|
-
>
|
|
106
|
+
<el-button size="mini" type="danger" @click="handleDelete(row, $index)">
|
|
172
107
|
注销
|
|
173
108
|
</el-button>
|
|
174
109
|
</template>
|
|
175
110
|
</el-table-column>
|
|
176
111
|
</el-table>
|
|
177
112
|
|
|
178
|
-
<pagination
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
:
|
|
182
|
-
:
|
|
183
|
-
@pagination="getList"
|
|
184
|
-
/>
|
|
185
|
-
<el-dialog
|
|
186
|
-
:close-on-click-modal="false"
|
|
187
|
-
:close-on-press-escape="false"
|
|
188
|
-
:title="textMap[dialogStatus]"
|
|
189
|
-
:visible.sync="dialogFormVisible"
|
|
190
|
-
width="40%"
|
|
191
|
-
>
|
|
192
|
-
<el-form
|
|
193
|
-
ref="dataForm"
|
|
194
|
-
:rules="rules"
|
|
195
|
-
:model="temp"
|
|
196
|
-
label-position="right"
|
|
197
|
-
label-width="100px"
|
|
198
|
-
>
|
|
113
|
+
<pagination v-show="total > 0" :total="total" :page.sync="listQuery.pageNo" :limit.sync="listQuery.size"
|
|
114
|
+
@pagination="getList" />
|
|
115
|
+
<el-dialog :close-on-click-modal="false" :close-on-press-escape="false" :title="textMap[dialogStatus]"
|
|
116
|
+
:visible.sync="dialogFormVisible" width="40%">
|
|
117
|
+
<el-form ref="dataForm" :rules="rules" :model="temp" label-position="right" label-width="100px">
|
|
199
118
|
<el-row :gutter="20">
|
|
200
119
|
<el-col :span="12">
|
|
201
120
|
<el-form-item label="姓名" prop="name">
|
|
202
|
-
<el-input
|
|
203
|
-
v-model="temp.name"
|
|
204
|
-
size="small"
|
|
205
|
-
clearable
|
|
206
|
-
placeholder="请输入姓名"
|
|
207
|
-
/>
|
|
121
|
+
<el-input v-model="temp.name" size="small" clearable placeholder="请输入姓名" />
|
|
208
122
|
</el-form-item>
|
|
209
123
|
</el-col>
|
|
210
124
|
<el-col :span="12">
|
|
211
125
|
<el-form-item label="性别" prop="sex">
|
|
212
|
-
<el-select
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
placeholder="请选择性别"
|
|
219
|
-
class="filter-item"
|
|
220
|
-
>
|
|
221
|
-
<el-option
|
|
222
|
-
v-for="(item, index) in [
|
|
223
|
-
{ label: '男', value: '男' },
|
|
224
|
-
{ label: '女', value: '女' },
|
|
225
|
-
]"
|
|
226
|
-
:key="index"
|
|
227
|
-
:label="item.label"
|
|
228
|
-
:value="item.value"
|
|
229
|
-
/>
|
|
126
|
+
<el-select v-model="temp.sex" style="width: 100%" clearable filterable size="small" placeholder="请选择性别"
|
|
127
|
+
class="filter-item">
|
|
128
|
+
<el-option v-for="(item, index) in [
|
|
129
|
+
{ label: '男', value: '男' },
|
|
130
|
+
{ label: '女', value: '女' },
|
|
131
|
+
]" :key="index" :label="item.label" :value="item.value" />
|
|
230
132
|
</el-select>
|
|
231
133
|
</el-form-item>
|
|
232
134
|
</el-col>
|
|
233
135
|
<el-col :span="12">
|
|
234
136
|
<el-form-item label="手机号码" prop="phoneNumber">
|
|
235
|
-
<el-input
|
|
236
|
-
v-model="temp.phoneNumber"
|
|
237
|
-
size="small"
|
|
238
|
-
clearable
|
|
239
|
-
placeholder="请输入手机号码"
|
|
240
|
-
/>
|
|
137
|
+
<el-input v-model="temp.phoneNumber" size="small" clearable placeholder="请输入手机号码" />
|
|
241
138
|
</el-form-item>
|
|
242
139
|
</el-col>
|
|
243
140
|
<el-col :span="12">
|
|
244
141
|
<el-form-item label="身份证号" prop="idCode">
|
|
245
|
-
<el-input
|
|
246
|
-
v-model="temp.idCode"
|
|
247
|
-
size="small"
|
|
248
|
-
clearable
|
|
249
|
-
placeholder="请输入身份证号"
|
|
250
|
-
/>
|
|
142
|
+
<el-input v-model="temp.idCode" size="small" clearable placeholder="请输入身份证号" />
|
|
251
143
|
</el-form-item>
|
|
252
144
|
</el-col>
|
|
253
145
|
<el-col :span="12">
|
|
254
146
|
<el-form-item label="居住地" prop="address">
|
|
255
|
-
<el-input
|
|
256
|
-
v-model="temp.address"
|
|
257
|
-
size="small"
|
|
258
|
-
clearable
|
|
259
|
-
placeholder="请输入居住地"
|
|
260
|
-
/>
|
|
147
|
+
<el-input v-model="temp.address" size="small" clearable placeholder="请输入居住地" />
|
|
261
148
|
</el-form-item>
|
|
262
149
|
</el-col>
|
|
263
150
|
<!-- <el-col :span="12">
|
|
@@ -271,86 +158,42 @@
|
|
|
271
158
|
</el-col> -->
|
|
272
159
|
<el-col :span="12">
|
|
273
160
|
<el-form-item label="所属机构" prop="unitId">
|
|
274
|
-
<el-select
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
filterable
|
|
279
|
-
size="small"
|
|
280
|
-
class="filter-item"
|
|
281
|
-
placeholder="请选择所属机构"
|
|
282
|
-
>
|
|
283
|
-
<el-option
|
|
284
|
-
v-for="(item, index) in institutionArrData"
|
|
285
|
-
:key="index"
|
|
286
|
-
:label="item.label"
|
|
287
|
-
:value="item.value"
|
|
288
|
-
/>
|
|
161
|
+
<el-select v-model="temp.unitId" style="width: 100%" clearable filterable size="small" class="filter-item"
|
|
162
|
+
placeholder="请选择所属机构">
|
|
163
|
+
<el-option v-for="(item, index) in institutionArrData" :key="index" :label="item.label"
|
|
164
|
+
:value="item.value" />
|
|
289
165
|
</el-select>
|
|
290
166
|
</el-form-item>
|
|
291
167
|
</el-col>
|
|
292
168
|
<el-col :span="24">
|
|
293
169
|
<el-form-item label="注:" prop="unitId">
|
|
294
|
-
<span style="color: red"
|
|
295
|
-
>上传的文件请使用姓名+类型去命名。防止文件名字重复被覆盖</span
|
|
296
|
-
>
|
|
170
|
+
<span style="color: red">上传的文件请使用姓名+类型去命名。防止文件名字重复被覆盖</span>
|
|
297
171
|
</el-form-item>
|
|
298
172
|
</el-col>
|
|
299
173
|
<el-col :span="12">
|
|
300
174
|
<el-form-item label="资质证书" prop="certPicUrlList">
|
|
301
|
-
<el-upload
|
|
302
|
-
|
|
303
|
-
:
|
|
304
|
-
|
|
305
|
-
:http-request="certhandleFileUpload"
|
|
306
|
-
:data="{ att_type: '22' }"
|
|
307
|
-
:on-remove="handleCertPicUrlRemove"
|
|
308
|
-
:before-remove="beforeRemove"
|
|
309
|
-
:on-error="handleError"
|
|
310
|
-
:file-list="temp.certPicUrlList"
|
|
311
|
-
:on-preview="onPreview"
|
|
312
|
-
>
|
|
313
|
-
<el-button slot="trigger" size="small" type="primary"
|
|
314
|
-
>选取文件</el-button
|
|
315
|
-
>
|
|
175
|
+
<el-upload action="#" :limit="1" :before-upload="beforeAvatarUploada" :http-request="certhandleFileUpload"
|
|
176
|
+
:data="{ att_type: '22' }" :on-remove="handleCertPicUrlRemove" :before-remove="beforeRemove"
|
|
177
|
+
:on-error="handleError" :file-list="temp.certPicUrlList" :on-preview="onPreview">
|
|
178
|
+
<el-button slot="trigger" size="small" type="primary">选取文件</el-button>
|
|
316
179
|
</el-upload>
|
|
317
180
|
</el-form-item>
|
|
318
181
|
</el-col>
|
|
319
182
|
<el-col :span="12">
|
|
320
183
|
<el-form-item label="身份证" prop="sfzUrlList">
|
|
321
|
-
<el-upload
|
|
322
|
-
|
|
323
|
-
:
|
|
324
|
-
|
|
325
|
-
:before-upload="beforeAvatarUploada"
|
|
326
|
-
:http-request="sfzhandleFileUpload"
|
|
327
|
-
:on-remove="handleSfzUrllRemove"
|
|
328
|
-
:before-remove="beforeRemove"
|
|
329
|
-
:file-list="temp.sfzUrlList"
|
|
330
|
-
:on-preview="onPreview"
|
|
331
|
-
>
|
|
332
|
-
<el-button slot="trigger" size="small" type="primary"
|
|
333
|
-
>选取文件</el-button
|
|
334
|
-
>
|
|
184
|
+
<el-upload action="#" :limit="1" :data="{ att_type: '01' }" :before-upload="beforeAvatarUploada"
|
|
185
|
+
:http-request="sfzhandleFileUpload" :on-remove="handleSfzUrllRemove" :before-remove="beforeRemove"
|
|
186
|
+
:file-list="temp.sfzUrlList" :on-preview="onPreview">
|
|
187
|
+
<el-button slot="trigger" size="small" type="primary">选取文件</el-button>
|
|
335
188
|
</el-upload>
|
|
336
189
|
</el-form-item>
|
|
337
190
|
</el-col>
|
|
338
191
|
<el-col :span="12">
|
|
339
192
|
<el-form-item label="学位证书" prop="xlUrlList">
|
|
340
|
-
<el-upload
|
|
341
|
-
|
|
342
|
-
:
|
|
343
|
-
|
|
344
|
-
:before-upload="beforeAvatarUploada"
|
|
345
|
-
:http-request="xlhandleFileUpload"
|
|
346
|
-
:on-remove="handleXlUrlRemove"
|
|
347
|
-
:before-remove="beforeRemove"
|
|
348
|
-
:file-list="temp.xlUrlList"
|
|
349
|
-
:on-preview="onPreview"
|
|
350
|
-
>
|
|
351
|
-
<el-button slot="trigger" size="small" type="primary"
|
|
352
|
-
>选取文件</el-button
|
|
353
|
-
>
|
|
193
|
+
<el-upload action="#" :limit="1" :data="{ att_type: '21' }" :before-upload="beforeAvatarUploada"
|
|
194
|
+
:http-request="xlhandleFileUpload" :on-remove="handleXlUrlRemove" :before-remove="beforeRemove"
|
|
195
|
+
:file-list="temp.xlUrlList" :on-preview="onPreview">
|
|
196
|
+
<el-button slot="trigger" size="small" type="primary">选取文件</el-button>
|
|
354
197
|
</el-upload>
|
|
355
198
|
</el-form-item>
|
|
356
199
|
</el-col>
|
|
@@ -360,79 +203,40 @@
|
|
|
360
203
|
<el-button size="small" @click="dialogFormVisible = false">
|
|
361
204
|
取 消
|
|
362
205
|
</el-button>
|
|
363
|
-
<el-button
|
|
364
|
-
type="primary"
|
|
365
|
-
size="small"
|
|
366
|
-
@click="dialogStatus === 'create' ? createData() : updateData()"
|
|
367
|
-
>
|
|
206
|
+
<el-button type="primary" size="small" @click="dialogStatus === 'create' ? createData() : updateData()">
|
|
368
207
|
确 认
|
|
369
208
|
</el-button>
|
|
370
209
|
</div>
|
|
371
210
|
</el-dialog>
|
|
372
211
|
<preview-file :file="file" />
|
|
373
|
-
<el-dialog
|
|
374
|
-
:close
|
|
375
|
-
:close-on-press-escape="false"
|
|
376
|
-
title="导出"
|
|
377
|
-
:visible.sync="dialogVisibleExp"
|
|
378
|
-
width="600px"
|
|
379
|
-
:before-close="handleClose"
|
|
380
|
-
>
|
|
212
|
+
<el-dialog :close-on-click-modal="false" :close-on-press-escape="false" title="导出" :visible.sync="dialogVisibleExp"
|
|
213
|
+
width="600px" :before-close="handleClose">
|
|
381
214
|
<el-form :inline="true" class="demo-form-inline">
|
|
382
215
|
<el-form-item label="提示:">
|
|
383
|
-
<el-link :underline="false" type="primary"
|
|
384
|
-
>选择的开始日期和结束日期请将数据的入录时间包含起来,结束日期选后一天</el-link
|
|
385
|
-
>
|
|
216
|
+
<el-link :underline="false" type="primary">选择的开始日期和结束日期请将数据的入录时间包含起来,结束日期选后一天</el-link>
|
|
386
217
|
</el-form-item>
|
|
387
218
|
<el-form-item label="时间">
|
|
388
|
-
<el-date-picker
|
|
389
|
-
|
|
390
|
-
type="daterange"
|
|
391
|
-
value-format="yyyy-MM-dd"
|
|
392
|
-
range-separator="至"
|
|
393
|
-
start-placeholder="开始日期"
|
|
394
|
-
end-placeholder="结束日期"
|
|
395
|
-
/>
|
|
219
|
+
<el-date-picker v-model="startDate" type="daterange" value-format="yyyy-MM-dd" range-separator="至"
|
|
220
|
+
start-placeholder="开始日期" end-placeholder="结束日期" />
|
|
396
221
|
</el-form-item>
|
|
397
222
|
</el-form>
|
|
398
223
|
<span slot="footer" class="dialog-footer">
|
|
399
|
-
<el-button size="small" :loading="loadExp" @click="handleClose"
|
|
400
|
-
|
|
401
|
-
>
|
|
402
|
-
<el-button
|
|
403
|
-
size="small"
|
|
404
|
-
type="primary"
|
|
405
|
-
:loading="loadExp"
|
|
406
|
-
@click="expExcel"
|
|
407
|
-
>
|
|
224
|
+
<el-button size="small" :loading="loadExp" @click="handleClose">取 消</el-button>
|
|
225
|
+
<el-button size="small" type="primary" :loading="loadExp" @click="expExcel">
|
|
408
226
|
导 出
|
|
409
227
|
</el-button>
|
|
410
228
|
</span>
|
|
411
229
|
</el-dialog>
|
|
412
230
|
|
|
413
|
-
<el-dialog
|
|
414
|
-
:close
|
|
415
|
-
:close-on-press-escape="false"
|
|
416
|
-
title="护工同步"
|
|
417
|
-
:visible.sync="HugongdialogVisible"
|
|
418
|
-
width="500px"
|
|
419
|
-
:before-close="handleClose"
|
|
420
|
-
>
|
|
231
|
+
<el-dialog :close-on-click-modal="false" :close-on-press-escape="false" title="护工同步"
|
|
232
|
+
:visible.sync="HugongdialogVisible" width="500px" :before-close="handleClose">
|
|
421
233
|
<el-form :inline="true" class="demo-form-inline">
|
|
422
234
|
<el-form-item label="身份证">
|
|
423
|
-
<el-input
|
|
424
|
-
style="width: 100%"
|
|
425
|
-
v-model="idCord"
|
|
426
|
-
size="small"
|
|
427
|
-
clearable
|
|
428
|
-
placeholder="请输入身份证号"
|
|
429
|
-
/>
|
|
235
|
+
<el-input style="width: 100%" v-model="idCord" size="small" clearable placeholder="请输入身份证号" />
|
|
430
236
|
</el-form-item>
|
|
431
237
|
</el-form>
|
|
432
238
|
<span slot="footer" class="dialog-footer">
|
|
433
|
-
<el-button size="small" @click="HugongdialogVisible = false"
|
|
434
|
-
>关 闭</el-button
|
|
435
|
-
>
|
|
239
|
+
<el-button size="small" @click="HugongdialogVisible = false">关 闭</el-button>
|
|
436
240
|
<el-button size="small" type="primary" @click="synchronous">
|
|
437
241
|
同 步
|
|
438
242
|
</el-button>
|
|
@@ -1046,22 +850,33 @@ export default {
|
|
|
1046
850
|
});
|
|
1047
851
|
},
|
|
1048
852
|
handleDelete(row, index) {
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
853
|
+
this.$confirm('护工注销需要确认上传明细,以免冲正重新上传变成自费,是否继续?', '提示', {
|
|
854
|
+
confirmButtonText: '确定',
|
|
855
|
+
cancelButtonText: '取消',
|
|
856
|
+
type: 'warning'
|
|
857
|
+
}).then(() => {
|
|
858
|
+
SPersonDel({ id: row.id, isDelete: "1" }).then((res) => {
|
|
859
|
+
if (res.status == 1) {
|
|
860
|
+
this.getList();
|
|
861
|
+
this.$notify({
|
|
862
|
+
title: res.info,
|
|
863
|
+
message: "删除成功",
|
|
864
|
+
type: "success",
|
|
865
|
+
duration: 2000,
|
|
866
|
+
});
|
|
867
|
+
return;
|
|
868
|
+
}
|
|
1052
869
|
this.$notify({
|
|
1053
870
|
title: res.info,
|
|
1054
|
-
message: "
|
|
1055
|
-
type: "
|
|
871
|
+
message: "删除失败",
|
|
872
|
+
type: "error",
|
|
1056
873
|
duration: 2000,
|
|
1057
874
|
});
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
this.$
|
|
1061
|
-
|
|
1062
|
-
message:
|
|
1063
|
-
type: "error",
|
|
1064
|
-
duration: 2000,
|
|
875
|
+
});
|
|
876
|
+
}).catch(() => {
|
|
877
|
+
this.$message({
|
|
878
|
+
type: 'info',
|
|
879
|
+
message: '已取消删除'
|
|
1065
880
|
});
|
|
1066
881
|
});
|
|
1067
882
|
},
|