apply-clients 3.0.7-152 → 3.0.7-154

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.0.7-152",
3
+ "version": "3.0.7-154",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
package/src/apply.js CHANGED
@@ -143,13 +143,15 @@ export default function () {
143
143
  Vue.component('supervisory-list', (resolve) => { require(['./components/product/Supervisory/SupervisoryList'], resolve) })
144
144
  Vue.component('supervisory-chart', (resolve) => { require(['./components/product/Supervisory/SupervisoryhCart'], resolve) })
145
145
  Vue.component('supervisory-baseinfo', (resolve) => { require(['./components/product/Supervisory/SupervisoryBaseInfo'], resolve) })
146
+
147
+ Vue.component('select-apply', (resolve) => { require(['./components/product/Supervisory/SelectApply'], resolve) })
146
148
  // 业务tab(control层)页
147
149
  Vue.component('supervisory-service-control', (resolve) => { require(['./components/product/Supervisory/Service/SupervisoryServiceControl'], resolve) })
148
150
  // 汇总查询入口 src/components/product/Statistics/ApplyStatisticsROOT.vue
149
151
  Vue.component('apply-statistics-root', (resolve) => { require(['./components/product/Statistics/ApplyStatisticsROOT'], resolve) })
150
152
  /** 报建退费记录 **/
151
- Vue.component('apply-return-charge-search', (resolve) => { require(['./components/product/Function/returnpremium/ApplyReturnChargeSearch'], resolve) })
152
- Vue.component('apply-return-charge-list', (resolve) => { require(['./components/product/Function/returnpremium/ApplyReturnChargeList'], resolve) })
153
+ // Vue.component('apply-return-charge-search', (resolve) => { require(['./components/product/Function/returnpremium/ApplyReturnChargeSearch'], resolve) })
154
+ // Vue.component('apply-return-charge-list', (resolve) => { require(['./components/product/Function/returnpremium/ApplyReturnChargeList'], resolve) })
153
155
 
154
156
  /** VueUtils **/
155
157
  Vue.component('apply-upload', (resolve) => { require(['./components/product/VueUtils/ApplyUpload'], resolve) })
@@ -97,6 +97,9 @@
97
97
  <button class="btn btn-primary btn-sm col-sm-1" style="margin-right: 20px" type="button" @click="$parent.$parent.addactive(6)">
98
98
  <span class="glyphicon glyphicon-plus" ></span>市政工程报装申请
99
99
  </button>
100
+ <button class="btn btn-primary btn-sm col-sm-1" style="margin-right: 20px" type="button" @click="$parent.$parent.addactive(7)">
101
+ <span class="glyphicon glyphicon-plus" ></span>报装退费流程申请
102
+ </button>
100
103
  <a type="button" class="btn btn-primary btn-sm col-sm-1"
101
104
  href="applyinstall/excel/民现户报装模板.xlsx" style="margin-right: 20px" download>模板下载</a>
102
105
  <button class="btn btn-primary btn-sm col-sm-1" style="margin-right: 20px" type="button"
@@ -330,7 +333,10 @@
330
333
  if (this.$refs.cp.$refs.cri.model.f_is_project === '否') {
331
334
  args.condition = `${args.condition} and pu.f_parent_process_id is null `
332
335
  }
333
-
336
+ if(this.$appdata.getSingleValue("查询部门发起报建")==='是'){
337
+ console.log(this.$login.f.f_department_name)
338
+ args.condition = `${args.condition} and u.f_apply_department=${this.$login.f.f_department_name} or u.f_apply_department is null`
339
+ }
334
340
 
335
341
  this.model.search(args.condition, args.model)
336
342
  },
@@ -443,6 +449,16 @@
443
449
  this.startname = '工程发起'
444
450
  this.f_project_type = '红线外工程'
445
451
  }
452
+ if (modify === 7) {
453
+ if (!(this.$login.f.deps === '市场发展部' || this.$login.f.deps === '成山供气部')) {
454
+ this.$showMessage("只能由市场发展部或成山供气部受理")
455
+ return
456
+ }
457
+ this.urlname = "报建退费流程"
458
+ this.xmlname = "报建退费流程"
459
+ this.f_apply_type = "退费"
460
+ this.startname = '退费发起'
461
+ }
446
462
  this.loadName()
447
463
 
448
464
 
@@ -452,6 +468,8 @@
452
468
  let val = {
453
469
  defname: this.startname,
454
470
  f_process_id: res.data.f_process_id,
471
+ f_parent_process_id:this.f_parent_process_id,
472
+ f_sub_state:this.f_sub_state,
455
473
  f_apply_date: Util.toStandardTimeString(),
456
474
  f_apply_num: this.generateUUID(),
457
475
  f_apply_operator_telephone: this.$login.f.f_fgsdianhua,
@@ -1,158 +1,160 @@
1
- <template>
2
- <div class="col-sm-12" style="overflow:auto;background-color: #ffffff;">
3
- <div class="tops" v-bind:style="{ height: topheight }">
4
- <exploration-select v-ref:queryuser v-show="show"></exploration-select>
5
- <modify-user-files v-ref:modifyuser v-show="!show"></modify-user-files>
6
- </div>
7
- <div v-show="showtotal" v-bind:style="{ height: botheight ,'position': 'relative', 'top': '110px', 'background-color' : '#f6f6f6' ,padding:'12px'}">
8
- <div class="col-sm-10">
9
- <tabset v-ref:tabs :close="false">
10
- <tab :header='header' style="background-color :#f6f6f6;overflow: auto;">
11
- <service-control v-ref:service :selectdata="selectdata"></service-control>
12
- </tab>
13
- <tab header='附件'>
14
- <apply-upload v-ref:file
15
- :blodid="selectdata.f_process_id"
16
- :isupload = "true"
17
- :isdelete="true"
18
- :isusetype="true"
19
- :isremark = "true"
20
- :takeimg="false"
21
- :issearch="true"
22
- :defname="selectdata.defname">
23
- </apply-upload>
24
- </tab>
25
- </tabset>
26
- </div>
27
- <div class="col-sm-2" style="overflow:auto;" v-show="showbasic" >
28
- <history_control v-ref:binfo :selectdata="selectdata" ></history_control>
29
- </div>
30
- </div>
31
- </div>
32
- </template>
33
- <script>
34
- import Vue from 'vue'
35
- import {HttpResetClass} from 'vue-client'
36
- export default {
37
- title: '报建流程',
38
- data() {
39
- return {
40
- flagg: false,
41
- show: true,
42
- showbasic: false,
43
- showtotal: false,
44
- header: null,
45
- selectdata: {},
46
- botheight: '0%',
47
- topheight: '100%',
48
- tittle1: '户档案管理',
49
- tittle2: '表档案管理',
50
- tittle3: '设备管理',
51
- xmlname: ''
52
- }
53
- },
54
- created(){
55
- },
56
- events: {
57
- 'onMessage' (data) {
58
- console.log('接收消息')
59
- console.log(data)
60
- if (data.type === 'apply-task') {
61
- this.$refs.queryuser.$refs.cp.$refs.cri.search()
62
- this.$refs.file.load()
63
- }
64
- },
65
- 'addactive' () {
66
- //this.$refs.queryuser.$refs.cp.$refs.cri.search()
67
- this.hidden()
68
- this.showbasic = true
69
- this.topheight = '8%'
70
- this.botheight = '88.9%'
71
- },
72
- 'changeheight'() {
73
- this.show = true
74
- this.botheight = '0%'
75
- },
76
- 'check' (val) {
77
- this.selectdata = null
78
- this.selectdata = val
79
- if (this.selectdata.f_apply_type === '工业户' || this.selectdata.f_apply_type === '商业户') {
80
- this.xmlname = '工商户报建流程'
81
- } else if (this.selectdata.f_apply_type === '民建户') {
82
- this.xmlname = '民建户报建流程'
83
- } else if (this.selectdata.f_apply_type === '民现户') {
84
- this.xmlname = '民现户报建流程'
85
- } else if (this.selectdata.f_apply_type === '改造工程') {
86
- this.xmlname = '改造报建流程'
87
- } else if (this.selectdata.f_apply_type === '市政工程') {
88
- this.xmlname = '市政报建流程'
89
- } else {
90
- this.xmlname = this.selectdata.type + '报建流程'
91
- }
92
- let xmldata = {
93
- data: this.$login.f,
94
- workname: this.xmlname
95
- }
96
- let http = new HttpResetClass()
97
- http.load('POST', 'rs/logic/ApplyGetConfigs', {data: xmldata}, {resolveMsg: null, rejectMsg: null}
98
- ).then((res) => {
99
- if (res.data.code && res.data.code === 200) {
100
- Vue.workflow_vue = Vue.prototype.$workflow_vue = res.data.workflow_vue
101
- if (res.data.msg) {
102
- console.log('获取配置文件信息:', res.data.msg)
103
- }
104
- this.topheight = '8%'
105
- this.botheight = '88.9%'
106
- // this.$refs.queryuser.$refs.cp.$refs.grid.model.rows = [val]
107
- this.$refs.queryuser.$refs.cp.pager = false
108
- this.showbasic = true
109
- this.header = val.defname
110
- this.hidden()
111
- this.$refs.service.refurbish(val)
112
- } else {
113
- this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
114
- return
115
- }
116
- })
117
- },
118
- 'selfsearch'() {
119
- this.$refs.queryuser.$refs.cp.$refs.cri.search()
120
- },
121
- 'close'() {
122
- this.showtotal = false
123
- this.topheight = '100%'
124
- this.botheight = '0%'
125
- this.$refs.queryuser.$refs.cp.pager = true
126
- this.$refs.queryuser.$refs.cp.$refs.cri.search()
127
- },
128
- 'cancelmain'() {
129
- this.showtotal = false
130
- this.topheight = '100%'
131
- this.botheight = '0%'
132
- /* this.$refs.queryuser.$refs.cp.loadPage()*/
133
- this.$refs.queryuser.$refs.cp.pager = true
134
- this.$refs.queryuser.model.loadPage(this.$refs.queryuser.model.pageIndex)
135
- }
136
- },
137
- methods: {
138
- hidden() {
139
- this.showtotal = true
140
- },
141
- close() {
142
- this.hidden()
143
- this.topheight = '100%'
144
- this.botheight = '0%'
145
- }
146
- },
147
- watch: {
148
- 'selectdata'(val) {
149
- console.log('selectdata:', val)
150
- },
151
- 'selectdata.f_customer_type'() {
152
- if (this.selectdata.f_customer_type == '企业') {
153
- this.flagg = true
154
- }
155
- }
156
- }
157
- }
158
- </script>
1
+ <template>
2
+ <div class="col-sm-12" style="overflow:auto;background-color: #ffffff;">
3
+ <div class="tops" v-bind:style="{ height: topheight }">
4
+ <exploration-select v-ref:queryuser v-show="show"></exploration-select>
5
+ <modify-user-files v-ref:modifyuser v-show="!show"></modify-user-files>
6
+ </div>
7
+ <div v-show="showtotal" v-bind:style="{ height: botheight ,'position': 'relative', 'top': '110px', 'background-color' : '#f6f6f6' ,padding:'12px'}">
8
+ <div class="col-sm-10">
9
+ <tabset v-ref:tabs :close="false">
10
+ <tab :header='header' style="background-color :#f6f6f6;overflow: auto;">
11
+ <service-control v-ref:service :selectdata="selectdata"></service-control>
12
+ </tab>
13
+ <tab header='附件'>
14
+ <apply-upload v-ref:file
15
+ :blodid="selectdata.f_process_id"
16
+ :isupload = "true"
17
+ :isdelete="true"
18
+ :isusetype="true"
19
+ :isremark = "true"
20
+ :takeimg="false"
21
+ :issearch="true"
22
+ :defname="selectdata.defname">
23
+ </apply-upload>
24
+ </tab>
25
+ </tabset>
26
+ </div>
27
+ <div class="col-sm-2" style="overflow:auto;" v-show="showbasic" >
28
+ <history_control v-ref:binfo :selectdata="selectdata" ></history_control>
29
+ </div>
30
+ </div>
31
+ </div>
32
+ </template>
33
+ <script>
34
+ import Vue from 'vue'
35
+ import {HttpResetClass} from 'vue-client'
36
+ export default {
37
+ title: '报建流程',
38
+ data() {
39
+ return {
40
+ flagg: false,
41
+ show: true,
42
+ showbasic: false,
43
+ showtotal: false,
44
+ header: null,
45
+ selectdata: {},
46
+ botheight: '0%',
47
+ topheight: '100%',
48
+ tittle1: '户档案管理',
49
+ tittle2: '表档案管理',
50
+ tittle3: '设备管理',
51
+ xmlname: ''
52
+ }
53
+ },
54
+ created(){
55
+ },
56
+ events: {
57
+ 'onMessage' (data) {
58
+ console.log('接收消息')
59
+ console.log(data)
60
+ if (data.type === 'apply-task') {
61
+ this.$refs.queryuser.$refs.cp.$refs.cri.search()
62
+ this.$refs.file.load()
63
+ }
64
+ },
65
+ 'addactive' () {
66
+ //this.$refs.queryuser.$refs.cp.$refs.cri.search()
67
+ this.hidden()
68
+ this.showbasic = true
69
+ this.topheight = '8%'
70
+ this.botheight = '88.9%'
71
+ },
72
+ 'changeheight'() {
73
+ this.show = true
74
+ this.botheight = '0%'
75
+ },
76
+ 'check' (val) {
77
+ this.selectdata = null
78
+ this.selectdata = val
79
+ if (this.selectdata.f_apply_type === '工业户' || this.selectdata.f_apply_type === '商业户') {
80
+ this.xmlname = '工商户报建流程'
81
+ } else if (this.selectdata.f_apply_type === '民建户') {
82
+ this.xmlname = '民建户报建流程'
83
+ } else if (this.selectdata.f_apply_type === '民现户') {
84
+ this.xmlname = '民现户报建流程'
85
+ } else if (this.selectdata.f_apply_type === '改造工程') {
86
+ this.xmlname = '改造报建流程'
87
+ } else if (this.selectdata.f_apply_type === '市政工程') {
88
+ this.xmlname = '市政报建流程'
89
+ } else if (this.selectdata.f_apply_type === '退费') {
90
+ this.xmlname = '报建退费流程'
91
+ } else {
92
+ this.xmlname = this.selectdata.type + '报建流程'
93
+ }
94
+ let xmldata = {
95
+ data: this.$login.f,
96
+ workname: this.xmlname
97
+ }
98
+ let http = new HttpResetClass()
99
+ http.load('POST', 'rs/logic/ApplyGetConfigs', {data: xmldata}, {resolveMsg: null, rejectMsg: null}
100
+ ).then((res) => {
101
+ if (res.data.code && res.data.code === 200) {
102
+ Vue.workflow_vue = Vue.prototype.$workflow_vue = res.data.workflow_vue
103
+ if (res.data.msg) {
104
+ console.log('获取配置文件信息:', res.data.msg)
105
+ }
106
+ this.topheight = '8%'
107
+ this.botheight = '88.9%'
108
+ // this.$refs.queryuser.$refs.cp.$refs.grid.model.rows = [val]
109
+ this.$refs.queryuser.$refs.cp.pager = false
110
+ this.showbasic = true
111
+ this.header = val.defname
112
+ this.hidden()
113
+ this.$refs.service.refurbish(val)
114
+ } else {
115
+ this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
116
+ return
117
+ }
118
+ })
119
+ },
120
+ 'selfsearch'() {
121
+ this.$refs.queryuser.$refs.cp.$refs.cri.search()
122
+ },
123
+ 'close'() {
124
+ this.showtotal = false
125
+ this.topheight = '100%'
126
+ this.botheight = '0%'
127
+ this.$refs.queryuser.$refs.cp.pager = true
128
+ this.$refs.queryuser.$refs.cp.$refs.cri.search()
129
+ },
130
+ 'cancelmain'() {
131
+ this.showtotal = false
132
+ this.topheight = '100%'
133
+ this.botheight = '0%'
134
+ /* this.$refs.queryuser.$refs.cp.loadPage()*/
135
+ this.$refs.queryuser.$refs.cp.pager = true
136
+ this.$refs.queryuser.model.loadPage(this.$refs.queryuser.model.pageIndex)
137
+ }
138
+ },
139
+ methods: {
140
+ hidden() {
141
+ this.showtotal = true
142
+ },
143
+ close() {
144
+ this.hidden()
145
+ this.topheight = '100%'
146
+ this.botheight = '0%'
147
+ }
148
+ },
149
+ watch: {
150
+ 'selectdata'(val) {
151
+ console.log('selectdata:', val)
152
+ },
153
+ 'selectdata.f_customer_type'() {
154
+ if (this.selectdata.f_customer_type == '企业') {
155
+ this.flagg = true
156
+ }
157
+ }
158
+ }
159
+ }
160
+ </script>