apply-clients 3.4.1 → 3.4.2-FuGu-7

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.
Files changed (136) hide show
  1. package/android.html +23 -23
  2. package/build/css-loaders.js +34 -0
  3. package/build/dev-android.js +101 -0
  4. package/build/dev-client.js +8 -0
  5. package/build/dev-server-app.js +76 -0
  6. package/build/dev-server.js +119 -0
  7. package/build/example-server.js +80 -0
  8. package/build/release.sh +28 -0
  9. package/build/utils.js +80 -0
  10. package/build/webpack.base.conf.js +85 -0
  11. package/build/webpack.baseandroid.conf.js +84 -0
  12. package/build/webpack.dev.conf.js +51 -0
  13. package/build/webpack.devandroid.conf.js +34 -0
  14. package/build/webpack.example.conf.js +49 -0
  15. package/build/webpack.prod.conf.js +60 -0
  16. package/build/webpack.prodandroid.conf.js +60 -0
  17. package/build/webpack.test.conf.js +31 -0
  18. package/dingding.html +23 -0
  19. package/dist-android/static/doc.jpg +0 -0
  20. package/dist-android/static/images/lefticon//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
  21. package/dist-android/static/images/lefticon//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
  22. package/dist-android/static/images/lefticon//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
  23. package/dist-android/static/images/lefticon//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
  24. package/dist-android/static/images/lefticon//345/233/276/345/261/202577.png +0 -0
  25. package/dist-android/static/images/lefticon//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
  26. package/dist-android/static/images/lefticon//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
  27. package/dist-android/static/images/lefticon//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
  28. package/dist-android/static/images/lefticon//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
  29. package/dist-android/static/images/lefticon//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
  30. package/dist-android/static/images/lefticon//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
  31. package/dist-android/static/images/lefticon//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
  32. package/dist-android/static/images/lefticon//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
  33. package/dist-android/static/images/lefticon//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
  34. package/dist-android/static/images/lefticon//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
  35. package/dist-android/static/images/lefticon//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
  36. package/dist-android/static/images/lefticon//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
  37. package/dist-android/static/images/lefticon//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
  38. package/dist-android/static/images/lefticon//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
  39. package/dist-android/static/images/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
  40. package/dist-android/static/images/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
  41. package/dist-android/static/images/lefticon//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
  42. package/dist-android/static/images/lefticon//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
  43. package/dist-android/static/imgerror.jpg +0 -0
  44. package/dist-android/static/newStyle/clear.png +0 -0
  45. package/dist-android/static/newStyle/fife.png +0 -0
  46. package/dist-android/static/newStyle/hidden.png +0 -0
  47. package/dist-android/static/newStyle/label-clear.png +0 -0
  48. package/dist-android/static/newStyle/left-img.png +0 -0
  49. package/dist-android/static/newStyle/list_ok.png +0 -0
  50. package/dist-android/static/newStyle/login-check.png +0 -0
  51. package/dist-android/static/newStyle/login-con.png +0 -0
  52. package/dist-android/static/newStyle/login-do.gif +0 -0
  53. package/dist-android/static/newStyle/login-f.png +0 -0
  54. package/dist-android/static/newStyle/login-info.png +0 -0
  55. package/dist-android/static/newStyle/login-left.png +0 -0
  56. package/dist-android/static/newStyle/login-org.png +0 -0
  57. package/dist-android/static/newStyle/login-pwd.png +0 -0
  58. package/dist-android/static/newStyle/login-user.png +0 -0
  59. package/dist-android/static/newStyle/loginbg.gif +0 -0
  60. package/dist-android/static/newStyle/loginbg1280.gif +0 -0
  61. package/dist-android/static/newStyle/loginbg1366.gif +0 -0
  62. package/dist-android/static/newStyle/setting.png +0 -0
  63. package/dist-android/static/newStyle/setting1.png +0 -0
  64. package/dist-android/static/newStyle/shirk.png +0 -0
  65. package/dist-android/static/newStyle/stretch_bottom.png +0 -0
  66. package/dist-android/static/newStyle/stretch_left.png +0 -0
  67. package/dist-android/static/newStyle/stretch_right.png +0 -0
  68. package/dist-android/static/newStyle/stretch_top.png +0 -0
  69. package/dist-android/static/newStyle/system-off.png +0 -0
  70. package/dist-android/static/pdf.jpg +0 -0
  71. package/index.html +33 -33
  72. package/package.json +2 -1
  73. package/src/AndroidApp.vue +35 -35
  74. package/src/App.vue +20 -20
  75. package/src/DingDingApp.vue +51 -0
  76. package/src/android.js +21 -21
  77. package/src/apply.js +75 -81
  78. package/src/applyAndroid.js +25 -31
  79. package/src/applyDingDing.js +12 -0
  80. package/src/components/android/AppOnetomany.vue +301 -301
  81. package/src/components/android/AppServiceView.vue +566 -566
  82. package/src/components/android/AppSign.vue +142 -142
  83. package/src/components/android/AppTakePic.vue +143 -143
  84. package/src/components/android/Process/AppExplorationUser.vue +320 -320
  85. package/src/components/android/Process/AppServiceControl.vue +757 -757
  86. package/src/components/android/Process/Processes/AppInstallationDetails.vue +456 -456
  87. package/src/components/android/ProgressReport/ProgressReportDetail.vue +64 -64
  88. package/src/components/android/Supervisory/AppSupervisoryCart.vue +121 -121
  89. package/src/components/android/TaskGraph.vue +125 -125
  90. package/src/components/build/Install/ExplorationUser.vue +304 -0
  91. package/src/components/build/Install/Process/zhongran/ZR_Design.vue +537 -0
  92. package/src/components/product/{Process/Processes/Print → ApplyCharge}/printCharge.vue +142 -142
  93. package/src/components/product/Function/InstallFunction.vue +131 -125
  94. package/src/components/product/Function/InstallInfoSelect.vue +21 -13
  95. package/src/components/product/Function/Service/FunctionServiceControl.vue +420 -222
  96. package/src/components/product/Onetomany.vue +377 -377
  97. package/src/components/product/Process/ExplorationSelect.vue +401 -410
  98. package/src/components/product/Process/ExplorationUser.vue +138 -138
  99. package/src/components/product/Process/Processes/InstallationDetails.vue +592 -592
  100. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +207 -207
  101. package/src/components/product/Process/Processes/chargeManagement.vue +634 -639
  102. package/src/components/product/Process/Service/ServiceControl.vue +58 -63
  103. package/src/components/product/Process/Service/ShowBackReason.vue +33 -33
  104. package/src/components/product/ServiceView.vue +631 -631
  105. package/src/components/product/Stop/StopApply.vue +105 -103
  106. package/src/components/product/Stop/StopApplyList.vue +269 -269
  107. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +7 -0
  108. package/src/components/product/Supervisory/SupervisoryControl.vue +10 -0
  109. package/src/components/product/Supervisory/SupervisoryList.vue +6 -2
  110. package/src/components/product/Supervisory/SupervisoryhCart.vue +110 -107
  111. package/src/components/product/VueUtils/ApplyUpload.vue +273 -273
  112. package/src/components/product/VueUtils/HighMeter.vue +208 -208
  113. package/src/dingding.js +20 -0
  114. package/src/expandcssAndroid.less +1034 -1034
  115. package/src/main.js +23 -23
  116. package/src/components/product/Function/StopApplyCrrdList.vue +0 -176
  117. package/src/components/product/Function/functions/ApplyRecordCancel.vue +0 -102
  118. package/src/components/product/Function/functions/StopInstall.vue +0 -106
  119. package/src/components/product/Process/Processes/Print/img/10101.png +0 -0
  120. package/src/components/product/Process/Processes/Print/img/1010109.png +0 -0
  121. package/src/components/product/Process/Processes/Print/img/1010110.png +0 -0
  122. package/src/components/product/Process/Processes/Print/img/1010111.png +0 -0
  123. package/src/components/product/Process/Processes/Print/img/1010112.png +0 -0
  124. package/src/filiale/yuchuan/android/Process/AppServiceControl.vue +0 -548
  125. package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetails.vue +0 -754
  126. package/src/filiale/yuchuan/android/Task/Survey/SurveyTsak.vue +0 -60
  127. package/src/filiale/yuchuan/android.js +0 -7
  128. package/src/filiale/yuchuan/pc/Order/OrderApply.vue +0 -528
  129. package/src/filiale/yuchuan/pc/Order/OrderApplyList.vue +0 -343
  130. package/src/filiale/yuchuan/pc/Process/ExplorationSelect.vue +0 -395
  131. package/src/filiale/yuchuan/pc/Process/ExplorationUser.vue +0 -147
  132. package/src/filiale/yuchuan/pc/Process/Processes/ApplyMapCom.vue +0 -66
  133. package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetails.vue +0 -759
  134. package/src/filiale/yuchuan/pc/Process/Processes/chargeManagement.vue +0 -470
  135. package/src/filiale/yuchuan/pc/Process/Service/ServiceControl.vue +0 -879
  136. package/src/filiale/yuchuan/pc.js +0 -11
@@ -261,6 +261,14 @@ export default {
261
261
  }
262
262
  }
263
263
 
264
+ if (this.selectdata.f_apply_source === '微信公众号' && this.selectdata.defname === '现场勘察') {
265
+ for (const item of this.selectdata.fields) {
266
+ if (item.label==='预约地址' || item.label==='地址类型' || item.label==='片区' || item.label==='区/县' || item.label==='街道' || item.label==='小区') {
267
+ item.hidden = false
268
+ item.required = true
269
+ }
270
+ }
271
+ }
264
272
  // 消除双向绑定,避免子组件(显示层)数据更改,父组件(控制层)也更改
265
273
  let temp = JSON.parse(JSON.stringify(this.selectdata))
266
274
 
@@ -517,11 +525,11 @@ export default {
517
525
 
518
526
  for (const item of this.show_data.fields) {
519
527
  if (f_address_type === '民用市区') {
520
- if (item.label === '区/县' || item.label === '街道/乡镇' || item.label === '集收单位' || item.label === '门牌号') {
528
+ if (item.label === '区/县' || item.label === '街道' || item.label === '小区' || item.label === '门牌号') {
521
529
  item.hidden = false
522
530
  item.required = true
523
531
  }
524
- if (item.label === '楼号/组' || item.label === '单元/排' || item.label === '楼层') {
532
+ if (item.label === '楼号' || item.label === '单元' || item.label === '楼层') {
525
533
  item.hidden = false
526
534
  item.required = false
527
535
  }
@@ -530,11 +538,11 @@ export default {
530
538
  }
531
539
  }
532
540
  if (f_address_type === '民用乡镇') {
533
- if (item.label === '区/县' || item.label === '街道/乡镇' || item.label === '集收单位' || item.label === '门牌号') {
541
+ if (item.label === '区/县' || item.label === '街道' || item.label === '小区' || item.label === '门牌号') {
534
542
  item.hidden = false
535
543
  item.required = true
536
544
  }
537
- if (item.label === '楼号/组' || item.label === '单元/排' || item.label === '楼层') {
545
+ if (item.label === '楼号' || item.label === '单元' || item.label === '楼层') {
538
546
  item.hidden = false
539
547
  item.required = false
540
548
  }
@@ -547,15 +555,15 @@ export default {
547
555
  }
548
556
  }
549
557
  if (f_address_type === '特殊地址') {
550
- if (item.label === '区/县' || item.label === '街道/乡镇') {
558
+ if (item.label === '区/县' || item.label === '街道') {
551
559
  item.hidden = false
552
560
  item.required = true
553
561
  }
554
- if (item.label === '集收单位') {
562
+ if (item.label === '小区') {
555
563
  item.hidden = false
556
564
  item.required = false
557
565
  }
558
- if (item.label === '楼号/组' || item.label === '单元/排' || item.label === '楼层' || item.label === '门牌号') {
566
+ if (item.label === '楼号' || item.label === '单元' || item.label === '楼层' || item.label === '门牌号') {
559
567
  item.hidden = true
560
568
  item.required = false
561
569
  }
@@ -583,10 +591,10 @@ export default {
583
591
  'POST',
584
592
  `rs/sql/singleTable`,
585
593
  {data: data},
586
- {resolveMsg: null, rejectMsg: '集收单位查询失败!!!'}
594
+ {resolveMsg: null, rejectMsg: '小区查询失败!!!'}
587
595
  )
588
596
 
589
- this.setLabelOptions('集收单位', res.data.map(item => {
597
+ this.setLabelOptions('小区', res.data.map(item => {
590
598
  return {
591
599
  label: item.f_residential_area,
592
600
  value: item.f_residential_area
@@ -616,10 +624,10 @@ export default {
616
624
  'POST',
617
625
  `rs/sql/singleTable`,
618
626
  {data: data},
619
- {resolveMsg: null, rejectMsg: '街道/乡镇查询失败!!!'}
627
+ {resolveMsg: null, rejectMsg: '街道查询失败!!!'}
620
628
  )
621
629
 
622
- this.setLabelOptions('街道/乡镇', res.data.map(item => {
630
+ this.setLabelOptions('街道', res.data.map(item => {
623
631
  return {
624
632
  label: item.f_street,
625
633
  value: item.f_street
@@ -673,14 +681,14 @@ export default {
673
681
  'POST',
674
682
  `rs/sql/singleTable`,
675
683
  {data: data},
676
- {resolveMsg: null, rejectMsg: '集收单位查询失败!!!'}
684
+ {resolveMsg: null, rejectMsg: '小区查询失败!!!'}
677
685
  )
678
686
 
679
687
  if (res.data.length === 0) {
680
688
  return
681
689
  }
682
690
 
683
- this.setLabelOptions('集收单位', res.data.map(item => {
691
+ this.setLabelOptions('小区', res.data.map(item => {
684
692
  return {
685
693
  label: item.f_residential_area,
686
694
  value: item.f_residential_area
@@ -938,7 +946,7 @@ export default {
938
946
  return
939
947
  }
940
948
 
941
- this.setLabelValue('集收单位', null)
949
+ this.setLabelValue('小区', null)
942
950
 
943
951
  let data = {
944
952
  tablename: 't_area',
@@ -949,10 +957,10 @@ export default {
949
957
  'POST',
950
958
  `rs/sql/singleTable`,
951
959
  {data: data},
952
- {resolveMsg: null, rejectMsg: '集收单位查询失败!!!'}
960
+ {resolveMsg: null, rejectMsg: '小区查询失败!!!'}
953
961
  )
954
962
 
955
- this.setLabelOptions('集收单位', res.data.map(item => {
963
+ this.setLabelOptions('小区', res.data.map(item => {
956
964
  return {
957
965
  label: item.f_residential_area,
958
966
  value: item.f_residential_area
@@ -965,8 +973,8 @@ export default {
965
973
  return
966
974
  }
967
975
 
968
- this.setLabelValue('街道/乡镇', null)
969
- this.setLabelValue('集收单位', null)
976
+ this.setLabelValue('街道', null)
977
+ this.setLabelValue('小区', null)
970
978
 
971
979
 
972
980
 
@@ -988,10 +996,10 @@ export default {
988
996
  'POST',
989
997
  `rs/sql/singleTable`,
990
998
  {data: data},
991
- {resolveMsg: null, rejectMsg: '街道/乡镇查询失败!!!'}
999
+ {resolveMsg: null, rejectMsg: '街道查询失败!!!'}
992
1000
  )
993
1001
 
994
- this.setLabelOptions('街道/乡镇', res.data.map(item => {
1002
+ this.setLabelOptions('街道', res.data.map(item => {
995
1003
  return {
996
1004
  label: item.f_street,
997
1005
  value: item.f_street
@@ -1000,59 +1008,38 @@ export default {
1000
1008
  },
1001
1009
  // 地址类型失去焦点
1002
1010
  'addressTypeChange' (index) {
1003
- this.setLabelValue('街道/乡镇', null)
1004
- this.setLabelValue('集收单位', null)
1011
+ this.setLabelValue('街道', null)
1012
+ this.setLabelValue('小区', null)
1005
1013
  let f_address_type = this.show_data.fields[index].value
1006
1014
  for (const item of this.show_data.fields) {
1007
- if (f_address_type === '民用市区') {
1008
- if (item.label === '区/县' || item.label === '街道/乡镇' || item.label === '集收单位' || item.label === '门牌号') {
1009
- item.hidden = false
1010
- item.required = true
1011
- item.value = null
1012
- }
1013
- if (item.label === '楼号/组' || item.label === '单元/排' || item.label === '楼层') {
1014
- item.hidden = false
1015
- item.required = false
1016
- item.value = null
1017
- }
1018
- if (item.label === '地址') {
1019
- item.readonly = true
1020
- item.value = null
1021
- }
1022
- }
1023
- if (f_address_type === '民用乡镇') {
1024
- if (item.label === '区/县' || item.label === '街道/乡镇' || item.label === '集收单位' || item.label === '门牌号') {
1015
+ if (f_address_type === '民用地址') {
1016
+ if (item.label === '区/县' || item.label === '街道' || item.label === '小区' || item.label === '门牌号') {
1025
1017
  item.hidden = false
1026
1018
  item.required = true
1027
1019
  item.value = null
1028
1020
  }
1029
- if (item.label === '楼号/组' || item.label === '单元/排' || item.label === '楼层') {
1021
+ if (item.label === '楼号' || item.label === '单元' || item.label === '楼层') {
1030
1022
  item.hidden = false
1031
1023
  item.required = false
1032
1024
  item.value = null
1033
1025
  }
1034
- if (item.label === '楼层') {
1035
- item.hidden = true
1036
- item.required = false
1037
- item.value = null
1038
- }
1039
1026
  if (item.label === '地址') {
1040
1027
  item.readonly = true
1041
1028
  item.value = null
1042
1029
  }
1043
1030
  }
1044
1031
  if (f_address_type === '特殊地址') {
1045
- if (item.label === '区/县' || item.label === '街道/乡镇') {
1032
+ if (item.label === '区/县' || item.label === '街道') {
1046
1033
  item.hidden = false
1047
1034
  item.required = true
1048
1035
  item.value = null
1049
1036
  }
1050
- if (item.label === '集收单位') {
1037
+ if (item.label === '小区') {
1051
1038
  item.hidden = false
1052
1039
  item.required = false
1053
1040
  item.value = null
1054
1041
  }
1055
- if (item.label === '楼号/组' || item.label === '单元/排' || item.label === '楼层' || item.label === '门牌号') {
1042
+ if (item.label === '楼号' || item.label === '单元' || item.label === '楼层' || item.label === '门牌号') {
1056
1043
  item.hidden = true
1057
1044
  item.required = false
1058
1045
  item.value = null
@@ -1113,33 +1100,41 @@ export default {
1113
1100
  },
1114
1101
  // 失去焦点出触发事件
1115
1102
  'onchange' (index) {
1116
- if (this.show_data.defname === '报装申请' || this.show_data.defname === '信息确认') {
1103
+ if (this.show_data.defname === '申请登记' || (this.show_data.defname === '现场勘察' && this.show_data.f_apply_source === '微信公众号')) {
1117
1104
  if (
1105
+ this.show_data.fields[index].label === '片区' ||
1118
1106
  this.show_data.fields[index].label === '区/县' ||
1119
- this.show_data.fields[index].label === '街道/乡镇' ||
1120
- this.show_data.fields[index].label === '集收单位' ||
1121
- this.show_data.fields[index].label === '楼号/组' ||
1122
- this.show_data.fields[index].label === '单元/排' ||
1107
+ this.show_data.fields[index].label === '街道' ||
1108
+ this.show_data.fields[index].label === '小区' ||
1109
+ this.show_data.fields[index].label === '楼号' ||
1110
+ this.show_data.fields[index].label === '单元' ||
1123
1111
  this.show_data.fields[index].label === '楼层' ||
1124
1112
  this.show_data.fields[index].label === '门牌号'
1125
1113
  ) {
1126
-
1127
1114
  let f_pcd = this.getLableValue('区/县') || ''
1128
- let f_street = this.getLableValue('街道/乡镇') || ''
1129
- let f_residential_area = this.getLableValue('集收单位') || ''
1130
- let f_building = this.getLableValue('楼号/组') || ''
1131
- let f_building_suffix = f_building ? this.config.f_building_suffix : ''
1132
- let f_unit = this.getLableValue('单元/排') || ''
1133
- let f_unit_suffix = f_unit ? this.config.f_unit_suffix : ''
1115
+ let f_street = this.getLableValue('街道') || ''
1116
+ let f_residential_area = this.getLableValue('小区') || ''
1117
+ let f_building = this.getLableValue('楼号') || ''
1118
+ let f_building_suffix = isEmpty(this.getLableValue('楼号')) ? '' : '号楼'
1119
+ let f_unit = this.getLableValue('单元') || ''
1120
+ let f_unit_suffix = isEmpty(this.getLableValue('单元')) ? '' : '单元'
1134
1121
  let f_floor = this.getLableValue('楼层') || ''
1135
- let f_floor_suffix = f_floor ? this.config.f_floor_suffix : ''
1122
+ let f_floor_suffix = isEmpty(this.getLableValue('楼层')) ? '' : '层'
1136
1123
  let f_room = this.getLableValue('门牌号') || ''
1137
- let f_room_suffix = f_room ? this.config.f_room_suffix : ''
1124
+ let f_room_suffix = isEmpty(this.getLableValue('门牌号')) ? '' : '室'
1138
1125
 
1139
1126
  let f_address = f_pcd + f_street + f_residential_area + f_building + f_building_suffix + f_unit + f_unit_suffix + f_floor + f_floor_suffix + f_room + f_room_suffix
1140
1127
  this.setLabelValue("地址", f_address)
1141
1128
  }
1142
1129
  }
1130
+ if (this.show_data.fields[index].label === '联系电话') {
1131
+ let phone = this.show_data.fields[index].value
1132
+ // 电话号码效验
1133
+ if (!(/^1[3456789]\d{9}$/.test(phone))) {
1134
+ this.show_data.fields[index].value = ""
1135
+ this.$showAlert('电话号码格式不正确,请重新输入。', 'info', 2000)
1136
+ }
1137
+ }
1143
1138
  },
1144
1139
  selectSearch (val, index) {},
1145
1140
  'onblur' (index) {},
@@ -1,33 +1,33 @@
1
- <template>
2
- <div style="height: auto;text-align: center" class="col-sm-12" v-if="data != null">
3
- <span style="color: red;font-family: 微软雅黑;font-weight: bold;font-size: 18px">请注意被退回原因为:{{data.f_back_reason}} 退回时间:{{data.f_date}}</span>
4
- </div>
5
- </template>
6
- <script>
7
- import {HttpResetClass} from 'vue-client'
8
-
9
- export default {
10
- title: '退回原因展示',
11
- props: ['selectdata'],
12
- data () {
13
- return {
14
- data: null
15
- }
16
- },
17
- async ready () {
18
- let data = {
19
- tablename: 't_backcause',
20
- condition: `actid = '${this.selectdata.actid}' and f_process_id = '${this.selectdata.f_process_id}'`
21
- }
22
- let http = new HttpResetClass()
23
- let res = await http.load(
24
- 'POST',
25
- 'rs/sql/singleTable',
26
- {data: data}, {
27
- resolveMsg: null,
28
- rejectMsg: '退回原因查询失败!!!'
29
- })
30
- this.data = res.data[0]
31
- }
32
- }
33
- </script>
1
+ <template>
2
+ <div style="height: auto;text-align: center" class="col-sm-12" v-if="data != null">
3
+ <span style="color: red;font-family: 微软雅黑;font-weight: bold;font-size: 18px">请注意被退回原因为:{{data.f_back_reason}} 退回时间:{{data.f_date}}</span>
4
+ </div>
5
+ </template>
6
+ <script>
7
+ import {HttpResetClass} from 'vue-client'
8
+
9
+ export default {
10
+ title: '退回原因展示',
11
+ props: ['selectdata'],
12
+ data () {
13
+ return {
14
+ data: null
15
+ }
16
+ },
17
+ async ready () {
18
+ let data = {
19
+ tablename: 't_backcause',
20
+ condition: `actid = '${this.selectdata.actid}' and f_process_id = '${this.selectdata.f_process_id}'`
21
+ }
22
+ let http = new HttpResetClass()
23
+ let res = await http.load(
24
+ 'POST',
25
+ 'rs/sql/singleTable',
26
+ {data: data}, {
27
+ resolveMsg: null,
28
+ rejectMsg: '退回原因查询失败!!!'
29
+ })
30
+ this.data = res.data[0]
31
+ }
32
+ }
33
+ </script>