apply-clients 3.3.29 → 3.3.33

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 (24) hide show
  1. package/package.json +1 -1
  2. package/src/apply.js +3 -0
  3. package/src/components/android/AppOnetomany.vue +31 -17
  4. package/src/components/android/Function/AppFunctionServiceControl.vue +18 -3
  5. package/src/components/android/Function/AppInstallFunction.vue +4 -0
  6. package/src/components/android/Process/AppExplorationUser.vue +306 -302
  7. package/src/components/android/Process/AppServiceControl.vue +756 -756
  8. package/src/components/android/Supervisory/AppProcessSupervisory.vue +4 -0
  9. package/src/components/product/Function/Service/FunctionServiceControl.vue +22 -1
  10. package/src/components/product/Material/MaterialDetailed.vue +213 -0
  11. package/src/components/product/OldApply/Handle/HandleApply.vue +20 -3
  12. package/src/components/product/OldApply/Monitor/MonitorApply.vue +6 -0
  13. package/src/components/product/OldApply/OldApply.vue +1 -1
  14. package/src/components/product/Onetomany.vue +101 -22
  15. package/src/components/product/Process/ExplorationSelect.vue +42 -6
  16. package/src/components/product/Process/Processes/InstallationDetails.vue +1 -1
  17. package/src/components/product/Process/Processes/Print/printBuildOrder.vue +215 -0
  18. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +11 -6
  19. package/src/components/product/Process/Service/ServiceControl.vue +18 -3
  20. package/src/components/product/ServiceView.vue +1 -1
  21. package/src/components/product/Stop/StopApply.vue +101 -103
  22. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +292 -20
  23. package/src/components/product/Supervisory/SupervisoryControl.vue +27 -0
  24. package/src/components/product/Supervisory/SupervisoryhCart.vue +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apply-clients",
3
- "version": "3.3.29",
3
+ "version": "3.3.33",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
package/src/apply.js CHANGED
@@ -61,6 +61,7 @@ export default function (filiale) {
61
61
  Vue.component('apply-charge-management', (resolve) => { require(['./components/product/Process/Processes/chargeManagement'], resolve) })
62
62
  Vue.component('apply-print-charge', (resolve) => { require(['./components/product/Process/Processes/Print/printCharge'], resolve) })
63
63
  Vue.component('apply-print-refund', (resolve) => { require(['./components/product/Process/Processes/Print/printRefund'], resolve) })
64
+ Vue.component('print-build-order', (resolve) => { require(['./components/product/Process/Processes/Print/printBuildOrder'], resolve) })
64
65
  // 补充协议
65
66
  Vue.component('supplemental-agreement', (resolve) => { require(['./components/product/Process/Processes/supplementalAgreement'], resolve) })
66
67
  // 选择用户信息
@@ -83,6 +84,8 @@ export default function (filiale) {
83
84
  Vue.component('monitor-old-apply', (resolve) => { require(['./components/product/OldApply/Monitor/MonitorApply'], resolve) })
84
85
  Vue.component('old-apply-message', (resolve) => { require(['./components/product/OldApply/OldApplyMessage'], resolve) })
85
86
 
87
+ Vue.component('apply-material-detailed', (resolve) => { require(['./components/product/Material/MaterialDetailed'], resolve) })
88
+
86
89
  if (filiale) {
87
90
  let filialeComp = require(`./filiale/${filiale}/pc`).specialComp
88
91
  for (let key in filialeComp) {
@@ -1,22 +1,36 @@
1
1
  <template>
2
2
  <div>
3
3
  <div class="col-sm-12 col-xs-12 form-group app-btn">
4
- <button class="btn btn-info" @click.prevent="openAdd()" v-if="!onetomany.addHidden" :style="onetomany.addStyle">{{ onetomany.addText === 'default' || !onetomany.addText ? '添加' : onetomany.addText }}</button>
4
+ <button
5
+ :class="onetomany.add.class || 'btn btn-info'"
6
+ @click.prevent="openAdd()"
7
+ v-if="!onetomany.add.hidden"
8
+ :style="onetomany.add.style || ''">
9
+ {{ onetomany.add.text || '添加'}}
10
+ </button>
5
11
  </div>
6
12
  <div class="col-sm-12 col-xs-12">
7
13
  <list :model="onetomany" partial='list'>
8
14
  <div partial class="auto app-text panel">
9
15
  <div class="panel-body panel-self">
10
- <div class="row" v-for="field in $parent.model.fields" v-if="!field.displayPosition || field.displayPosition === 'list'">
16
+ <div class="row" v-for="field in $parent.$parent.onetomany.fields" v-if="!field.displayPosition || field.displayPosition === 'list'">
11
17
  <p class="col-xs-3 text-left font label-justify"><b>{{ field.label }}</b></p>
12
18
  <p class="col-xs-8 col-xs-offset-1 text-left input-font">{{ row[field.field] }}</p>
13
19
  </div>
14
20
  <div class="row text-right" v-if="!$parent.$parent.onetomany.hiddenOperate">
15
- <button class="btn btn-warning" @click.prevent="$parent.$parent.openUpdate($index)" v-if="!$parent.$parent.onetomany.updateHidden">
16
- <span :style="$parent.model.updateStyle">{{ $parent.model.updateText ? $parent.model.updateText : '修改' }}</span>
21
+ <button
22
+ :class="$parent.$parent.onetomany.update.style || 'btn btn-warning'"
23
+ @click.prevent="$parent.$parent.openUpdate($index)"
24
+ v-if="!$parent.$parent.onetomany.update.hidden"
25
+ :style="$parent.$parent.onetomany.update.style || ''">
26
+ {{ $parent.$parent.onetomany.update.text || '修改'}}
17
27
  </button>
18
- <button class="btn btn-danger" @click.prevent="$parent.$parent.openDelete($index)" v-if="!$parent.$parent.onetomany.deleteHidden">
19
- <span :style="$parent.model.deleteStyle">{{ $parent.model.deleteText ? $parent.model.deleteText : '删除' }}</span>
28
+ <button
29
+ :class="$parent.$parent.onetomany.delete.style || 'btn btn-danger'"
30
+ @click.prevent="$parent.$parent.openDelete($index)"
31
+ v-if="!$parent.$parent.onetomany.delete.hidden"
32
+ :style="$parent.$parent.onetomany.delete.style || ''">
33
+ {{ $parent.$parent.onetomany.delete.text || '删除'}}
20
34
  </button>
21
35
  </div>
22
36
  </div>
@@ -151,15 +165,15 @@ export default {
151
165
  methods: {
152
166
  confirmModal () {
153
167
  if (this.modelTitle === '新增') {
154
- if (this.onetomany.addEvent) {
155
- this.$dispatch(this.onetomany.addEvent, this.index)
168
+ if (this.onetomany.add.event) {
169
+ this.$dispatch(this.onetomany.add.event, this.index)
156
170
  } else {
157
171
  this.$dispatch('onetomanyadd', this.index)
158
172
  }
159
173
  }
160
174
  if (this.modelTitle === '修改') {
161
- if (this.onetomany.updateEvent) {
162
- this.$dispatch(this.onetomany.updateEvent, this.index, this.rowIndex)
175
+ if (this.onetomany.update.event) {
176
+ this.$dispatch(this.onetomany.update.event, this.index, this.rowIndex)
163
177
  } else {
164
178
  this.$dispatch('onetomanyupdate', this.index, this.rowIndex)
165
179
  }
@@ -192,10 +206,10 @@ export default {
192
206
  }
193
207
  },
194
208
  openDelete (rowIndex) {
195
- this.$showMessage(this.onetomany.deleteMessage ? this.onetomany.deleteMessage : '您确定要删除这条记录吗?', ['confirm']).then((res) => {
209
+ this.$showMessage(this.onetomany.delete.message ? this.onetomany.delete.message : '您确定要删除这条记录吗?', ['confirm']).then((res) => {
196
210
  if (res === 'confirm') {
197
- if (this.onetomany.deleteEvent) {
198
- this.$dispatch(this.onetomany.deleteEvent, this.index, rowIndex)
211
+ if (this.onetomany.delete.event) {
212
+ this.$dispatch(this.onetomany.delete.event, this.index, rowIndex)
199
213
  } else {
200
214
  this.$dispatch('onetomanydelete', this.index, rowIndex)
201
215
  }
@@ -214,8 +228,8 @@ export default {
214
228
  this.modelTitle = '修改'
215
229
  this.rowIndex = rowIndex
216
230
 
217
- if (this.onetomany.openUpdateEvent) {
218
- this.$dispatch(this.onetomany.openUpdateEvent, this.index, this.rowIndex)
231
+ if (this.onetomany.update.openEvent) {
232
+ this.$dispatch(this.onetomany.update.openEvent, this.index, this.rowIndex)
219
233
  }
220
234
  this.$dispatch('openUpdateModel', this.index, this.rowIndex)
221
235
 
@@ -225,8 +239,8 @@ export default {
225
239
  this.disableModalButton()
226
240
  this.modelTitle = '新增'
227
241
 
228
- if (this.onetomany.openAddEvent) {
229
- this.$dispatch(this.onetomany.openAddEvent, this.index)
242
+ if (this.onetomany.add.openEvent) {
243
+ this.$dispatch(this.onetomany.add.openEvent, this.index)
230
244
  }
231
245
  this.$dispatch('openAddModel', this.index)
232
246
 
@@ -293,7 +293,10 @@
293
293
  null,
294
294
  {resolveMsg: null, rejectMsg: '删除失败!!!'}
295
295
  )
296
-
296
+ res = await this.$resetpost(
297
+ `${this.$androidUtil.getProxyUrl()}/rs/entity/t_apply`,
298
+ this.show_data
299
+ )
297
300
  this.breakControl()
298
301
  },
299
302
  async 'onetomanyupdate' (index, rowIndex) {
@@ -306,12 +309,20 @@
306
309
  `${this.$androidUtil.getProxyUrl()}/rs/entity/${this.show_data.onetomany[index].tables[0]}`,
307
310
  data
308
311
  )
309
-
312
+ res = await this.$resetpost(
313
+ `${this.$androidUtil.getProxyUrl()}/rs/entity/t_apply`,
314
+ this.show_data
315
+ )
310
316
  this.breakControl()
311
317
  },
312
318
  async 'onetomanyadd' (index) {
313
319
  let data = {
314
- f_process_id : this.show_data.f_process_id
320
+ f_process_id : this.show_data.f_process_id,
321
+ f_operator_id: Vue.user.id,
322
+ f_operator: Vue.user.name,
323
+ f_operation_date: new Date().Format('yyyy-MM-dd HH:mm:ss'),
324
+ f_orgid: Vue.user.orgid,
325
+ f_orgname: Vue.user.orgs
315
326
  }
316
327
  this.show_data.onetomany[index].fields.forEach(item => {
317
328
  data[item.field] = item.value
@@ -320,6 +331,10 @@
320
331
  `${this.$androidUtil.getProxyUrl()}/rs/entity/${this.show_data.onetomany[index].tables[0]}`,
321
332
  data
322
333
  )
334
+ res = await this.$resetpost(
335
+ `${this.$androidUtil.getProxyUrl()}/rs/entity/t_apply`,
336
+ this.show_data
337
+ )
323
338
  this.breakControl()
324
339
  }
325
340
  },
@@ -152,6 +152,10 @@
152
152
  <p class="col-xs-3 text-left font"><b>报建日期:</b></p>
153
153
  <p class="col-xs-9 text-left input-font">{{ row.f_apply_date }}</p>
154
154
  </div>
155
+ <div class="col-xs-12">
156
+ <p class="col-xs-3 text-left font"><b>施工备注:</b></p>
157
+ <p class="col-xs-9 text-left input-font">{{ row.f_construction_remarks }}</p>
158
+ </div>
155
159
 
156
160
  <div class="col-xs-12 text-center">
157
161
  <button