apply-clients 5.0.35-2 → 5.0.35-20

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 (56) hide show
  1. package/.eslintrc.js +16 -16
  2. package/package.json +2 -2
  3. package/src/android.js +18 -18
  4. package/src/apply.js +2 -0
  5. package/src/assets//347/224/250/346/210/267/345/234/260/345/235/200.png +0 -0
  6. package/src/assets//347/224/250/346/210/267/345/247/223/345/220/215.png +0 -0
  7. package/src/assets//347/224/250/346/210/267/347/224/265/350/257/235.png +0 -0
  8. package/src/components/app_apply/ApplyDownList.vue +9 -5
  9. package/src/components/app_apply/ApplyInfo.vue +56 -56
  10. package/src/components/app_apply/ApplyListUpload.vue +1 -1
  11. package/src/components/app_apply/ApplyToDoList.vue +2690 -51
  12. package/src/components/app_apply/PlaceControler.vue +217 -186
  13. package/src/components/app_apply/ServiceControl.vue +18 -5
  14. package/src/components/app_apply/ServiceView.vue +2 -2
  15. package/src/components/app_apply/ezhou/ServiceView.vue +336 -195
  16. package/src/components/product/Function/functions/InstallFee.vue +500 -339
  17. package/src/components/product/Process/ExplorationSelect.vue +2 -2
  18. package/src/components/product/Process/Processes/CustomerRecordMessage.vue +2 -5
  19. package/src/components/product/Process/Processes/Service/ApplyChargeSearch.vue +25 -27
  20. package/src/components/product/Process/Processes/Service/PaperTicketBill.vue +85 -0
  21. package/src/components/product/ServiceView.vue +1 -1
  22. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +6 -5
  23. package/src/components/product/Supervisory/SupervisoryList.vue +1 -1
  24. package/src/ezhouAndroid.js +44 -45
  25. package/src/main.js +32 -32
  26. package/src/plugins/commonService.js +11 -7
  27. package/static/newStyle/clear.png +0 -0
  28. package/static/newStyle/fife.png +0 -0
  29. package/static/newStyle/hidden.png +0 -0
  30. package/static/newStyle/label-clear.png +0 -0
  31. package/static/newStyle/left-img.png +0 -0
  32. package/static/newStyle/list_ok.png +0 -0
  33. package/static/newStyle/login-check.png +0 -0
  34. package/static/newStyle/login-con.png +0 -0
  35. package/static/newStyle/login-do.gif +0 -0
  36. package/static/newStyle/login-f.png +0 -0
  37. package/static/newStyle/login-info.png +0 -0
  38. package/static/newStyle/login-left.png +0 -0
  39. package/static/newStyle/login-org.png +0 -0
  40. package/static/newStyle/login-pwd.png +0 -0
  41. package/static/newStyle/login-user.png +0 -0
  42. package/static/newStyle/loginbg.gif +0 -0
  43. package/static/newStyle/loginbg1280.gif +0 -0
  44. package/static/newStyle/loginbg1366.gif +0 -0
  45. package/static/newStyle/loginbg_1.gif +0 -0
  46. package/static/newStyle/searchin.png +0 -0
  47. package/static/newStyle/searchout.png +0 -0
  48. package/static/newStyle/setting.png +0 -0
  49. package/static/newStyle/setting1.png +0 -0
  50. package/static/newStyle/shirk.png +0 -0
  51. package/static/newStyle/stretch_bottom.png +0 -0
  52. package/static/newStyle/stretch_left.png +0 -0
  53. package/static/newStyle/stretch_right.png +0 -0
  54. package/static/newStyle/stretch_top.png +0 -0
  55. package/static/newStyle/system-off.png +0 -0
  56. package/static/newStyle//350/261/252/344/275/263/347/207/203/346/260/224.png +0 -0
@@ -1,9 +1,9 @@
1
1
  <template>
2
2
  <!--<div class="app-botton" @click="back()">-->
3
- <!--<span class="glyphicon glyphicon-menu-left">返回</span>-->
3
+ <!--<span class="glyphicon glyphicon-menu-left">返回</span>-->
4
4
  <!--</div>-->
5
- <!-- <back-page :need-back='true' @flag="back()"></back-page>-->
6
- <div class="no-close row android-repair-order" style="background-color: #ffffff">
5
+ <!-- <back-page :need-back='true' @flag="back()"></back-page>-->
6
+ <div class="no-close row" style="background-color: #ffffff">
7
7
  <div class="col-sm-12 col-xs-12" >
8
8
  <ul class="nav nav-tabs" style="background:#ffffff;">
9
9
  <div>
@@ -33,224 +33,255 @@
33
33
  </template>
34
34
 
35
35
  <script>
36
- import ApplyUserInfo from "./ApplyUserInfo";
37
- import ApplyInfo from "./ApplyInfo";
38
- // import FieldExploration from "./FieldExploration";
39
- // import Ventilation from "./Ventilation";
40
- // import Acceptance from "./Acceptance";
41
- import ServiceControl from "./ServiceControl";
36
+ import ApplyUserInfo from "./ApplyUserInfo";
37
+ import ApplyInfo from "./ApplyInfo";
38
+ // import FieldExploration from "./FieldExploration";
39
+ // import Ventilation from "./Ventilation";
40
+ // import Acceptance from "./Acceptance";
41
+ import ServiceControl from "./ServiceControl";
42
42
 
43
- export default {
44
- title: '报建代办详情',
45
- props: {
46
- //分辨平板还是pc
47
- system: '',
48
- // 要处理的工单
49
- row: {
50
- type: Object
51
- },
52
- // 要显示的维修单
53
- apply: {
54
- type: Object
55
- },
56
- // 是否是显示
57
- show: {
58
- type: Boolean,
59
- default: false
60
- }
43
+ export default {
44
+ title: '报建代办详情',
45
+ props: {
46
+ //分辨平板还是pc
47
+ system: '',
48
+ // 要处理的工单
49
+ row: {
50
+ type: Object
61
51
  },
62
-
63
-
64
- data() {
65
- return {
66
- routeShow:true,
67
- number:0,
68
- // shupingshow:false,
69
- pipeline: {},
70
- componentName: 'apply-user-info',
71
- tabs: {
72
- // 参数全部设置成空,在ready时,等model处理好了,再添加
73
- 'apply-user-info': {
74
- header: '基本信息', class: 'apply-user-info-class', props: null
75
- },
76
- 'apply-info': {
77
- header: '流程信息', class: 'apply-info-class', props: null
78
- },
79
- 'apply-defame-work': {
80
- header: null, class: 'apply-info-class', props: null
81
- }
82
- },
83
- // actName: this.$appdata.getParam('用气类型'), // 报建app需提取的流程名称
84
- faultshow: 8 // 控制 故障汇总 在 菜单里显示与否
85
- }
52
+ // 要显示的维修单
53
+ apply: {
54
+ type: Object
86
55
  },
56
+ // 是否是显示
57
+ show: {
58
+ type: Boolean,
59
+ default: false
60
+ }
61
+ },
87
62
 
88
- methods: {
89
- imgback(val){
90
- if(val && this.routeShow){
91
- return require('../../assets/xiangxia1.png')
92
- }else{
93
- return require('../../assets/xiangyou1.png')
94
- }
63
+
64
+ data() {
65
+ return {
66
+ show_data: {
67
+ ppp:{}
95
68
  },
96
- back () {
97
- let _this = this
98
- this.$showMessage('您是否确认返回', ['confirm', 'cancel']).then((res) => {
99
- if (res === 'confirm') {
100
- _this.$back()
101
- }
102
- })
69
+ routeShow:true,
70
+ model:{
71
+ button:{
72
+ button_name:null,
73
+ button_index:null
74
+ },
75
+ f_filiale:null,
76
+ f_parentname:null,
77
+ f_operate_date:null,
78
+ f_operator:null,
79
+ f_hege:false
103
80
  },
104
- // 选择tab
105
- tabSelect (name,number) {
106
- this.number = number
107
- this.tabs[name].props = null
108
- // 处理关闭/显示 内容
109
- if(this.componentName == name && !this.routeShow ){
110
- this.routeShow = true
111
- }else if(this.componentName == name && this.routeShow){
112
- this.routeShow = false
113
- }else if(this.componentName != name){
114
- this.routeShow = true
115
- }
116
- this.componentName = name
117
- console.log('name=>' + name)
118
- if(name == 'apply-user-info' || name == 'apply-info'){
119
- this.tabs[name].props = {service: this.row, shutype: 'shu'}
120
- }else{
121
- this.row.defname = this.row.f_order_type
122
- // this.row.fields = new Array()
123
- // this.row.buttons = new Array()
124
- this.tabs[name].props = {selectdata: this.row}
125
- console.log("将去往第三个界面")
126
- console.log("这就是我要的selectdata"+JSON.stringify(this.row))
81
+ number:0,
82
+ // shupingshow:false,
83
+ pipeline: {},
84
+ componentName: 'apply-user-info',
85
+ tabs: {
86
+ // 参数全部设置成空,在ready时,等model处理好了,再添加
87
+ 'apply-user-info': {
88
+ header: '基本信息', class: 'apply-user-info-class', props: null
89
+ },
90
+ 'apply-info': {
91
+ header: '流程信息', class: 'apply-info-class', props: null
92
+ },
93
+ 'apply-defame-work': {
94
+ header: null, class: 'apply-info-class', props: null
127
95
  }
128
- console.log('即将goto=>' + name + ',props:' + JSON.stringify(this.tabs[name].props))
129
- this.$goto(name, this.tabs[name].props, 'apply')
130
- // this.shupingshow = true
131
96
  },
132
- setProps() {
133
- // 给各自组件添加参数
134
- this.tabs['apply-user-info'].props = {service: this.row, shutype: 'shu'}
135
- // this.tabs['apply-info'].props = {service: this.row, shutype: 'shu'}
136
- // this.tabs['apply-defame-work'].props = {model: this.row, shutype: 'shu'}
97
+ // actName: this.$appdata.getParam('用气类型'), // 报建app需提取的流程名称
98
+ faultshow: 8 // 控制 故障汇总 在 菜单里显示与否
99
+ }
100
+ },
137
101
 
138
- this.$goto('apply-user-info', this.tabs[this.componentName].props, 'apply')
139
- },
102
+ methods: {
103
+ imgback(val){
104
+ if(val && this.routeShow){
105
+ return require('../../assets/xiangxia1.png')
106
+ }else{
107
+ return require('../../assets/xiangyou1.png')
108
+ }
109
+ },
110
+ back () {
111
+ let _this = this
112
+ this.$showMessage('您是否确认返回', ['confirm', 'cancel']).then((res) => {
113
+ if (res === 'confirm') {
114
+ _this.$back()
115
+ }
116
+ })
140
117
  },
141
- ready () {
142
- var keyName = 'apply-defame-work'
143
- var valueHeader = this.row.f_order_type
144
- var value = {
145
- header:valueHeader,
146
- class: 'apply-info-class',
147
- props: null
118
+ // 选择tab
119
+ tabSelect (name,number) {
120
+ this.number = number
121
+ this.tabs[name].props = null
122
+ // 处理关闭/显示 内容
123
+ if(this.componentName == name && !this.routeShow ){
124
+ this.routeShow = true
125
+ }else if(this.componentName == name && this.routeShow){
126
+ this.routeShow = false
127
+ }else if(this.componentName != name){
128
+ this.routeShow = true
148
129
  }
149
- this.tabs[keyName] = value
150
- console.log( 'this.number=>' + this.number)
151
- // this.$set('tabs.' + keyName ,value)
152
- this.setProps()
130
+ this.componentName = name
131
+ console.log('name=>' + name)
132
+ if(name == 'apply-user-info' || name == 'apply-info'){
133
+ this.tabs[name].props = {service: this.row, shutype: 'shu'}
134
+ }else{
135
+ this.row.defname = this.row.defname
136
+ // this.row.fields = new Array()
137
+ // this.row.buttons = new Array()
138
+ this.tabs[name].props = {selectdata: this.row,show_data:this.show_data,selectmodel:this.model}
139
+ console.log("将去往第三个界面")
140
+ console.log("这就是我要的selectdata"+JSON.stringify(this.row))
141
+ }
142
+ console.log('即将goto=>' + name + ',props:' + JSON.stringify(this.tabs[name].props))
143
+ this.$goto(name, this.tabs[name].props, 'apply')
144
+ // this.shupingshow = true
153
145
  },
154
- components: {
155
- 'apply-info': ApplyInfo,
156
- 'apply-user-info':ApplyUserInfo,
157
- // 'fieldexploration': FieldExploration,
158
- // 'acceptance': Acceptance,
159
- // 'ventilation':Ventilation
160
- 'apply-defame-work': ServiceControl
146
+ setProps() {
147
+ // 给各自组件添加参数
148
+ this.tabs['apply-user-info'].props = {service: this.row, shutype: 'shu'}
149
+ // this.tabs['apply-info'].props = {service: this.row, shutype: 'shu'}
150
+ // this.tabs['apply-defame-work'].props = {model: this.row, shutype: 'shu'}
151
+
152
+ this.$goto('apply-user-info', this.tabs[this.componentName].props, 'apply')
161
153
  },
162
- events: {
163
- 'close'() {
164
- //this.$back()
165
- this.$dispatch('confirm')
154
+ },
155
+ ready () {
156
+ var keyName = 'apply-defame-work'
157
+ var valueHeader = this.row.defname
158
+ var value = {
159
+ header:valueHeader,
160
+ class: 'apply-info-class',
161
+ props: null
162
+ }
163
+ this.tabs[keyName] = value
164
+ console.log( 'this.number=>' + this.number)
165
+ // this.$set('tabs.' + keyName ,value)
166
+ this.setProps()
167
+ },
168
+ components: {
169
+ 'apply-info': ApplyInfo,
170
+ 'apply-user-info':ApplyUserInfo,
171
+ // 'fieldexploration': FieldExploration,
172
+ // 'acceptance': Acceptance,
173
+ // 'ventilation':Ventilation
174
+ 'apply-defame-work': ServiceControl
175
+ },
176
+ events: {
177
+ 'gotonewpage': function (val) {
178
+ console.log("wheregoto")
179
+ var _this = this
180
+ var pardate = {
181
+ _this: _this,
182
+ title: '合同',
183
+ safe: false
166
184
  }
185
+ _this.$dispatch('gotoson',pardate)
186
+ if (val=='民用'){
187
+ _this.$goto('minyong', {},'self')
188
+ }else if (val=='非民用1'){
189
+ _this.$goto('feiminyongv', {},'self')
190
+ }else {
191
+ _this.$goto('feiminyongvv', {},'self')
192
+ }
193
+ },
194
+ 'close'() {
195
+ //this.$back()
196
+ this.$dispatch('confirm')
167
197
  }
168
198
  }
199
+ }
169
200
  </script>
170
201
  <style lang="less">
171
- /*@import "../../../src/bootstrap/less/variables.less";*/
202
+ /*@import "../../../src/bootstrap/less/variables.less";*/
172
203
 
173
- .tab-befor-img (@url) {
174
- content: '';
175
- background-image: url("@{url}");
176
- background-size: 20px;
177
- display: inline-block;
178
- margin-right: 8px;
179
- margin-top: 0.3em;
180
- height: 1.3em;
181
- width: 1.3em;
182
- vertical-align: -35%;
183
- }
204
+ .tab-befor-img (@url) {
205
+ content: '';
206
+ background-image: url("@{url}");
207
+ background-size: 20px;
208
+ display: inline-block;
209
+ margin-right: 8px;
210
+ margin-top: 0.3em;
211
+ height: 1.3em;
212
+ width: 1.3em;
213
+ vertical-align: -35%;
214
+ }
184
215
 
185
216
 
186
- .apply-info-class {
217
+ .apply-info-class {
187
218
 
188
219
  &::before {
189
- .tab-befor-img("../../assets/baoxiuxinxi1.png");
190
- }
220
+ .tab-befor-img("../../assets/baoxiuxinxi1.png");
191
221
  }
222
+ }
192
223
 
193
- .apply-user-info-class {
224
+ .apply-user-info-class {
194
225
  &::before {
195
- .tab-befor-img("../../assets/jibenxinxi1.png")
196
- }
226
+ .tab-befor-img("../../assets/jibenxinxi1.png")
197
227
  }
228
+ }
198
229
 
199
- .field-exploration-class {
230
+ .field-exploration-class {
200
231
  &::before {
201
- .tab-befor-img("../../assets/feiyong1.png")
202
- }
232
+ .tab-befor-img("../../assets/feiyong1.png")
203
233
  }
204
- .acceptance-class {
234
+ }
235
+ .acceptance-class {
205
236
  &::before {
206
- .tab-befor-img("../../assets/feiyong1.png")
207
- }
237
+ .tab-befor-img("../../assets/feiyong1.png")
208
238
  }
209
- .ventilation-class {
239
+ }
240
+ .ventilation-class {
210
241
  &::before {
211
- .tab-befor-img("../../assets/feiyong1.png")
212
- }
242
+ .tab-befor-img("../../assets/feiyong1.png")
213
243
  }
244
+ }
214
245
 
215
- .job-upload-class {
246
+ .job-upload-class {
216
247
  &::before {
217
- .tab-befor-img("../../assets/guzhanghuizong1.png")
218
- }
219
- }
220
- .butt2 {
221
- display: inline;
222
- width: 10px;
223
- text-align: center;
224
- align-items:center;
225
- }
226
- .linesty{
227
- display: inline-block;
228
- height:1px;
229
- width:100%;
230
- background:#d0d0d0;
231
- overflow:hidden;
232
- vertical-align: middle;
233
- }
234
- .spanboder{
235
- border-bottom:2px solid #499edf;
236
- padding-bottom: 8px
237
- }
238
- .app-botton {
239
- position:fixed;
240
- background: #87b2dd;
241
- color: #FFF;
242
- padding: 8px;
243
- text-align: center;
244
- font-size: 1.2em;
245
- z-index: 10;
246
- opacity:0.5;
247
- bottom: 50px;
248
- margin-top: -10px;
249
- height: 40px;
248
+ .tab-befor-img("../../assets/guzhanghuizong1.png")
250
249
  }
251
- /*.android-apply-order > div > ul a {*/
252
- /* font-size: 12px;*/
253
- /* color: #333333;*/
254
- /* padding: 13px 16px;*/
255
- /*}*/
250
+ }
251
+ .butt2 {
252
+ display: inline;
253
+ width: 10px;
254
+ text-align: center;
255
+ align-items:center;
256
+ }
257
+ .linesty{
258
+ display: inline-block;
259
+ height:1px;
260
+ width:100%;
261
+ background:#d0d0d0;
262
+ overflow:hidden;
263
+ vertical-align: middle;
264
+ }
265
+ .spanboder{
266
+ border-bottom:2px solid #499edf;
267
+ padding-bottom: 8px
268
+ }
269
+ .app-botton {
270
+ position:fixed;
271
+ background: #87b2dd;
272
+ color: #FFF;
273
+ padding: 8px;
274
+ text-align: center;
275
+ font-size: 1.2em;
276
+ z-index: 10;
277
+ opacity:0.5;
278
+ bottom: 50px;
279
+ margin-top: -10px;
280
+ height: 40px;
281
+ }
282
+ /*.android-apply-order > div > ul a {*/
283
+ /* font-size: 12px;*/
284
+ /* color: #333333;*/
285
+ /* padding: 13px 16px;*/
286
+ /*}*/
256
287
  </style>
@@ -1,5 +1,8 @@
1
1
  <template>
2
- <service-view-app v-ref:service_show :data="show_data" v-if="showview"></service-view-app>
2
+ <div>
3
+ <work-busy :is-busy="loading"></work-busy>
4
+ <service-view-app v-ref:service_show :data.sync="show_data.ppp" :model.sync="selectmodel" v-if="showview"></service-view-app>
5
+ </div>
3
6
  </template>
4
7
  <script>
5
8
  import co from 'co'
@@ -7,15 +10,16 @@ import Vue from 'vue'
7
10
  import {HttpResetClass} from 'vue-client'
8
11
  export default {
9
12
  title: '报建流程业务控制层',
10
- props: ['selectdata'],
13
+ props: ['selectdata','selectmodel','show_data'],
11
14
  data () {
12
15
  return {
13
16
  model:'',
14
17
  delteLocal:false,
18
+ loading:false,
15
19
  data:null, // 数据库数据,json配置文件数据的数据集合
16
20
  json_datas:null, // Json配置文件集合
17
21
  showview:false, // 控制显示service-view组件
18
- show_data:null, // 给view层显示的数据
22
+ // 给view层显示的数据
19
23
  department_search:null // 当前部门下所有人
20
24
  }
21
25
  },
@@ -41,7 +45,7 @@ export default {
41
45
  // 特殊处理
42
46
  this.special(this.model)
43
47
  console.log("hhhhhhhhhhhhhhhhh7")
44
-
48
+ this.loading=false
45
49
  this.$dispatch('close')
46
50
  console.log("hhhhhhhhhhhhhhhhh8")
47
51
  this.initializtion()
@@ -210,7 +214,14 @@ export default {
210
214
  temp['back_reason'] = this.selectdata.f_back_reason
211
215
  }
212
216
  console.log('即将给show_data赋值temp=>' + JSON.stringify(temp))
213
- this.show_data = temp
217
+ console.log(JSON.stringify(this.show_data.ppp))
218
+ if (JSON.stringify(this.show_data.ppp)=='{}'){
219
+ this.show_data.ppp = temp
220
+ console.log("重新赋值")
221
+
222
+ }else{
223
+ console.log("不重新赋值")
224
+ }
214
225
  console.log('initializtion()方法结束,showview')
215
226
  this.showview = true
216
227
  },
@@ -240,6 +251,8 @@ export default {
240
251
  },
241
252
  // 获取view层button事件
242
253
  async 'button'(model){
254
+ this.loading=true
255
+
243
256
  console.log('进入async button事件方法')
244
257
  var delteLocal = true
245
258
  // 点击保存与重置按钮不需要修改本地工单状态
@@ -91,8 +91,8 @@
91
91
  <!--select-->
92
92
  <div v-if="item.type==='select'" :class="[data.fields[index].required&&!(data.fields[index].value) ? 'has-error' : '',data.fields[index].bootstraped?data.fields[index].bootstraped+' form-group':'col-sm-4 form-group']">
93
93
  <label :class="item.label_bootstraped?item.label_bootstraped+' control-label':'control-label col-sm-6'">{{item.label}}:</label>
94
- <input-select :class="item.value_bootstraped?item.value_bootstraped:'col-sm-6'" @blur ="check_disable" @change="select_change(index),disabled_check(data.fields[index].required,data.fields[index].value)" :readonly="item.readonly" :disable="item.disabled" :value.sync="data.fields[index].value" v-model="data.fields[index].value"
95
- :options='item.options' :valueSingle="true"></input-select>
94
+ <v-select :class="item.value_bootstraped?item.value_bootstraped:'col-sm-6'" @blur ="check_disable" @change="select_change(index),disabled_check(data.fields[index].required,data.fields[index].value)" :readonly="item.readonly" :disable="item.disabled" :value.sync="data.fields[index].value" v-model="data.fields[index].value"
95
+ :options='item.options' :valueSingle="true"></v-select>
96
96
 
97
97
  </div>
98
98