apply-clients 3.3.32 → 3.3.36

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": "apply-clients",
3
- "version": "3.3.32",
3
+ "version": "3.3.36",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
package/src/apply.js CHANGED
@@ -84,6 +84,9 @@ export default function (filiale) {
84
84
  Vue.component('monitor-old-apply', (resolve) => { require(['./components/product/OldApply/Monitor/MonitorApply'], resolve) })
85
85
  Vue.component('old-apply-message', (resolve) => { require(['./components/product/OldApply/OldApplyMessage'], resolve) })
86
86
 
87
+ Vue.component('apply-material-detailed', (resolve) => { require(['./components/product/Material/MaterialDetailed'], resolve) })
88
+ Vue.component('apply-install-project', (resolve) => { require(['./components/product/Install/InstallProject'], resolve) })
89
+
87
90
  if (filiale) {
88
91
  let filialeComp = require(`./filiale/${filiale}/pc`).specialComp
89
92
  for (let key in filialeComp) {
@@ -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
  },