safecheck-client 3.0.34-6 → 3.0.34-61

Sign up to get free protection for your applications and to get access to all the features.
Files changed (135) hide show
  1. package/docs/FormPrint.md +18 -18
  2. package/docs/GridTree.md +47 -47
  3. package/docs/PrintFile.md +38 -38
  4. package/docs/tree.md +40 -40
  5. package/package.json +1 -1
  6. package/src/App-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.vue +55 -0
  7. package/src/assets/123.png +0 -0
  8. package/src/assets/f8632d3c8c4c1cb68e99da754cab1a7.png +0 -0
  9. package/src/components/LoadData.vue +62 -0
  10. package/src/components/NewDefectList/DefectListNew.vue +617 -616
  11. package/src/components/android/AddGas.vue +147 -147
  12. package/src/components/android/AndroidDefectDeal.vue +1 -0
  13. package/src/components/android/AreaPlan.vue +566 -566
  14. package/src/components/android/AreaSelect.vue +208 -0
  15. package/src/components/android/BuildingSelect.vue +217 -0
  16. package/src/components/android/CheckPlanSelect.vue +248 -0
  17. package/src/components/android/CheckerMonthly.vue +84 -84
  18. package/src/components/android/LcheckUnplan.vue +108 -108
  19. package/src/components/android/PaperFeedback.vue +33 -0
  20. package/src/components/android/QRCode/QRCodeBinding.vue +300 -0
  21. package/src/components/android/QRCode/QRCodePage.vue +212 -0
  22. package/src/components/android/SafecheckDevices.vue +2 -2
  23. package/src/components/android/SafecheckOrderV.vue +8 -12
  24. package/src/components/android/SwitchValve.vue +323 -323
  25. package/src/components/android/examples/SafeListExamples.vue +96 -0
  26. package/src/components/android/examples/UserExamples.vue +130 -0
  27. package/src/components/checkerphonestate/Checker.vue +32 -32
  28. package/src/components/checkerphonestate/CheckerState.vue +97 -97
  29. package/src/components/defects/AddDefectModal.vue +120 -120
  30. package/src/components/defects/AddDevice.vue +95 -95
  31. package/src/components/defects/DevicesSeting.vue +106 -106
  32. package/src/components/metterfiles/AddUserfiles.vue +246 -246
  33. package/src/components/metterfiles/MetterFiles.vue +104 -104
  34. package/src/components/notice/NoticeQuery.vue +76 -76
  35. package/src/components/paper/RepairVerifyForm.vue +76 -76
  36. package/src/components/phonestate/DailyTraffic.vue +57 -57
  37. package/src/components/phonestate/LastKnownState.vue +74 -74
  38. package/src/components/rongcheng/AddPlanItem.vue +4 -0
  39. package/src/components/rongcheng/AspiratedUserInfo.vue +1 -1
  40. package/src/components/rongcheng/CheckSearchUser.vue +40 -14
  41. package/src/components/rongcheng/PaperStatem.vue +6 -1
  42. package/src/components/rongcheng/PhoneDevicesInfo.vue +16 -1
  43. package/src/components/rongcheng/PhoneUpUserinfo.vue +0 -92
  44. package/src/components/rongcheng/SafecheckOrderV.vue +12 -3
  45. package/src/components/rongcheng/SafecheckOrderVCli.vue +9 -0
  46. package/src/components/task/RepairAnnual.vue +79 -79
  47. package/src/components/task/RepairAnnualDetail.vue +49 -49
  48. package/src/components/task/RepairMonthly.vue +91 -91
  49. package/src/components/task/TaskAnnual.vue +77 -77
  50. package/src/components/task/TaskAnnualDetail.vue +47 -47
  51. package/src/components/task/TaskMonthly.vue +89 -89
  52. package/src/components/userfile/UserfileChange.vue +277 -277
  53. package/src/filiale/baiyin/android/AndroidDefectDeal.vue +4 -4
  54. package/src/filiale/baiyin/android/SafecheckOrderV.vue +2785 -0
  55. package/src/filiale/baiyin/android.js +1 -0
  56. package/src/filiale/baiyin/pc/CheckSearchUser.vue +2 -2
  57. package/src/filiale/baiyin/pc/DefectListNew.vue +3 -3
  58. package/src/filiale/baiyin/pc/PaperList.vue +7 -7
  59. package/src/filiale/baiyin/pc/checkUserList.vue +771 -771
  60. package/src/filiale/baiyin/pc.js +21 -21
  61. package/src/filiale/bayan/android/SafecheckOrderV.vue +52 -29
  62. package/src/filiale/bayan/pc/PaperList.vue +1 -0
  63. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +35 -15
  64. package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -0
  65. package/src/filiale/huaran/android.js +12 -0
  66. package/src/filiale/huaran/pc/CheckBook.vue +313 -0
  67. package/src/filiale/huaran/pc/CheckBookAll.vue +69 -0
  68. package/src/filiale/huaran/pc/CheckBookArea.vue +170 -0
  69. package/src/filiale/huaran/pc/CheckBookCompany.vue +166 -0
  70. package/src/filiale/huaran/pc/CheckBookDetails.vue +196 -0
  71. package/src/filiale/huaran/pc/CheckBookEntry.vue +61 -0
  72. package/src/filiale/huaran/pc/CheckBookList.vue +386 -0
  73. package/src/filiale/huaran/pc/CheckBookSearchArea.vue +564 -0
  74. package/src/filiale/huaran/pc/CheckBookSearchUnit.vue +229 -0
  75. package/src/filiale/huaran/pc/CheckBookSearchUser.vue +604 -0
  76. package/src/filiale/huaran/pc/CheckBookUser.vue +112 -0
  77. package/src/filiale/huaran/pc/PaperList.vue +822 -0
  78. package/src/filiale/huaran/pc/PlanManage.vue +887 -0
  79. package/src/filiale/huaran/pc/checkPlanList.vue +419 -0
  80. package/src/filiale/huaran/pc/checkUserList.vue +867 -0
  81. package/src/filiale/huaran/pc.js +27 -0
  82. package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -0
  83. package/src/filiale/jiaxian/android/PhoneUpUserinfo.vue +1229 -0
  84. package/src/filiale/jiaxian/android/SafecheckDevices.vue +6 -6
  85. package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -0
  86. package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -0
  87. package/src/filiale/jiaxian/android.js +4 -0
  88. package/src/filiale/kelai/pc/CheckPlanAreaList.vue +15 -7
  89. package/src/filiale/ruihua/android/SafecheckOrderV.vue +2747 -0
  90. package/src/filiale/ruihua/android/SafecheckUserInfo.vue +804 -0
  91. package/src/filiale/ruihua/android.js +11 -0
  92. package/src/filiale/shanxian/pc/checkUserList.vue +700 -700
  93. package/src/filiale/siyang/pc/CheckBookSearchArea.vue +645 -0
  94. package/src/filiale/siyang/pc/CheckPlanAreaList.vue +512 -0
  95. package/src/filiale/siyang/pc/CheckSearchUser.vue +982 -0
  96. package/src/filiale/siyang/pc/HiddenSituation.vue +167 -0
  97. package/src/filiale/siyang/pc/checkPlanList.vue +367 -0
  98. package/src/filiale/siyang/pc/checkUserList.vue +22 -18
  99. package/src/filiale/siyang/pc.js +5 -0
  100. package/src/filiale/tongchuan/android/Select.vue +421 -0
  101. package/src/filiale/tongchuan/android.js +1 -0
  102. package/src/filiale/tongchuan/pc/CheckPlanCountChartArea.vue +3 -1
  103. package/src/filiale/tongchuan/pc/DefectPaperWeiXiu.vue +6 -2
  104. package/src/filiale/tongchuan/pc/HiddenSituation.vue +3 -1
  105. package/src/filiale/tongchuan/pc/NewCheckpaper.vue +13 -22
  106. package/src/filiale/tongchuan/pc/PaperDefectMain.vue +1060 -1060
  107. package/src/filiale/tongchuan/pc/SelectCheckPlan.vue +5 -2
  108. package/src/filiale/tongchuan/utils/EventListener.js +29 -0
  109. package/src/filiale/tongchuan/utils/coerceBoolean.js +7 -0
  110. package/src/filiale/weinan/android/SafecheckDevices.vue +1 -1
  111. package/src/filiale/weinan/android/SafecheckOrderV.vue +1 -1
  112. package/src/filiale/weinan/pc/CheckBookSearchUserList.vue +735 -722
  113. package/src/filiale/weinan/pc/CheckDetail.vue +278 -278
  114. package/src/filiale/weinan/pc/DefectListNew.vue +617 -617
  115. package/src/filiale/weinan/pc/DefectMainNew.vue +63 -63
  116. package/src/filiale/weinan/pc/DefectPaperNew.vue +31 -0
  117. package/src/filiale/weinan/pc/DeviceChange.vue +1088 -0
  118. package/src/filiale/weinan/pc/checkUserList.vue +712 -776
  119. package/src/filiale/weinan/pc.js +47 -46
  120. package/src/filiale/wuan/android/SafecheckOrderV.vue +1 -0
  121. package/src/filiale/wuan/android/SafecheckUserInfo.vue +4 -0
  122. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +1192 -1192
  123. package/src/filiale/yangchunboneng/android/DailyworkloadQuery.vue +472 -472
  124. package/src/filiale/yangchunboneng/android/safeHistoryLook.vue +473 -473
  125. package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +13 -11
  126. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +6 -6
  127. package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +10 -10
  128. package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +10 -10
  129. package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +6 -6
  130. package/src/filiale/yangchunboneng/pc/PaperList.vue +6 -6
  131. package/src/filiale/yuansheng/android/SafecheckDevices.vue +11 -1
  132. package/src/filiale/yuansheng/pc/NewCheckpaper.vue +10 -2
  133. package/src/main-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.js +24 -0
  134. package/src/safecheck-android.js +7 -0
  135. package/src/safecheck-page.js +10 -0
@@ -1,84 +1,84 @@
1
- <template>
2
- <div>
3
- <form>
4
- <div class="form-group">
5
- <label for="c_plan_year">年份:</label>
6
- <v-select id="c_plan_year" :value.sync="c_plan_year"
7
- :options='c_year_list' close-on-select clear-button></v-select>
8
- <label for="c_plan_month">月份:</label>
9
- <v-select id="c_plan_month" :value.sync="c_plan_month"
10
- :options='c_month_list' close-on-select clear-button></v-select>
11
- <button type="button" class="btn btn-default" @click="search">刷新</button>
12
- </div>
13
- </form>
14
- <data-grid :model="model" partial='list' v-ref:grid>
15
- <template partial='head'>
16
- <tr>
17
- <th>安检员</th>
18
- <th>任务</th>
19
- <th>已完成</th>
20
- </tr>
21
- </template>
22
- <template partial='body'>
23
- <td>{{row.f_checker}}</td>
24
- <td>{{row.task}}</td>
25
- <td>{{row.accomplished}}</td>
26
- </template>
27
- </data-grid>
28
- <div style="height:50px;"></div>
29
- </div>
30
- </template>
31
-
32
- <script>
33
- import co from 'co'
34
- import Vue from 'vue'
35
-
36
- let aggCheckerTask = function * (self) {
37
- let result = yield self.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/统计安检员月任务?pageNo=1&pageSize=9999` , {
38
- data: {
39
- id: Vue.user.id,
40
- org_id: Vue.user.parentid,
41
- f_plan_year: self.c_plan_year[0],
42
- f_plan_month: self.c_plan_month[0],
43
- f_subcompany: Vue.user.f_subcompany,
44
- f_ym: self.c_plan_year[0] + '-' + (self.c_plan_month[0].length > 1 ? self.c_plan_month[0] : '0' + self.c_plan_month[0])
45
- }
46
- }, {
47
- resolveMsg: null,
48
- rejectMsg: '提取任务出错'
49
- })
50
- self.$set("model.rows", result.data)
51
- }
52
-
53
- export default {
54
- title: '安检员月任务',
55
- data() {
56
- let options = []
57
- let year = (new Date()).getFullYear()
58
- options.push({label: year+'', value: year+''})
59
- year++
60
- options.push({label: year+'', value: year+''})
61
- let moptions = []
62
- for(let i=1; i<=12; i++)
63
- moptions.push({label: i + '', value: i + ''})
64
- return {
65
- c_plan_year: options[0].value,
66
- c_year_list: options,
67
- c_month_list: moptions,
68
- c_plan_month: moptions[new Date().getMonth()].value,
69
- model: {
70
- rows: [],
71
- }
72
- }
73
- },
74
- ready () {
75
- this.search()
76
- },
77
- methods: {
78
- search () {
79
- let fp = aggCheckerTask(this)
80
- co(fp)
81
- }
82
- }
83
- }
84
- </script>
1
+ <template>
2
+ <div>
3
+ <form>
4
+ <div class="form-group">
5
+ <label for="c_plan_year">年份:</label>
6
+ <v-select id="c_plan_year" :value.sync="c_plan_year"
7
+ :options='c_year_list' close-on-select clear-button></v-select>
8
+ <label for="c_plan_month">月份:</label>
9
+ <v-select id="c_plan_month" :value.sync="c_plan_month"
10
+ :options='c_month_list' close-on-select clear-button></v-select>
11
+ <button type="button" class="btn btn-default" @click="search">刷新</button>
12
+ </div>
13
+ </form>
14
+ <data-grid :model="model" partial='list' v-ref:grid>
15
+ <template partial='head'>
16
+ <tr>
17
+ <th>安检员</th>
18
+ <th>任务</th>
19
+ <th>已完成</th>
20
+ </tr>
21
+ </template>
22
+ <template partial='body'>
23
+ <td>{{row.f_checker}}</td>
24
+ <td>{{row.task}}</td>
25
+ <td>{{row.accomplished}}</td>
26
+ </template>
27
+ </data-grid>
28
+ <div style="height:50px;"></div>
29
+ </div>
30
+ </template>
31
+
32
+ <script>
33
+ import co from 'co'
34
+ import Vue from 'vue'
35
+
36
+ let aggCheckerTask = function * (self) {
37
+ let result = yield self.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/统计安检员月任务?pageNo=1&pageSize=9999` , {
38
+ data: {
39
+ id: Vue.user.id,
40
+ org_id: Vue.user.parentid,
41
+ f_plan_year: self.c_plan_year[0],
42
+ f_plan_month: self.c_plan_month[0],
43
+ f_subcompany: Vue.user.f_subcompany,
44
+ f_ym: self.c_plan_year[0] + '-' + (self.c_plan_month[0].length > 1 ? self.c_plan_month[0] : '0' + self.c_plan_month[0])
45
+ }
46
+ }, {
47
+ resolveMsg: null,
48
+ rejectMsg: '提取任务出错'
49
+ })
50
+ self.$set("model.rows", result.data)
51
+ }
52
+
53
+ export default {
54
+ title: '安检员月任务',
55
+ data() {
56
+ let options = []
57
+ let year = (new Date()).getFullYear()
58
+ options.push({label: year+'', value: year+''})
59
+ year++
60
+ options.push({label: year+'', value: year+''})
61
+ let moptions = []
62
+ for(let i=1; i<=12; i++)
63
+ moptions.push({label: i + '', value: i + ''})
64
+ return {
65
+ c_plan_year: options[0].value,
66
+ c_year_list: options,
67
+ c_month_list: moptions,
68
+ c_plan_month: moptions[new Date().getMonth()].value,
69
+ model: {
70
+ rows: [],
71
+ }
72
+ }
73
+ },
74
+ ready () {
75
+ this.search()
76
+ },
77
+ methods: {
78
+ search () {
79
+ let fp = aggCheckerTask(this)
80
+ co(fp)
81
+ }
82
+ }
83
+ }
84
+ </script>
@@ -1,108 +1,108 @@
1
- <template>
2
- <div class="app-bg auto">
3
- <tools-page :need-back='true' title="安检计划" @back="back()"></tools-page>
4
- <div class="row app-input">
5
- <label class="col-xs-4 control-label text-left">用户编号</label>
6
- <input class="col-xs-8" v-model="model.f_userid" placeholder="请输入用户编号">
7
- </div>
8
- <div class="row app-input">
9
- <label class="col-xs-4 control-label text-left">用户姓名</label>
10
- <input class="col-xs-8" v-model="model.f_username" placeholder="请输入用户姓名">
11
- </div>
12
- <div class="row app-input">
13
- <label class="col-xs-4 control-label text-left">表号</label>
14
- <input class="col-xs-8" v-model="model.f_meter_no" placeholder="请输入表编号">
15
- </div>
16
- <div class="row app-input">
17
- <label class="col-xs-4 control-label text-left">卡号</label>
18
- <input class="col-xs-6" v-model="model.f_cardid" placeholder="请输入用户卡号">
19
- <div class="input-group col-xs-2">
20
- <span class="input-group-btn">
21
- <button class="btn btn-default " type="button" @click="readCard">读卡</button>
22
- </span>
23
- </div>
24
- </div>
25
- <div class="row app-input">
26
- <label class="col-xs-4 control-label text-left">地址</label>
27
- <input class="col-xs-8" v-model="model.f_address" placeholder="请输入用户地址(可模糊查询)">
28
- </div>
29
- <div class="row app-btn" style="margin-bottom: -5px;">
30
- <button class="btn btn-primary col-xs-6" @click= "planinfomation()"><span class="glyphicon glyphicon-zoom-in" style="margin-right: 20px;"></span>查询</button>
31
- </div>
32
-
33
- <div v-for='row in user' class="app-list auto " @click= "checkplan(row)">
34
- <div class="row" style="color: #00B9F1;">
35
- <span class="col-xs-3">户号:</span><span class="col-xs-3">{{row.f_userid}}</span>
36
- <span class="col-xs-3">姓名:</span><span class="col-xs-3">{{row.f_username}}</span>
37
- </div>
38
- <div class="row">
39
- <span class="col-xs-3">表号:</span><span class="col-xs-3">{{row.f_meter_no}}</span>
40
- <span class="col-xs-3">用户类型:</span><span class="col-xs-3">{{row.f_user_type}}</span>
41
- </div>
42
- <div class="row">
43
- <span class="col-xs-3">地址:</span><span class="col-xs-8">{{row.f_address}}</span>
44
- </div>
45
- </div>
46
- </div>
47
- </template>
48
-
49
- <script>
50
- import co from 'co'
51
- import Vue from 'vue'
52
-
53
- export default {
54
- title:'抄表用户信息',
55
- data () {
56
- return {
57
- model: {
58
- f_userid:'',
59
- f_username: '',
60
- f_meter_no: '',
61
- f_cardid: '',
62
- f_address: ''
63
- },
64
- //拿到的用户
65
- user: [],
66
- context: '',
67
- // 未上传成功的数据
68
- result: []
69
- }
70
- },
71
- methods: {
72
- // 读取卡号
73
- readCard () {
74
- let card = this.$androidUtil.read()
75
- this.model.f_cardid = card.msg.CardID
76
- },
77
- //头部事件回掉
78
- back () {
79
- this.$back()
80
- },
81
- //根据条件拿到用户
82
- planinfomation () {
83
- // 只能自己拼接输入条件
84
- let condition = '1=1'
85
- for (var key in this.model) {
86
- if (this.model[key] !== '') {
87
- condition = condition + ` and ${key} like '%${this.model[key]}%'`
88
- }
89
- }
90
- let url = `${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable`
91
- this.$resetpost(url,
92
- {data: {tablename: 't_userfiles',condition: condition}},
93
- { resolveMsg: null, rejectMsg: null }
94
- ).then((back) => {
95
- this.user = back.data
96
- }).catch((reason) => {
97
- this.$showMessage(`没有该用户,请在营业厅核查, 原因: ${reason}`)
98
- })
99
- },
100
- checkplan(row) {
101
- this.$goto("tableset",{user:row})
102
- }
103
- }
104
- }
105
- </script>
106
- <style>
107
-
108
- </style>
1
+ <template>
2
+ <div class="app-bg auto">
3
+ <tools-page :need-back='true' title="安检计划" @back="back()"></tools-page>
4
+ <div class="row app-input">
5
+ <label class="col-xs-4 control-label text-left">用户编号</label>
6
+ <input class="col-xs-8" v-model="model.f_userid" placeholder="请输入用户编号">
7
+ </div>
8
+ <div class="row app-input">
9
+ <label class="col-xs-4 control-label text-left">用户姓名</label>
10
+ <input class="col-xs-8" v-model="model.f_username" placeholder="请输入用户姓名">
11
+ </div>
12
+ <div class="row app-input">
13
+ <label class="col-xs-4 control-label text-left">表号</label>
14
+ <input class="col-xs-8" v-model="model.f_meter_no" placeholder="请输入表编号">
15
+ </div>
16
+ <div class="row app-input">
17
+ <label class="col-xs-4 control-label text-left">卡号</label>
18
+ <input class="col-xs-6" v-model="model.f_cardid" placeholder="请输入用户卡号">
19
+ <div class="input-group col-xs-2">
20
+ <span class="input-group-btn">
21
+ <button class="btn btn-default " type="button" @click="readCard">读卡</button>
22
+ </span>
23
+ </div>
24
+ </div>
25
+ <div class="row app-input">
26
+ <label class="col-xs-4 control-label text-left">地址</label>
27
+ <input class="col-xs-8" v-model="model.f_address" placeholder="请输入用户地址(可模糊查询)">
28
+ </div>
29
+ <div class="row app-btn" style="margin-bottom: -5px;">
30
+ <button class="btn btn-primary col-xs-6" @click= "planinfomation()"><span class="glyphicon glyphicon-zoom-in" style="margin-right: 20px;"></span>查询</button>
31
+ </div>
32
+
33
+ <div v-for='row in user' class="app-list auto " @click= "checkplan(row)">
34
+ <div class="row" style="color: #00B9F1;">
35
+ <span class="col-xs-3">户号:</span><span class="col-xs-3">{{row.f_userid}}</span>
36
+ <span class="col-xs-3">姓名:</span><span class="col-xs-3">{{row.f_username}}</span>
37
+ </div>
38
+ <div class="row">
39
+ <span class="col-xs-3">表号:</span><span class="col-xs-3">{{row.f_meter_no}}</span>
40
+ <span class="col-xs-3">用户类型:</span><span class="col-xs-3">{{row.f_user_type}}</span>
41
+ </div>
42
+ <div class="row">
43
+ <span class="col-xs-3">地址:</span><span class="col-xs-8">{{row.f_address}}</span>
44
+ </div>
45
+ </div>
46
+ </div>
47
+ </template>
48
+
49
+ <script>
50
+ import co from 'co'
51
+ import Vue from 'vue'
52
+
53
+ export default {
54
+ title:'抄表用户信息',
55
+ data () {
56
+ return {
57
+ model: {
58
+ f_userid:'',
59
+ f_username: '',
60
+ f_meter_no: '',
61
+ f_cardid: '',
62
+ f_address: ''
63
+ },
64
+ //拿到的用户
65
+ user: [],
66
+ context: '',
67
+ // 未上传成功的数据
68
+ result: []
69
+ }
70
+ },
71
+ methods: {
72
+ // 读取卡号
73
+ readCard () {
74
+ let card = this.$androidUtil.read()
75
+ this.model.f_cardid = card.msg.CardID
76
+ },
77
+ //头部事件回掉
78
+ back () {
79
+ this.$back()
80
+ },
81
+ //根据条件拿到用户
82
+ planinfomation () {
83
+ // 只能自己拼接输入条件
84
+ let condition = '1=1'
85
+ for (var key in this.model) {
86
+ if (this.model[key] !== '') {
87
+ condition = condition + ` and ${key} like '%${this.model[key]}%'`
88
+ }
89
+ }
90
+ let url = `${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable`
91
+ this.$resetpost(url,
92
+ {data: {tablename: 't_userfiles',condition: condition}},
93
+ { resolveMsg: null, rejectMsg: null }
94
+ ).then((back) => {
95
+ this.user = back.data
96
+ }).catch((reason) => {
97
+ this.$showMessage(`没有该用户,请在营业厅核查, 原因: ${reason}`)
98
+ })
99
+ },
100
+ checkplan(row) {
101
+ this.$goto("tableset",{user:row})
102
+ }
103
+ }
104
+ }
105
+ </script>
106
+ <style>
107
+
108
+ </style>
@@ -315,6 +315,21 @@
315
315
  <button type="button" name="button" class="col-sm-3 btn btn-primary" @click="deletecancel()">取消</button>
316
316
  </div>
317
317
  </modal>
318
+ <modal :show.sync="showgas && showgasmodel" v-ref:modal>
319
+ <div slot="modal-header" class="modal-header">
320
+ <h4 class="modal-title">
321
+ 用户须知
322
+ </h4>
323
+ </div>
324
+ <div slot="modal-body" class="modal-body">
325
+ <div class="row" style="margin-top: 6px">
326
+ <sapn>{{ gasinstructions ? gasinstructions : '请配置用户须知' }}</sapn>
327
+ </div>
328
+ </div>
329
+ <div slot="modal-footer" class="modal-footer">
330
+ <button type="button" name="button" class="col-sm-3 btn btn-primary" @click="closeshowgas()">确认</button>
331
+ </div>
332
+ </modal>
318
333
  </template>
319
334
 
320
335
  <script>
@@ -496,6 +511,9 @@ export default {
496
511
  showmodel: false,
497
512
  showbacklist:'是',
498
513
  backlistisselect: false,
514
+ showgas: false,
515
+ showgasmodel:this.$appdata.getSingleValue('用户须知查看') || false,
516
+ gasinstructions:'',
499
517
  deletebacklistisselect: false,
500
518
  radios: [
501
519
  {
@@ -1114,6 +1132,9 @@ export default {
1114
1132
  }
1115
1133
 
1116
1134
  },
1135
+ closeshowgas() {
1136
+ this.showgas = false
1137
+ },
1117
1138
  //确认安检转维修
1118
1139
 
1119
1140
  undo() {
@@ -1291,6 +1312,13 @@ export default {
1291
1312
  this.$set('style__', '')
1292
1313
  this.$set('style_view_', '')
1293
1314
  }
1315
+ if (Vue.config.safecheck != undefined) {
1316
+ if (Vue.config.safecheck.ApproveConfig != undefined) {
1317
+ if (Vue.config.safecheck.ApproveConfig.gasinstructions != undefined) {
1318
+ this.gasinstructions = Vue.config.safecheck.ApproveConfig.gasinstructions
1319
+ }
1320
+ }
1321
+ }
1294
1322
 
1295
1323
  for (let item of this.radios) {
1296
1324
  if (this.paper.f_client_evaluation == item.label) {
@@ -1381,6 +1409,11 @@ export default {
1381
1409
  '$parent.$parent.isUpload'(val) {
1382
1410
  ////tag
1383
1411
  },
1412
+ 'paper.f_read_instructions'(val) {
1413
+ if (val == true) {
1414
+ this.showgas = true
1415
+ }
1416
+ },
1384
1417
  'meading'(val) {
1385
1418
  ////tag
1386
1419
  this.$parent.$parent.meading = val