@liuqiongqiong/vue-pages 1.0.5 → 1.0.6
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.
|
@@ -37,12 +37,6 @@
|
|
|
37
37
|
<!-- <el-tag>{{ row.type | typeFilter }}</el-tag> -->
|
|
38
38
|
</template>
|
|
39
39
|
</el-table-column>
|
|
40
|
-
<el-table-column :label="'身份证号'" align="center">
|
|
41
|
-
<template slot-scope="{ row }">
|
|
42
|
-
<span>{{ row.idCard }}</span>
|
|
43
|
-
<!-- <span style="color:red;">{{ row.reviewer }}</span> -->
|
|
44
|
-
</template>
|
|
45
|
-
</el-table-column>
|
|
46
40
|
<el-table-column :label="'状态'" align="center">
|
|
47
41
|
<template slot-scope="{ row }">
|
|
48
42
|
<el-tag size="medium" :type="row.approveStatus == 0 ? 'danger' : row.approveStatus == 1 ? 'success' : ''
|
|
@@ -64,24 +58,20 @@
|
|
|
64
58
|
:src="`${constant}${img(item)}`" :preview-src-list="[`${constant}${img(item)}`]" />
|
|
65
59
|
</template>
|
|
66
60
|
</el-table-column>
|
|
67
|
-
<el-table-column :label="'
|
|
61
|
+
<el-table-column :label="'健康证'" align="center">
|
|
68
62
|
<template slot-scope="{ row }">
|
|
69
63
|
<el-image v-for="(item, index) in row.xlUrlList" :key="index" style="width: 50px; height: 50px"
|
|
70
64
|
:src="`${constant}${img(item)}`" :preview-src-list="[`${constant}${img(item)}`]" />
|
|
71
65
|
</template>
|
|
72
66
|
</el-table-column>
|
|
73
|
-
<!-- <el-table-column :label="'状态'" align="center">
|
|
74
|
-
<template slot-scope="{row}">
|
|
75
|
-
<el-tag size="medium" :type="row.status == '1' ? 'success' : row.status == '2' ? 'warning' : '' " >{{ row.status == '1' ? '有效' : row.status == '2' ? '无效' : row.status == '0' ? '待审核' : '-'}}</el-tag>
|
|
76
|
-
</template>
|
|
77
|
-
</el-table-column> -->
|
|
78
67
|
<el-table-column :label="'操作'" align="center" width="280" class-name="small-padding fixed-width">
|
|
79
68
|
<template slot-scope="{ row, $index }">
|
|
80
|
-
|
|
69
|
+
<el-button size="mini" type="success" @click="update(row, 'draft')">
|
|
70
|
+
更新状态
|
|
71
|
+
</el-button>
|
|
81
72
|
<el-button size="mini" type="primary" @click="edit(row, 'draft')">
|
|
82
73
|
修改
|
|
83
74
|
</el-button>
|
|
84
|
-
|
|
85
75
|
</template>
|
|
86
76
|
</el-table-column>
|
|
87
77
|
</el-table>
|
|
@@ -199,9 +189,9 @@
|
|
|
199
189
|
<script>
|
|
200
190
|
import {
|
|
201
191
|
SPersonSave,
|
|
202
|
-
|
|
192
|
+
SPersonMedicalPage,
|
|
203
193
|
SPersonDel,
|
|
204
|
-
|
|
194
|
+
SPersonMedicalStatus,
|
|
205
195
|
} from "@/api/article";
|
|
206
196
|
import { SysUnitPage } from "@/api/institution";
|
|
207
197
|
import { uploadTP, uploadPDF, uploadThird } from "@/api/upload";
|
|
@@ -521,7 +511,7 @@ export default {
|
|
|
521
511
|
this.temp.sfzUrlList = [];
|
|
522
512
|
},
|
|
523
513
|
update(row) {
|
|
524
|
-
|
|
514
|
+
SPersonMedicalStatus({ id: row.id }).then((res) => {
|
|
525
515
|
if (res.status == 1) {
|
|
526
516
|
this.getList();
|
|
527
517
|
this.$notify({
|
|
@@ -585,7 +575,7 @@ export default {
|
|
|
585
575
|
if (
|
|
586
576
|
this.temp.thirdFileList[i].att_type == "01" ||
|
|
587
577
|
this.temp.thirdFileList[i].att_type == "21" ||
|
|
588
|
-
this.temp.thirdFileList[i].att_type == "
|
|
578
|
+
this.temp.thirdFileList[i].att_type == "99"
|
|
589
579
|
) {
|
|
590
580
|
this.temp.longtermPsnAttDtoList.push(this.temp.thirdFileList[i]);
|
|
591
581
|
}
|
|
@@ -594,14 +584,14 @@ export default {
|
|
|
594
584
|
},
|
|
595
585
|
getList() {
|
|
596
586
|
this.listLoading = true;
|
|
597
|
-
|
|
587
|
+
SPersonMedicalPage(this.listQuery).then((response) => {
|
|
598
588
|
this.list = response.result.data;
|
|
599
589
|
this.total = response.result.count;
|
|
600
590
|
setTimeout(() => {
|
|
601
591
|
this.listLoading = false;
|
|
602
592
|
}, 1.5 * 1000);
|
|
603
593
|
});
|
|
604
|
-
|
|
594
|
+
SPersonMedicalPage({ size: 9999, pageNo: 1 }).then((response) => {
|
|
605
595
|
this.renyuanxinxi = response.result.data;
|
|
606
596
|
});
|
|
607
597
|
},
|