apply-clients 7.1.36-yuchuan-36 → 7.1.36-yuchuan-38

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 (23) hide show
  1. package/package.json +1 -1
  2. package/src/components/android/Process/AppServiceControl.vue +6 -9
  3. package/src/components/product/ApplyGuanXian/GuanXianExplorationSelect.vue +5 -4
  4. package/src/components/product/ApplyGuanXian/GuanXianExplorationUser.vue +4 -6
  5. package/src/components/product/Function/InstallFunction.vue +3 -4
  6. package/src/components/product/Function/InstallInfoSelect.vue +24 -21
  7. package/src/components/product/Ignition/IgnitionDispatch.vue +90 -92
  8. package/src/components/product/Ignition/IgnitionListManage.vue +21 -19
  9. package/src/components/product/List/ShowAllActivity.vue +5 -4
  10. package/src/components/product/Print/BuildOrder/buildOrderList.vue +446 -446
  11. package/src/components/product/Process/ExplorationUser.vue +5 -8
  12. package/src/components/product/Process/New1ExplorationUser.vue +6 -8
  13. package/src/components/product/Process/NewExplorationSelect.vue +5 -4
  14. package/src/components/product/Process/NewExplorationUser.vue +6 -9
  15. package/src/components/product/Process/Processes/Print/printCharge.vue +250 -250
  16. package/src/components/product/Process/Processes/Print/printGaiXianCharge.vue +244 -244
  17. package/src/components/product/Process/Processes/selectApply.vue +250 -250
  18. package/src/components/product/Process/Service/ServiceControl.vue +63 -53
  19. package/src/components/product/Stop/StopApplyList.vue +224 -224
  20. package/src/components/product/Supervisory/SupervisoryControl.vue +114 -116
  21. package/src/components/product/Supervisory/SupervisoryhCart.vue +1 -0
  22. package/src/components/product/Supervisory/YiBanSupervisoryControl.vue +111 -114
  23. package/src/components/product/Supervisory/YiBanSupervisoryList.vue +9 -9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apply-clients",
3
- "version": "7.1.36-yuchuan-36",
3
+ "version": "7.1.36-yuchuan-38",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -53,18 +53,15 @@ export default {
53
53
  async refurbish() {
54
54
  this.showview = false
55
55
  let title=this.title
56
+ let http = new HttpResetClass()
56
57
  let data = {
57
58
  workname: this.selectdata.processname
58
59
  }
59
-
60
- let res = await this.$resetpost(
61
- `${this.$androidUtil.getProxyUrl()}/rs/logic/ApplyGetConfigs`,
62
- {data: data},
63
- {resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
64
- )
65
-
66
- this.json_datas = res.data
67
-
60
+ http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/ApplyGetConfigs`, {
61
+ data
62
+ }, {resolveMsg: null, rejectMsg: null}).then((res) => {
63
+ this.json_datas = res.data
64
+ })
68
65
  let sum = 0
69
66
  let jsonData = {}
70
67
  if (!this.json_datas || !this.json_datas.activitys || this.json_datas.activitys.length === 0) {
@@ -233,10 +233,11 @@ export default {
233
233
  source: 'this.getParentByType($organization$).getChildByName($设计人员$).getChildren()',
234
234
  userid: this.$login.f.id
235
235
  }
236
-
237
- let res = await this.$resetpost(
238
- 'rs/search',
239
- {data: data},
236
+ let http = new HttpResetClass()
237
+ let res = await http.load(
238
+ 'POST',
239
+ `rs/search`,
240
+ { data: data },
240
241
  {resolveMsg: null, rejectMsg: '设计人员人员查询失败!!!'}
241
242
  )
242
243
  console.log("ces",res.data.map(item => {
@@ -50,15 +50,13 @@ export default {
50
50
  methods: {
51
51
  // 获取页面配置json文件
52
52
  async loadName () {
53
-
53
+ let http = new HttpResetClass()
54
54
  let data = {
55
55
  workname: this.selectdata.processname
56
56
  }
57
- let res = await this.$resetpost(
58
- 'rs/logic/ApplyGetConfigs',
59
- {data: data},
60
- {resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
61
- )
57
+ let res=await http.load('POST', 'rs/logic/ApplyGetConfigs', {
58
+ data
59
+ }, {resolveMsg: null, rejectMsg: null})
62
60
 
63
61
  Vue.prototype.$workflow_vue = res.data
64
62
  }
@@ -46,10 +46,9 @@
46
46
  methods: {
47
47
  // 获取功能配置
48
48
  async getConfig () {
49
- let res = await this.$resetpost(
50
- 'rs/logic/ApplyGetFunction',
51
- null,
52
- {resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
49
+ let http = new HttpResetClass()
50
+ let res = await http.load('POST', 'rs/logic/ApplyGetFunction', null,
51
+ {resolveMsg: null, rejectMsg: '流程标识获取失败!!!'}
53
52
  )
54
53
  Vue.prototype.$function_vue = res.data
55
54
  }
@@ -218,8 +218,9 @@
218
218
  </div>
219
219
  </template>
220
220
  <script>
221
- import {PagedList} from 'vue-client'
221
+ import {HttpResetClass, PagedList} from 'vue-client'
222
222
  import {isEmpty} from '../../Util'
223
+ import Vue from "vue";
223
224
  export default {
224
225
  title: '报建业务信息',
225
226
  props: ['showData'],
@@ -320,9 +321,11 @@
320
321
  },
321
322
  async applyTypeChange () {
322
323
  if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
323
- let res = await this.$resetpost('rs/logic/getDefnameByType',
324
- { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
325
- {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
324
+ let http = new HttpResetClass()
325
+ let res = await http.load('POST', 'rs/logic/getDefnameByType', {
326
+ f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type
327
+ },
328
+ {resolveMsg: null, rejectMsg: '流程标识获取失败!!!'}
326
329
  )
327
330
 
328
331
  this.defnames = [{label: '全部', value: ''}, ...res.data]
@@ -331,28 +334,28 @@
331
334
  }
332
335
  },
333
336
  async getDesigner() {
337
+ let http = new HttpResetClass()
334
338
  let data = {
335
339
  source: 'this.getParentByType($organization$).getChildByName($设计人员$).getChildren()',
336
340
  userid: this.$login.f.id
337
341
  }
338
-
339
- let res = await this.$resetpost(
340
- 'rs/search',
341
- {data: data},
342
- {resolveMsg: null, rejectMsg: '设计人员人员查询失败!!!'}
343
- )
344
- console.log("ces",res.data.map(item => {
345
- return {
346
- label: item.name,
347
- value: item.name
348
- }
349
- }))
350
- this.designerPeoples = res.data.map(item => {
351
- return {
352
- label: item.name,
353
- value: item.name
354
- }
342
+ http.load('POST', 'rs/search', {
343
+ data
344
+ }, {resolveMsg: null, rejectMsg: null}).then((res) => {
345
+ console.log("ces",res.data.map(item => {
346
+ return {
347
+ label: item.name,
348
+ value: item.name
349
+ }
350
+ }))
351
+ this.designerPeoples = res.data.map(item => {
352
+ return {
353
+ label: item.name,
354
+ value: item.name
355
+ }
356
+ })
355
357
  })
358
+
356
359
  },
357
360
  clear () {
358
361
  Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
@@ -1,92 +1,90 @@
1
- <template>
2
- <div class="flex-row">
3
- <div class="basic-main">
4
- <div :class="showData ? 'top' : 'auto'" v-if="!showtotal">
5
- <ignition-list v-ref:query :show-data="showData"></ignition-list>
6
- </div>
7
- <div v-if="showtotal">
8
- <div class="top">
9
- <ignition-list-manage :show-data="selectdata" :node-snapshot="true"></ignition-list-manage>
10
- </div>
11
- </div>
12
- </div>
13
- </div>
14
-
15
- </template>
16
- <script>
17
- import Vue from 'vue'
18
- import {HttpResetClass} from 'vue-client'
19
- export default {
20
- title: '点火派单列表',
21
- data () {
22
- return {
23
- showtotal: false, // 控制详细信息显示
24
- showData: true,
25
- selectdata: {},
26
- xmlname: '' // 配置文件名称
27
- }
28
- },
29
- created () {
30
- },
31
- methods: {
32
- // 获取页面配置json文件
33
- async loadName () {
34
- let data = {
35
- workname: this.selectdata.processname
36
- }
37
-
38
- let res = await this.$resetpost(
39
- 'rs/logic/ApplyGetConfigs',
40
- {data: data},
41
- {resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
42
- )
43
-
44
- Vue.prototype.$workflow_vue = res.data
45
- }
46
- },
47
- events: {
48
- 'onMessage' (data) {
49
- console.log('接收消息')
50
- console.log(data)
51
- if (data.type === 'apply-task') {
52
- this.$refs.queryuser.$refs.cp.$refs.cri.search()
53
- }
54
- },
55
- async 'apply' (val) {
56
- this.selectdata = val
57
- this.showtotal = false
58
-
59
- // 获取配置文件
60
- await this.loadName()
61
-
62
- this.$refs.query.$refs.cp.pager = false
63
- this.showData = false
64
-
65
- this.showtotal = true
66
- },
67
- 'search' () {
68
- // 关闭详细
69
- this.showtotal = false
70
- // 显示列表数据
71
- this.showData = true
72
- // 显示分页
73
- this.$refs.query.$refs.cp.pager = true
74
- // 调用查询
75
- this.$refs.query.$refs.cp.$refs.cri.search()
76
- },
77
- 'loadPage' () {
78
- // 关闭详细
79
- this.showtotal = false
80
- // 显示列表数据
81
- this.showData = true
82
- // 显示分页
83
- this.$refs.query.$refs.cp.pager = true
84
- // 调用查询
85
- this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
86
- }
87
- },
88
-
89
- watch: {
90
- }
91
- }
92
- </script>
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main">
4
+ <div :class="showData ? 'top' : 'auto'" v-if="!showtotal">
5
+ <ignition-list v-ref:query :show-data="showData"></ignition-list>
6
+ </div>
7
+ <div v-if="showtotal">
8
+ <div class="top">
9
+ <ignition-list-manage :show-data="selectdata" :node-snapshot="true"></ignition-list-manage>
10
+ </div>
11
+ </div>
12
+ </div>
13
+ </div>
14
+
15
+ </template>
16
+ <script>
17
+ import Vue from 'vue'
18
+ import {HttpResetClass} from 'vue-client'
19
+ export default {
20
+ title: '点火派单列表',
21
+ data () {
22
+ return {
23
+ showtotal: false, // 控制详细信息显示
24
+ showData: true,
25
+ selectdata: {},
26
+ xmlname: '' // 配置文件名称
27
+ }
28
+ },
29
+ created () {
30
+ },
31
+ methods: {
32
+ // 获取页面配置json文件
33
+ async loadName () {
34
+ let http = new HttpResetClass()
35
+ let data = {
36
+ workname: this.selectdata.processname
37
+ }
38
+ let res= await http.load('POST', 'rs/logic/ApplyGetConfigs', {
39
+ data
40
+ }, {resolveMsg: null, rejectMsg: null})
41
+
42
+ Vue.prototype.$workflow_vue = res.data
43
+ }
44
+ },
45
+ events: {
46
+ 'onMessage' (data) {
47
+ console.log('接收消息')
48
+ console.log(data)
49
+ if (data.type === 'apply-task') {
50
+ this.$refs.queryuser.$refs.cp.$refs.cri.search()
51
+ }
52
+ },
53
+ async 'apply' (val) {
54
+ this.selectdata = val
55
+ this.showtotal = false
56
+
57
+ // 获取配置文件
58
+ await this.loadName()
59
+
60
+ this.$refs.query.$refs.cp.pager = false
61
+ this.showData = false
62
+
63
+ this.showtotal = true
64
+ },
65
+ 'search' () {
66
+ // 关闭详细
67
+ this.showtotal = false
68
+ // 显示列表数据
69
+ this.showData = true
70
+ // 显示分页
71
+ this.$refs.query.$refs.cp.pager = true
72
+ // 调用查询
73
+ this.$refs.query.$refs.cp.$refs.cri.search()
74
+ },
75
+ 'loadPage' () {
76
+ // 关闭详细
77
+ this.showtotal = false
78
+ // 显示列表数据
79
+ this.showData = true
80
+ // 显示分页
81
+ this.$refs.query.$refs.cp.pager = true
82
+ // 调用查询
83
+ this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
84
+ }
85
+ },
86
+
87
+ watch: {
88
+ }
89
+ }
90
+ </script>
@@ -420,7 +420,7 @@
420
420
  </template>
421
421
 
422
422
  <script>
423
- import { PagedList } from "vue-client";
423
+ import {HttpResetClass, PagedList} from "vue-client";
424
424
 
425
425
  export default {
426
426
  title: "点火派单",
@@ -515,13 +515,13 @@ export default {
515
515
  ignitionOperator: this.operator,
516
516
  f_shared_dispatch: this.f_shared_dispatch,
517
517
  };
518
-
519
- let res = await this.$resetpost(
520
- "rs/logic/batchDispatchGas",
521
- { data: data },
522
- { resolveMsg: null, rejectMsg: "批量派单失败!!!" }
523
- );
524
-
518
+ let http = new HttpResetClass()
519
+ let res = await http.load(
520
+ 'POST',
521
+ `rs/logic/batchDispatchGas`,
522
+ {data: data},
523
+ {resolveMsg: null, rejectMsg: '批量派单失败!!!'}
524
+ )
525
525
  this.closeModal("details");
526
526
  this.search();
527
527
  } else {
@@ -529,11 +529,13 @@ export default {
529
529
  }
530
530
  },
531
531
  async getsliceareas() {
532
- let res = await this.$resetpost(
533
- "rs/logic/getsliceareas",
534
- { data: null },
535
- { resolveMsg: null, rejectMsg: "获取片区失败!!!" }
536
- );
532
+ let http = new HttpResetClass()
533
+ let res = await http.load(
534
+ 'POST',
535
+ `rs/logic/getsliceareas`,
536
+ {data: null},
537
+ {resolveMsg: null, rejectMsg: '获取片区失败!!!'}
538
+ )
537
539
  this.sliceareas = [{ label: "全部", value: "" }, ...res.data];
538
540
  },
539
541
  async openOperatorModal() {
@@ -554,13 +556,13 @@ export default {
554
556
  source: this.source,
555
557
  userid: this.$login.f.id,
556
558
  };
557
-
558
- let res = await this.$resetpost(
559
- "rs/search",
559
+ let http = new HttpResetClass()
560
+ let res = await http.load(
561
+ 'POST',
562
+ `rs/search`,
560
563
  { data: data },
561
- { resolveMsg: null, rejectMsg: "点火人员查询失败!!!" }
562
- );
563
-
564
+ {resolveMsg: null, rejectMsg: '点火人员查询失败!!!'}
565
+ )
564
566
  this.operatorList = res.data.map((item) => {
565
567
  return {
566
568
  label: item.name,
@@ -364,7 +364,7 @@
364
364
  </template>
365
365
 
366
366
  <script>
367
- import {PagedList} from 'vue-client'
367
+ import {HttpResetClass, PagedList} from 'vue-client'
368
368
  import {isEmpty} from "../../Util";
369
369
 
370
370
 
@@ -502,9 +502,10 @@ export default {
502
502
  },
503
503
  async applyTypeChange () {
504
504
  if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
505
- let res = await this.$resetpost('rs/logic/getDefnameByType',
506
- { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
507
- {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
505
+ let http = new HttpResetClass()
506
+ let res = await http.load('POST', 'rs/logic/getDefnameByType', {
507
+ f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type},
508
+ {resolveMsg: null, rejectMsg: '流程标识获取失败!!!'}
508
509
  )
509
510
  this.defnames = [{label: '全部', value: ''}, ...res.data]
510
511
  } else {