apply-clients 3.3.217 → 3.4.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.
Files changed (121) 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 +84 -0
  11. package/build/webpack.baseandroid.conf.js +84 -0
  12. package/build/webpack.dev.conf.js +39 -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/index.html +33 -33
  19. package/package.json +3 -3
  20. package/src/AndroidApp.vue +35 -30
  21. package/src/App.vue +20 -20
  22. package/src/android.js +21 -21
  23. package/src/apply.js +81 -90
  24. package/src/applyAndroid.js +32 -53
  25. package/src/components/android/AppOnetomany.vue +301 -285
  26. package/src/components/android/AppServiceView.vue +566 -570
  27. package/src/components/android/AppSign.vue +142 -142
  28. package/src/components/android/AppTakePic.vue +143 -144
  29. package/src/components/android/Process/AppExplorationUser.vue +320 -270
  30. package/src/components/android/Process/AppServiceControl.vue +757 -686
  31. package/src/components/android/Process/Processes/AppInstallationDetails.vue +456 -466
  32. package/src/components/android/ProgressReport/ProgressReportDetail.vue +64 -0
  33. package/src/components/android/ProgressReport/ProgressReportList.vue +209 -0
  34. package/src/components/android/Supervisory/AppProcessSupervisory.vue +73 -152
  35. package/src/components/android/Supervisory/AppSupervisoryCart.vue +121 -115
  36. package/src/components/android/TaskGraph.vue +125 -0
  37. package/src/components/build/Install/ExplorationUser.vue +304 -0
  38. package/src/components/build/Install/Process/zhongran/ZR_Design.vue +537 -0
  39. package/src/components/product/ApplyCharge/ApplyChargeList.vue +36 -50
  40. package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +3 -3
  41. package/src/components/product/Function/InstallFunction.vue +125 -122
  42. package/src/components/product/Function/InstallInfoSelect.vue +292 -318
  43. package/src/components/product/Function/Service/FunctionServiceControl.vue +222 -254
  44. package/src/components/product/Function/StopApplyCrrdList.vue +176 -0
  45. package/src/components/product/Function/functions/ApplyRecordCancel.vue +102 -0
  46. package/src/components/product/Function/functions/StopInstall.vue +106 -0
  47. package/src/components/product/Onetomany.vue +377 -296
  48. package/src/components/product/Order/OrderApply.vue +30 -30
  49. package/src/components/product/Order/OrderApplyList.vue +78 -67
  50. package/src/components/product/Order/OrderMessage.vue +11 -87
  51. package/src/components/product/Process/ExplorationSelect.vue +410 -369
  52. package/src/components/product/Process/ExplorationUser.vue +138 -128
  53. package/src/components/product/Process/Processes/InstallationDetails.vue +592 -504
  54. package/src/components/product/Process/Processes/Print/img/10101.png +0 -0
  55. package/src/components/product/Process/Processes/Print/img/1010109.png +0 -0
  56. package/src/components/product/Process/Processes/Print/img/1010110.png +0 -0
  57. package/src/components/product/Process/Processes/Print/img/1010111.png +0 -0
  58. package/src/components/product/Process/Processes/Print/img/1010112.png +0 -0
  59. package/src/components/product/Process/Processes/Print/printCharge.vue +142 -0
  60. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +207 -181
  61. package/src/components/product/Process/Processes/chargeManagement.vue +639 -638
  62. package/src/components/product/Process/Processes/devicesManagement.vue +22 -2
  63. package/src/components/product/Process/Processes/selectApply.vue +1 -1
  64. package/src/components/product/Process/Service/ServiceControl.vue +1254 -883
  65. package/src/components/product/Process/Service/ShowBackReason.vue +33 -0
  66. package/src/components/product/ServiceView.vue +631 -741
  67. package/src/components/product/Stop/StopApply.vue +103 -103
  68. package/src/components/product/Stop/StopApplyList.vue +269 -254
  69. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +186 -517
  70. package/src/components/product/Supervisory/SupervisoryControl.vue +100 -108
  71. package/src/components/product/Supervisory/SupervisoryList.vue +233 -253
  72. package/src/components/product/Supervisory/SupervisoryhCart.vue +107 -124
  73. package/src/components/product/VueUtils/ApplyUpload.vue +273 -264
  74. package/src/components/product/VueUtils/HighMeter.vue +208 -0
  75. package/src/expandcssAndroid.less +1034 -517
  76. package/src/filiale/yuchuan/android/Process/AppServiceControl.vue +731 -414
  77. package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetails.vue +824 -456
  78. package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetailsCivil.vue +650 -0
  79. package/src/filiale/yuchuan/android/Sign/AppSignTask.vue +182 -0
  80. package/src/{components/android/Process/Processes/AppBuildSign.vue → filiale/yuchuan/android/Sign/BuildSign.vue} +50 -47
  81. package/src/filiale/yuchuan/android/Sign/ConstructSign.vue +50 -0
  82. package/src/filiale/yuchuan/android/Sign/DesignSign.vue +50 -0
  83. package/src/filiale/yuchuan/android/Sign/SupervisorSign.vue +50 -0
  84. package/src/filiale/yuchuan/android/Task/Build/BuildTsak.vue +60 -0
  85. package/src/filiale/yuchuan/android/Task/Survey/SurveyTsak.vue +60 -0
  86. package/src/filiale/yuchuan/android.js +14 -8
  87. package/src/filiale/yuchuan/pc/Order/OrderApply.vue +528 -517
  88. package/src/filiale/yuchuan/pc/Order/OrderApplyList.vue +343 -343
  89. package/src/filiale/yuchuan/pc/Process/ExplorationSelect.vue +270 -231
  90. package/src/filiale/yuchuan/pc/Process/ExplorationUser.vue +149 -131
  91. package/src/filiale/yuchuan/pc/Process/Processes/ApplyMapCom.vue +67 -0
  92. package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetails.vue +809 -0
  93. package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetailsCivil.vue +595 -0
  94. package/src/filiale/yuchuan/pc/Process/Processes/chargeManagement.vue +470 -0
  95. package/src/filiale/yuchuan/pc/Process/Service/ServiceControl.vue +1074 -517
  96. package/src/filiale/yuchuan/pc.js +12 -13
  97. package/src/main.js +23 -23
  98. package/src/components/android/Function/AppFunctionServiceControl.vue +0 -329
  99. package/src/components/android/Function/AppInstallFunction.vue +0 -330
  100. package/src/components/android/Process/Processes/AppChargeManagement.vue +0 -468
  101. package/src/components/android/Process/Processes/AppDevicesManagement.vue +0 -490
  102. package/src/components/android/Process/Processes/AppSupplementalAgreement.vue +0 -297
  103. package/src/components/android/Process/Processes/AppjiaSign.vue +0 -47
  104. package/src/components/android/Process/Processes/AppjiafangSign.vue +0 -47
  105. package/src/components/android/Process/Processes/ApptechnologySign.vue +0 -47
  106. package/src/components/image/dwg.jpg +0 -0
  107. package/src/components/image/yasuobao.jpg +0 -0
  108. package/src/components/product/Function/Inform.vue +0 -73
  109. package/src/components/product/Function/MarketSurvey.vue +0 -81
  110. package/src/components/product/Process/Processes/printCharge.vue +0 -121
  111. package/src/components/product/Process/ShowBackReason.vue +0 -33
  112. package/src/components/product/Supervisory/Service/printChargeNode.vue +0 -873
  113. package/src/components/product/VueUtils/GaoPaiYi/HighMeter.vue +0 -1090
  114. package/src/components/product/VueUtils/ToolsPage.vue +0 -51
  115. package/src/components/product/VueUtils/Tree.vue +0 -330
  116. package/src/filiale/wuan/android.js +0 -0
  117. package/src/filiale/wuan/pc.js +0 -4
  118. package/src/filiale/yuchuan/android/AppServiceView.vue +0 -599
  119. package/src/filiale/yuchuan/android/Reserve/ApplyReserve.vue +0 -200
  120. package/src/filiale/yuchuan/android/SiteSurvey/TaskGraph.vue +0 -137
  121. package/src/filiale/yuchuan/pc/Process/Processes/MapCom.vue +0 -51
@@ -1,16 +1,12 @@
1
1
  <template>
2
2
  <criteria-paged :model="model" v-ref:cp>
3
- <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
3
+ <criteria partial='criteria' @condition-changed='search' v-ref:cri>
4
4
  <div class="form-horizontal select-overspread container-fluid auto" partial>
5
5
  <div class="row">
6
6
  <div class="form-group col-sm-3">
7
- <label class="font_normal_body">组织机构:</label>
8
- <res-select
9
- restype='organization'
10
- :initresid='$parent.$parent.curorgid'
11
- @res-select="$parent.$parent.getorg"
12
- is-mul="false"
13
- ></res-select>
7
+ <label class="font_normal_body">项目名称:</label>
8
+ <input type="text" class="input_search" style="width: 60%" v-model="model.f_entry_name"
9
+ v-on:keyup.enter="$parent.$parent.search()" condition="a.f_entry_name like '%{}%'" placeholder='项目名'>
14
10
  </div>
15
11
  <div class="form-group col-sm-3">
16
12
  <label for="startDate" class="font_normal_body">开始时间:</label>
@@ -20,7 +16,7 @@
20
16
  :value.sync="model.startDate"
21
17
  :format="'yyyy-MM-dd HH:mm:ss'"
22
18
  :show-reset-button="true"
23
- condition="cr.f_charge_date >= to_date('{}', 'yyyy-mm-dd hh24:mi:ss')">
19
+ condition="cr.f_charge_date >= '{}'">
24
20
  </datepicker>
25
21
  </div>
26
22
  <div class="form-group col-sm-3">
@@ -31,7 +27,7 @@
31
27
  :value.sync="model.endDate"
32
28
  :format="'yyyy-MM-dd HH:mm:ss'"
33
29
  :show-reset-button="true"
34
- condition="cr.f_charge_date <= to_date('{}', 'yyyy-mm-dd hh24:mi:ss')">
30
+ condition="cr.f_charge_date <= '{}'">
35
31
  </datepicker>
36
32
  </div>
37
33
  <div class="form-group col-sm-3 button-range">
@@ -53,8 +49,8 @@
53
49
  </div>
54
50
  <div class="row" v-show="$parent.$parent.criteriaShow">
55
51
  <div class="form-group col-sm-3">
56
- <label class="font_normal_body">工程编号:</label>
57
- <input type="text" style="width: 60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
52
+ <label class="font_normal_body">报建编号:</label>
53
+ <input type="text" style="width: 60%" class="input_search" placeholder='报建编号' v-model="model.f_apply_num"
58
54
  v-on:keyup.enter="$parent.$parent.search()"
59
55
  condition="a.f_apply_num = '{}'">
60
56
  </div>
@@ -64,12 +60,6 @@
64
60
  v-on:keyup.enter="$parent.$parent.search()"
65
61
  condition="a.f_contract_number = '{}'">
66
62
  </div>
67
- <div class="form-group col-sm-3">
68
- <label class="font_normal_body">流&ensp;水&ensp;号:</label>
69
- <input type="text" style="width: 60%" class="input_search" placeholder='流水号' v-model="model.f_payer_number"
70
- v-on:keyup.enter="$parent.$parent.search()"
71
- condition="cr.f_payer_number = '{}'">
72
- </div>
73
63
  <div class="form-group col-sm-3">
74
64
  <label class="font_normal_body">报建类型:</label>
75
65
  <v-select
@@ -103,11 +93,11 @@
103
93
  <div class="form-group col-sm-3">
104
94
  <label class="font_normal_body">缴费状态:</label>
105
95
  <v-select
106
- v-model="model.f_charge_status"
96
+ v-model="model.f_charging_status"
107
97
  placeholder='请选择'
108
- condition="cr.f_charge_status = '{}'"
109
- :value.sync="model.f_charge_status"
110
- :options='$parent.$parent.chargeStatus'
98
+ condition="cr.f_charging_status = '{}'"
99
+ :value.sync="model.f_charging_status"
100
+ :options='$parent.$parent.chargingStatus'
111
101
  class="select select_list"
112
102
  :value-single="true"
113
103
  close-on-select ></v-select>
@@ -119,16 +109,17 @@
119
109
  <template partial='head'>
120
110
  <tr>
121
111
  <th>序号</th>
122
- <th>工程编号</th>
112
+ <th>报建编号</th>
113
+ <th>项目名称</th>
123
114
  <th>合同编号</th>
124
115
  <th>报建类型</th>
125
116
  <th>缴费编码</th>
126
- <th>收费金额(退款金额)</th>
117
+ <th>收费金额</th>
127
118
  <th>付款方式</th>
128
- <th>流水号</th>
129
- <th>收费人员(退款人员)</th>
130
- <th>收费日期(退款日期)</th>
119
+ <th>收费人员</th>
120
+ <th>收费日期</th>
131
121
  <th>状态</th>
122
+ <th>地址</th>
132
123
  </tr>
133
124
  </template>
134
125
  <template partial='body'>
@@ -139,6 +130,9 @@
139
130
  <td style="text-align: center;">
140
131
  <nobr><font>{{row.f_apply_num}}</font></nobr>
141
132
  </td>
133
+ <td style="text-align: center;">
134
+ <nobr><font>{{row.f_apply_entry_name}}</font></nobr>
135
+ </td>
142
136
  <td style="text-align: center;">
143
137
  <nobr><font>{{row.f_contract_number}}</font></nobr>
144
138
  </td>
@@ -154,9 +148,6 @@
154
148
  <td style="text-align: center;">
155
149
  <nobr><font>{{row.f_payment_method}}</font></nobr>
156
150
  </td>
157
- <td style="text-align: center;">
158
- <nobr><font>{{row.f_payer_number}}</font></nobr>
159
- </td>
160
151
  <td style="text-align: center;">
161
152
  <nobr><font>{{row.f_charge_collectors}}</font></nobr>
162
153
  </td>
@@ -164,7 +155,10 @@
164
155
  <nobr><font>{{row.f_charge_date}}</font></nobr>
165
156
  </td>
166
157
  <td style="text-align: center;">
167
- <nobr><font>{{row.f_charge_status}}</font></nobr>
158
+ <nobr><font>{{row.f_charging_status}}</font></nobr>
159
+ </td>
160
+ <td style="text-align: center;">
161
+ <nobr><font>{{row.f_address}}</font></nobr>
168
162
  </td>
169
163
  </tr>
170
164
  </template>
@@ -179,17 +173,19 @@ export default {
179
173
  title: '报建收费列表',
180
174
  data () {
181
175
  return {
182
- model: new PagedList('rs/sql/getApplyCharge', 30, null, {
176
+ model: new PagedList('rs/sql/getApplyCharge', 30, {
177
+ data: {
178
+ orgid: this.$login.f.orgid
179
+ }
180
+ }, {
183
181
  f_charge_money: 0
184
182
  }),
185
- curorgid: [this.$login.f.orgid],
186
183
  applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
187
184
  paymentMethod: [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')],
188
- chargeStatus: [
185
+ chargingStatus: [
189
186
  {label: '全部', value: ''},
190
187
  {label: '有效', value: '有效'},
191
- {label: '作废', value: '作废'},
192
- {label: '退款', value: '退款'}
188
+ {label: '作废', value: '作废'}
193
189
  ],
194
190
  criteriaShow: false,
195
191
  chargeAll: {
@@ -197,7 +193,7 @@ export default {
197
193
  sum: 0
198
194
  },
199
195
  getfield: {
200
- 'f_apply_num': '工程编号',
196
+ 'f_apply_num': '报建编号',
201
197
  'f_entry_name': '项目名称',
202
198
  'f_contract_number': '合同编号',
203
199
  'f_apply_type': '报建类型',
@@ -205,7 +201,8 @@ export default {
205
201
  'f_payment_method': '付款方式',
206
202
  'f_charge_collectors': '收费人员',
207
203
  'f_charge_date': '收费日期',
208
- 'f_charge_status': '状态'
204
+ 'f_charging_status': '状态',
205
+ 'f_address': '地址'
209
206
  }
210
207
  }
211
208
  },
@@ -216,13 +213,9 @@ export default {
216
213
  methods: {
217
214
  clear () {
218
215
  Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
219
- this.$refs.cp.$refs.cri.model[key] = ''
216
+ this.$refs.cp.$refs.cri.model[key] = []
220
217
  })
221
218
  },
222
- searchCondition (args) {
223
- args.condition = args.condition + ` and cr.f_orgid = '${this.curorgid[0]}'`
224
- this.model.search(args.condition, args.model)
225
- },
226
219
  // 查询
227
220
  search () {
228
221
  this.$refs.cp.$refs.cri.search()
@@ -239,13 +232,6 @@ export default {
239
232
  let res = await http.load('POST', 'rs/sql/getChargeAll', {data: data}, {resolveMsg: null, rejectMsg: null})
240
233
 
241
234
  this.chargeAll = res.data[0]
242
- },
243
- getorg (val) {
244
- if (val.length <= 0) {
245
- return
246
- }
247
- this.curorgid = val
248
- this.search()
249
235
  }
250
236
  },
251
237
  computed: {
@@ -4,9 +4,9 @@
4
4
  <div style="height: 95%">
5
5
  <apply-charge-list v-ref:query ></apply-charge-list>
6
6
  </div>
7
- <p class="bg-info text-center" style="font-size: 20px;height: 5%">
8
- 合计记录共<span style="color: red">&ensp;{{$refs.query.chargeAll.count}}&ensp;</span>笔,
9
- 合计金额<span style="color: red">&ensp;{{$refs.query.chargeAll.sum}}&ensp;</span>元
7
+ <p class="bg-info text-center" style="font-size: 20px;height: 5%">合计收费记录共
8
+ <span style="color: red">{{$refs.query.chargeAll.count}}</span>笔,
9
+ 合计金额<span style="color: red">{{$refs.query.chargeAll.sum}}</span>元
10
10
  </p>
11
11
  </div>
12
12
  </div>
@@ -1,122 +1,125 @@
1
- <template>
2
- <div class="flex-row">
3
- <div class="basic-main">
4
- <div :class="showData ? 'top' : 'auto'">
5
- <installinfoselect :show-data="showData" v-ref:query></installinfoselect>
6
- </div>
7
- <div v-if="showtotal" class="panel panel-info" style="height: 90%;">
8
- <tabset v-ref:tabs :close="false">
9
- <tab :header='selectdata.title'>
10
- <function-service-control v-ref:service :selectdata="selectdata"></function-service-control>
11
- </tab>
12
- <tab header='附件'>
13
- <apply-upload :blodid="show_data.f_process_id"
14
- :isupload = "true"
15
- :isdelete="true"
16
- :isusetype="true"
17
- :isremark = "true"
18
- :takeimg="false"
19
- :issearch="true"
20
- :defname="show_data.defname"
21
- >
22
- </apply-upload>
23
- </tab>
24
- </tabset>
25
- </div>
26
- </div>
27
- </div>
28
-
29
- </template>
30
- <script>
31
- import Vue from 'vue'
32
- import {HttpResetClass} from 'vue-client'
33
- export default {
34
- title: '报建业务',
35
- data () {
36
- return {
37
- selectdata: null,
38
- showtotal: false, // 控制详情显示
39
- showData: true // 控制列表数据
40
- }
41
- },
42
- created () {
43
- this.getConfig()
44
- },
45
- methods: {
46
- // 获取功能配置
47
- async getConfig () {
48
- let res = await this.$resetpost(
49
- 'rs/logic/ApplyGetFunction',
50
- null,
51
- {resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
52
- )
53
- Vue.prototype.$function_vue = res.data
54
- }
55
- },
56
- events: {
57
- // 刷新控制层
58
- async 'breakControl' (servicedata) {
59
- let http = new HttpResetClass()
60
- let data = {
61
- condition: `u.id = ${servicedata.id}`,
62
- data: {
63
- id: this.$login.f.id,
64
- orgid: this.$login.f.orgid
65
- }
66
- }
67
-
68
- let res = await http.load('POST', 'rs/sql/checkuserfunction', {data:data}, {
69
- resolveMsg: null,
70
- rejectMsg: '数据更新失败!!!'
71
- })
72
-
73
- this.showtotal = false
74
-
75
- this.selectdata = Object.assign({}, this.selectdata, res.data[0])
76
-
77
- this.$nextTick(() => {
78
- this.showtotal = true
79
- })
80
- },
81
- // 查询
82
- 'search' () {
83
- // 关闭详细
84
- this.showtotal = false
85
- // 显示列表数据
86
- this.showData = true
87
- // 显示分页
88
- this.$refs.query.$refs.cp.pager = true
89
- // 调用查询
90
- this.$refs.query.$refs.cp.$refs.cri.search()
91
- },
92
- // 点击功能操作
93
- 'func' (funcdata, row) {
94
- this.selectdata = Object.assign({}, funcdata, row)
95
-
96
- // 关闭分页
97
- this.$refs.query.$refs.cp.pager = false
98
- // 关闭列表数据
99
- this.showData = false
100
-
101
- this.$nextTick(() => {
102
- this.showtotal = true
103
- })
104
- }
105
- }
106
- }
107
- </script>
108
- <style scoped>
109
- /*清除浮动*/
110
- .clearfix:after,.clearfix:before{
111
- display: table;
112
- }
113
- .clearfix:after{
114
- clear: both;
115
- }
116
- .head{
117
- height: auto;
118
- font-weight: bold;
119
- color: #000000;
120
- font-family: 微软雅黑;
121
- }
122
- </style>
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main">
4
+ <div :class="showData ? 'top' : 'auto'">
5
+ <installinfoselect :show-data="showData" v-ref:query></installinfoselect>
6
+ </div>
7
+ <div v-if="showtotal" class="panel panel-info" style="height: 90%;">
8
+ <tabset v-ref:tabs :close="false">
9
+ <tab :header='selectdata.title'>
10
+ <function-service-control v-ref:service :selectdata="selectdata"></function-service-control>
11
+ </tab>
12
+ <tab header='附件'>
13
+ <apply-upload :blodid="show_data.f_process_id"
14
+ :isupload = "true"
15
+ :isdelete="true"
16
+ :isusetype="true"
17
+ :isremark = "true"
18
+ :takeimg="false"
19
+ :issearch="true"
20
+ :defname="show_data.defname"
21
+ >
22
+ </apply-upload>
23
+ </tab>
24
+ </tabset>
25
+ <!-- <div class="panel-heading head" style="background-color: #e8f4ff">{{funcdata.title}}</div>-->
26
+ <!-- <div class="panel-body" style="height: 89%">-->
27
+ <!-- <function-service-control v-ref:func :funcdata="funcdata" :selectdata="selectdata"></function-service-control>-->
28
+ <!-- </div>-->
29
+ </div>
30
+ </div>
31
+ </div>
32
+
33
+ </template>
34
+ <script>
35
+ import Vue from 'vue'
36
+ import {HttpResetClass} from 'vue-client'
37
+ export default {
38
+ title: '报建业务',
39
+ data () {
40
+ return {
41
+ selectdata: null,
42
+ showtotal: false, // 控制详情显示
43
+ showData: true // 控制列表数据
44
+ }
45
+ },
46
+ created () {
47
+ this.getConfig()
48
+ },
49
+ methods: {
50
+ // 获取功能配置
51
+ async getConfig () {
52
+ let res = await this.$resetpost(
53
+ 'rs/logic/ApplyGetFunction',
54
+ null,
55
+ {resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
56
+ )
57
+ Vue.prototype.$function_vue = res.data
58
+ }
59
+ },
60
+ events: {
61
+ // 刷新控制层
62
+ async 'breakControl' (servicedata) {
63
+ let http = new HttpResetClass()
64
+ let data = {
65
+ condition: `u.id = ${servicedata.id}`,
66
+ data: {
67
+ id: this.$login.f.id,
68
+ orgid: this.$login.f.orgid
69
+ }
70
+ }
71
+
72
+ try {
73
+ let res = await http.load('POST', 'rs/sql/checkuserfunction', {data: data}, {resolveMsg: null, rejectMsg: null})
74
+
75
+ this.showtotal = false
76
+ this.selectdata = res.data[0]
77
+ this.$nextTick(() => {
78
+ this.showtotal = true
79
+ })
80
+ } catch (e) {
81
+ this.$showAlert('数据更新失败,请手查询更新!!!', 'danger', 3000)
82
+ }
83
+ },
84
+ // 查询
85
+ 'search' () {
86
+ // 关闭详细
87
+ this.showtotal = false
88
+ // 显示列表数据
89
+ this.showData = true
90
+ // 显示分页
91
+ this.$refs.query.$refs.cp.pager = true
92
+ // 调用查询
93
+ this.$refs.query.$refs.cp.$refs.cri.search()
94
+ },
95
+ // 点击功能操作
96
+ 'func' (funcdata, row) {
97
+ this.selectdata = Object.assign({}, funcdata, row)
98
+
99
+ // 关闭分页
100
+ this.$refs.query.$refs.cp.pager = false
101
+ // 关闭列表数据
102
+ this.showData = false
103
+
104
+ this.$nextTick(() => {
105
+ this.showtotal = true
106
+ })
107
+ }
108
+ }
109
+ }
110
+ </script>
111
+ <style scoped>
112
+ /*清除浮动*/
113
+ .clearfix:after,.clearfix:before{
114
+ display: table;
115
+ }
116
+ .clearfix:after{
117
+ clear: both;
118
+ }
119
+ .head{
120
+ height: auto;
121
+ font-weight: bold;
122
+ color: #000000;
123
+ font-family: 微软雅黑;
124
+ }
125
+ </style>