@liuqiongqiong/vue-pages 1.1.1 → 1.1.2
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
|
@@ -31,18 +31,13 @@
|
|
|
31
31
|
<el-table-column label="证件号码" prop="idcode" align="center" show-overflow-tooltip min-width="160" />
|
|
32
32
|
<el-table-column label="参保地区划" prop="insuAdmdvs" align="center" show-overflow-tooltip min-width="100" />
|
|
33
33
|
<el-table-column label="安装日期" prop="instDate" align="center" show-overflow-tooltip min-width="100" />
|
|
34
|
+
<el-table-column label="总金额" prop="totalPric" align="center" width="90"></el-table-column>
|
|
34
35
|
<el-table-column label="结算状态" prop="status" align="center" width="90">
|
|
35
36
|
<template slot-scope="{ row }">
|
|
36
37
|
<el-tag :type="row.status === '1' ? 'success' : 'info'">{{ row.status === '1' ? '已结算' : '未结算' }}</el-tag>
|
|
37
38
|
</template>
|
|
38
39
|
</el-table-column>
|
|
39
|
-
<el-table-column label="结算时间" prop="
|
|
40
|
-
<el-table-column label="申报状态" prop="declareStatus" align="center" width="90">
|
|
41
|
-
<template slot-scope="{ row }">
|
|
42
|
-
<el-tag :type="row.declareStatus === '已申报' ? 'success' : 'info'">{{ row.declareStatus }}</el-tag>
|
|
43
|
-
</template>
|
|
44
|
-
</el-table-column>
|
|
45
|
-
<el-table-column label="申报时间" prop="declareTime" align="center" show-overflow-tooltip min-width="140" />
|
|
40
|
+
<el-table-column label="结算时间" prop="setlTime" align="center" show-overflow-tooltip min-width="140" />
|
|
46
41
|
<el-table-column label="操作" align="center" width="280" fixed="right">
|
|
47
42
|
<template slot-scope="{ row }">
|
|
48
43
|
<div v-if="row.status !== '1'">
|
|
@@ -95,12 +90,7 @@
|
|
|
95
90
|
<el-input value="浙江省" disabled style="width: 120px; margin-right: 10px;" />
|
|
96
91
|
<el-input value="温州市" disabled style="width: 120px; margin-right: 10px;" />
|
|
97
92
|
<el-select v-model="temp.insuAdmdvs" placeholder="请选择区县" style="width: 200px">
|
|
98
|
-
<el-option
|
|
99
|
-
v-for="item in areaOptions"
|
|
100
|
-
:key="item.code"
|
|
101
|
-
:label="item.name"
|
|
102
|
-
:value="item.code"
|
|
103
|
-
/>
|
|
93
|
+
<el-option v-for="item in areaOptions" :key="item.code" :label="item.name" :value="item.code" />
|
|
104
94
|
</el-select>
|
|
105
95
|
</div>
|
|
106
96
|
</el-form-item>
|
|
@@ -116,13 +106,13 @@
|
|
|
116
106
|
</el-form-item>
|
|
117
107
|
</el-col>
|
|
118
108
|
<el-col :span="12">
|
|
119
|
-
<el-form-item label="安装医生工号"
|
|
109
|
+
<el-form-item label="安装医生工号">
|
|
120
110
|
<el-input v-if="!isReadOnly" v-model="temp.instDrCodg" placeholder="请输入安装医生工号" />
|
|
121
111
|
<span v-else>{{ temp.instDrCodg }}</span>
|
|
122
112
|
</el-form-item>
|
|
123
113
|
</el-col>
|
|
124
114
|
<el-col :span="12">
|
|
125
|
-
<el-form-item label="医生姓名"
|
|
115
|
+
<el-form-item label="医生姓名">
|
|
126
116
|
<el-input v-if="!isReadOnly" v-model="temp.instDrName" placeholder="请输入医生姓名" />
|
|
127
117
|
<span v-else>{{ temp.instDrName }}</span>
|
|
128
118
|
</el-form-item>
|
|
@@ -131,17 +121,20 @@
|
|
|
131
121
|
<el-row :gutter="20">
|
|
132
122
|
<el-col :span="24">
|
|
133
123
|
<el-form-item label="费用明细" prop="feeList">
|
|
134
|
-
<el-button v-if="!isReadOnly" type="primary" size="mini" icon="el-icon-plus" @click="addFeeItem"
|
|
124
|
+
<el-button v-if="!isReadOnly" type="primary" size="mini" icon="el-icon-plus" @click="addFeeItem"
|
|
125
|
+
style="margin-bottom: 10px;">添加费用</el-button>
|
|
135
126
|
<el-table :data="temp.feeList" border style="width: 100%">
|
|
136
|
-
<el-table-column label="项目单价"
|
|
127
|
+
<el-table-column label="项目单价">
|
|
137
128
|
<template slot-scope="{ row }">
|
|
138
|
-
<el-input-number v-if="!isReadOnly" v-model="row.pric" :min="0" :precision="2" size="small"
|
|
129
|
+
<el-input-number v-if="!isReadOnly" v-model="row.pric" :min="0" :precision="2" size="small"
|
|
130
|
+
style="width: 100%" />
|
|
139
131
|
<span v-else>{{ row.pric }}</span>
|
|
140
132
|
</template>
|
|
141
133
|
</el-table-column>
|
|
142
|
-
<el-table-column label="项目数量"
|
|
134
|
+
<el-table-column label="项目数量">
|
|
143
135
|
<template slot-scope="{ row }">
|
|
144
|
-
<el-input-number v-if="!isReadOnly" v-model="row.cnt" :min="1" :precision="0" size="small"
|
|
136
|
+
<el-input-number v-if="!isReadOnly" v-model="row.cnt" :min="1" :precision="0" size="small"
|
|
137
|
+
style="width: 100%" />
|
|
145
138
|
<span v-else>{{ row.cnt }}</span>
|
|
146
139
|
</template>
|
|
147
140
|
</el-table-column>
|
|
@@ -161,46 +154,32 @@
|
|
|
161
154
|
</div>
|
|
162
155
|
</el-dialog>
|
|
163
156
|
<!-- 待申报结算查询抽屉 -->
|
|
164
|
-
<el-drawer
|
|
165
|
-
title="待申报结算查询"
|
|
166
|
-
:visible.sync="drawerVisible"
|
|
167
|
-
direction="rtl"
|
|
168
|
-
size="60%"
|
|
169
|
-
>
|
|
157
|
+
<el-drawer title="待申报结算查询" :visible.sync="drawerVisible" direction="rtl" size="60%">
|
|
170
158
|
<div style="padding: 20px;">
|
|
171
159
|
<el-form :inline="true" :model="drawerQuery">
|
|
172
160
|
<el-form-item label="结算月份">
|
|
173
|
-
<el-date-picker
|
|
174
|
-
|
|
175
|
-
type="month"
|
|
176
|
-
placeholder="选择月份"
|
|
177
|
-
value-format="yyyy-MM"
|
|
178
|
-
size="small"
|
|
179
|
-
/>
|
|
161
|
+
<el-date-picker v-model="drawerQuery.setlMon" type="month" placeholder="选择月份" value-format="yyyy-MM"
|
|
162
|
+
size="small" />
|
|
180
163
|
</el-form-item>
|
|
181
164
|
<el-form-item>
|
|
182
165
|
<el-button type="primary" size="small" @click="handleDrawerQuery">查询</el-button>
|
|
183
166
|
</el-form-item>
|
|
184
167
|
</el-form>
|
|
185
168
|
|
|
186
|
-
<el-table
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
style="width: 100%"
|
|
191
|
-
>
|
|
192
|
-
<el-table-column label="长护辅助器具结算ID" prop="longtermAidsSetlId" align="center" show-overflow-tooltip min-width="160" />
|
|
193
|
-
<el-table-column label="护理机构ID" prop="nursCareOrgId" align="center" show-overflow-tooltip min-width="120" />
|
|
169
|
+
<el-table v-loading="drawerLoading" :data="drawerList" border style="width: 100%">
|
|
170
|
+
<el-table-column label="长护辅助器具结算ID" prop="longtermAidsSetlId" align="center" show-overflow-tooltip
|
|
171
|
+
min-width="160" />
|
|
172
|
+
<el-table-column label="护理机构ID" prop="nurscareOrgNo" align="center" show-overflow-tooltip min-width="120" />
|
|
194
173
|
<el-table-column label="护理机构名称" prop="nursCareOrgName" align="center" show-overflow-tooltip min-width="150" />
|
|
195
174
|
<el-table-column label="人员姓名" prop="psnName" align="center" show-overflow-tooltip min-width="100" />
|
|
196
175
|
<el-table-column label="人员编码" prop="psnNo" align="center" show-overflow-tooltip min-width="120" />
|
|
197
|
-
<el-table-column label="证件号码" prop="
|
|
176
|
+
<el-table-column label="证件号码" prop="certno" align="center" show-overflow-tooltip min-width="160" />
|
|
198
177
|
<el-table-column label="安装日期" prop="instDate" align="center" show-overflow-tooltip min-width="120" />
|
|
199
178
|
<el-table-column label="安装医生工号" prop="instDrCodg" align="center" show-overflow-tooltip min-width="120" />
|
|
200
179
|
<el-table-column label="安装医生姓名" prop="instDrName" align="center" show-overflow-tooltip min-width="120" />
|
|
201
180
|
<el-table-column label="费用总额" prop="feeSumamt" align="center" show-overflow-tooltip min-width="100" />
|
|
202
181
|
<el-table-column label="基金支付" prop="fundPay" align="center" show-overflow-tooltip min-width="100" />
|
|
203
|
-
<el-table-column label="待遇类型ID" prop="
|
|
182
|
+
<el-table-column label="待遇类型ID" prop="mdtrtId" align="center" show-overflow-tooltip min-width="120" />
|
|
204
183
|
<el-table-column label="操作" align="center" width="120" fixed="right">
|
|
205
184
|
<template slot-scope="{ row }">
|
|
206
185
|
<el-button size="mini" type="primary" @click="handleViewDetail(row)">查看明细</el-button>
|
|
@@ -208,13 +187,8 @@
|
|
|
208
187
|
</el-table-column>
|
|
209
188
|
</el-table>
|
|
210
189
|
|
|
211
|
-
<pagination
|
|
212
|
-
|
|
213
|
-
:total="drawerTotal"
|
|
214
|
-
:page.sync="drawerQuery.pageNo"
|
|
215
|
-
:limit.sync="drawerQuery.size"
|
|
216
|
-
@pagination="getDrawerList"
|
|
217
|
-
/>
|
|
190
|
+
<pagination v-show="drawerTotal > 0" :total="drawerTotal" :page.sync="drawerQuery.pageNo"
|
|
191
|
+
:limit.sync="drawerQuery.size" @pagination="getDrawerList" />
|
|
218
192
|
</div>
|
|
219
193
|
</el-drawer>
|
|
220
194
|
|
|
@@ -227,13 +201,8 @@
|
|
|
227
201
|
<el-table-column label="项目数量" prop="cnt" align="center" />
|
|
228
202
|
<el-table-column label="项目单价" prop="pric" align="center" />
|
|
229
203
|
</el-table>
|
|
230
|
-
<pagination
|
|
231
|
-
|
|
232
|
-
:total="detailTotal"
|
|
233
|
-
:page.sync="detailQuery.pageNo"
|
|
234
|
-
:limit.sync="detailQuery.size"
|
|
235
|
-
@pagination="getDetailList"
|
|
236
|
-
/>
|
|
204
|
+
<pagination v-show="detailTotal > 0" :total="detailTotal" :page.sync="detailQuery.pageNo"
|
|
205
|
+
:limit.sync="detailQuery.size" @pagination="getDetailList" />
|
|
237
206
|
<div slot="footer" class="dialog-footer">
|
|
238
207
|
<el-button @click="detailDialogVisible = false">关闭</el-button>
|
|
239
208
|
</div>
|
|
@@ -248,7 +217,8 @@ import {
|
|
|
248
217
|
ProsthesisSettlementSave,
|
|
249
218
|
ProsthesisSettlementDetail,
|
|
250
219
|
ProsthesisSettlementDeclare,
|
|
251
|
-
ProsthesisSettlementRevoke
|
|
220
|
+
ProsthesisSettlementRevoke,
|
|
221
|
+
queryNoSettlement
|
|
252
222
|
} from "@/api/ProsthesisSettlement";
|
|
253
223
|
import pcaData from "@/utils/pca222.json";
|
|
254
224
|
|
|
@@ -398,10 +368,16 @@ export default {
|
|
|
398
368
|
},
|
|
399
369
|
getDrawerList() {
|
|
400
370
|
this.drawerLoading = true;
|
|
401
|
-
|
|
371
|
+
const params = {
|
|
372
|
+
longtermDclaRea: "",
|
|
373
|
+
setlMon: this.drawerQuery.setlMon,
|
|
374
|
+
pageNum: this.drawerQuery.pageNo,
|
|
375
|
+
pageSize: this.drawerQuery.size
|
|
376
|
+
};
|
|
377
|
+
queryNoSettlement(params).then(response => {
|
|
402
378
|
console.log(response)
|
|
403
|
-
this.drawerList = response.data
|
|
404
|
-
this.drawerTotal = response.
|
|
379
|
+
this.drawerList = response.result.data;
|
|
380
|
+
this.drawerTotal = response.result.count;
|
|
405
381
|
this.drawerLoading = false;
|
|
406
382
|
}).catch(() => {
|
|
407
383
|
this.drawerLoading = false;
|
|
@@ -416,13 +392,20 @@ export default {
|
|
|
416
392
|
},
|
|
417
393
|
getDetailList() {
|
|
418
394
|
this.detailLoading = true;
|
|
419
|
-
|
|
395
|
+
const params = {
|
|
396
|
+
longtermDclaRea: "",
|
|
397
|
+
longtermAidsSetlId: this.detailQuery.longtermAidsSetlId,
|
|
398
|
+
pageNum: this.detailQuery.pageNo,
|
|
399
|
+
pageSize: this.detailQuery.size
|
|
400
|
+
};
|
|
401
|
+
queryNoSettlement(params).then(response => {
|
|
402
|
+
console.log(response)
|
|
420
403
|
// 假设返回的数据直接是列表,或者是包含列表的对象
|
|
421
404
|
// 根据通常习惯,如果是分页查询,可能是 response.data.list
|
|
422
405
|
// 如果是详情,可能是 response.data.feeList
|
|
423
406
|
// 这里暂时假设 response.data 就是列表
|
|
424
|
-
this.detailList = Array.isArray(response.
|
|
425
|
-
this.detailTotal = response.
|
|
407
|
+
this.detailList = Array.isArray(response.result) ? response.result : (response.result.data || []);
|
|
408
|
+
this.detailTotal = response.result.total || (this.detailList.length);
|
|
426
409
|
this.detailLoading = false;
|
|
427
410
|
}).catch(() => {
|
|
428
411
|
this.detailLoading = false;
|
|
@@ -435,11 +418,11 @@ export default {
|
|
|
435
418
|
this.dialogVisible = true;
|
|
436
419
|
ProsthesisSettlementDetail(row.id).then(response => {
|
|
437
420
|
if (response.result) {
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
421
|
+
this.temp = Object.assign({}, response.result);
|
|
422
|
+
// 确保 feeList 是数组,如果没有返回则为空数组
|
|
423
|
+
if (!this.temp.feeList) {
|
|
424
|
+
this.$set(this.temp, 'feeList', []);
|
|
425
|
+
}
|
|
443
426
|
}
|
|
444
427
|
});
|
|
445
428
|
this.$nextTick(() => {
|
|
@@ -486,10 +469,10 @@ export default {
|
|
|
486
469
|
this.dialogVisible = true;
|
|
487
470
|
ProsthesisSettlementDetail(row.id).then(response => {
|
|
488
471
|
if (response.result) {
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
472
|
+
this.temp = Object.assign({}, response.result);
|
|
473
|
+
if (!this.temp.feeList) {
|
|
474
|
+
this.$set(this.temp, 'feeList', []);
|
|
475
|
+
}
|
|
493
476
|
}
|
|
494
477
|
});
|
|
495
478
|
this.$nextTick(() => {
|