@liuqiongqiong/vue-pages 1.1.2 → 1.1.3

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@liuqiongqiong/vue-pages",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "type": "module",
5
5
  "description": "长护险管理系统业务页面组件库 - 包含结算管理、客户管理、护理管理等完整业务模块",
6
6
  "main": "dist/index.js",
@@ -268,7 +268,8 @@ export default {
268
268
  drawerQuery: {
269
269
  pageNo: 1,
270
270
  size: 10,
271
- setlMon: ""
271
+ setlMon: "",
272
+ longtermDclaRea: ""
272
273
  },
273
274
  // 明细弹窗相关数据
274
275
  detailDialogVisible: false,
@@ -358,9 +359,19 @@ export default {
358
359
  });
359
360
  },
360
361
  handleQueryPending() {
361
- this.drawerVisible = true;
362
- this.drawerQuery.pageNo = 1;
363
- this.getDrawerList();
362
+ this.$prompt('请输入长期护理申报原因', '提示', {
363
+ confirmButtonText: '确定',
364
+ cancelButtonText: '取消',
365
+ inputPattern: /\S/,
366
+ inputErrorMessage: '原因不能为空'
367
+ }).then(({ value }) => {
368
+ this.drawerQuery.longtermDclaRea = value;
369
+ this.drawerVisible = true;
370
+ this.drawerQuery.pageNo = 1;
371
+ this.getDrawerList();
372
+ }).catch(() => {
373
+ // 取消输入
374
+ });
364
375
  },
365
376
  handleDrawerQuery() {
366
377
  this.drawerQuery.pageNo = 1;
@@ -369,7 +380,7 @@ export default {
369
380
  getDrawerList() {
370
381
  this.drawerLoading = true;
371
382
  const params = {
372
- longtermDclaRea: "",
383
+ longtermDclaRea: this.drawerQuery.longtermDclaRea,
373
384
  setlMon: this.drawerQuery.setlMon,
374
385
  pageNum: this.drawerQuery.pageNo,
375
386
  pageSize: this.drawerQuery.size
@@ -393,7 +404,7 @@ export default {
393
404
  getDetailList() {
394
405
  this.detailLoading = true;
395
406
  const params = {
396
- longtermDclaRea: "",
407
+ longtermDclaRea: this.drawerQuery.longtermDclaRea,
397
408
  longtermAidsSetlId: this.detailQuery.longtermAidsSetlId,
398
409
  pageNum: this.detailQuery.pageNo,
399
410
  pageSize: this.detailQuery.size