apply-clients 5.0.35-6 → 5.0.35-62

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 (51) hide show
  1. package/.eslintrc.js +16 -16
  2. package/package.json +3 -3
  3. package/src/AndroidApp.vue +28 -28
  4. package/src/android.js +1 -1
  5. package/src/apply.js +14 -1
  6. package/src/components/app_apply/ApplyDownList.vue +168 -164
  7. package/src/components/app_apply/ApplyInfo.vue +56 -56
  8. package/src/components/app_apply/ApplyListUpload.vue +268 -268
  9. package/src/components/app_apply/ApplyToDoList.vue +2588 -10
  10. package/src/components/app_apply/Gongcheng.vue +3614 -0
  11. package/src/components/app_apply/OneToMany.vue +194 -0
  12. package/src/components/app_apply/PlaceControler.vue +299 -256
  13. package/src/components/app_apply/ServiceControl.vue +537 -335
  14. package/src/components/app_apply/ServiceView.vue +383 -383
  15. package/src/components/app_apply/ezhou/FeiMinYongV.vue +109 -109
  16. package/src/components/app_apply/ezhou/FeiMinYongVV.vue +100 -100
  17. package/src/components/app_apply/ezhou/MinYong.vue +92 -92
  18. package/src/components/app_apply/ezhou/ServiceView.vue +790 -620
  19. package/src/components/image/doc.jpg +0 -0
  20. package/src/components/image/dwg.png +0 -0
  21. package/src/components/image/dxf.png +0 -0
  22. package/src/components/image/excel.jpg +0 -0
  23. package/src/components/image/pdf.jpg +0 -0
  24. package/src/components/product/Common/ApplyValidateBill.vue +13 -6
  25. package/src/components/product/Common/PrintBill.vue +3 -2
  26. package/src/components/product/EngineeringManagement/EngineerUpload.vue +304 -0
  27. package/src/components/product/EngineeringManagement/EngineeringManagement.vue +137 -0
  28. package/src/components/product/EngineeringManagement/EngineeringSelect.vue +588 -0
  29. package/src/components/product/EngineeringSupervisory/EngineeringApplyStopInfo.vue +281 -0
  30. package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryControl.vue +130 -0
  31. package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryList.vue +350 -0
  32. package/src/components/product/Function/InstallInfoSelect.vue +255 -254
  33. package/src/components/product/Function/Service/FunctionServiceControl.vue +37 -1
  34. package/src/components/product/Function/functions/ApplyUpload.vue +556 -0
  35. package/src/components/product/Function/functions/BuyerMessage.vue +512 -512
  36. package/src/components/product/Function/functions/InstallFee.vue +569 -344
  37. package/src/components/product/Process/ExplorationSelect.vue +640 -636
  38. package/src/components/product/Process/Processes/CustomerRecordMessage.vue +2 -5
  39. package/src/components/product/Process/Processes/Service/ApplyChargeSearch.vue +123 -37
  40. package/src/components/product/Process/Processes/Service/PaperTicketBill.vue +85 -0
  41. package/src/components/product/Process/Processes/Service/ServiceControl.vue +304 -21
  42. package/src/components/product/ServiceView.vue +16 -6
  43. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +53 -6
  44. package/src/components/product/Supervisory/SupervisoryList.vue +350 -349
  45. package/src/components/product/applyReport/ApplyReport.vue +205 -0
  46. package/src/components/product/applyReport/PrintApplyReport.vue +116 -0
  47. package/src/components/product/stopInfo/ApplyStopInfo.vue +281 -280
  48. package/src/ezhouAndroid.js +13 -10
  49. package/src/index.js +8 -8
  50. package/src/main.js +32 -32
  51. package/src/plugins/commonService.js +11 -7
@@ -1,256 +1,299 @@
1
- <template>
2
- <!--<div class="app-botton" @click="back()">-->
3
- <!--<span class="glyphicon glyphicon-menu-left">返回</span>-->
4
- <!--</div>-->
5
- <!-- <back-page :need-back='true' @flag="back()"></back-page>-->
6
- <div class="no-close row" style="background-color: #ffffff">
7
- <div class="col-sm-12 col-xs-12" >
8
- <ul class="nav nav-tabs" style="background:#ffffff;">
9
- <div>
10
- <li v-for="(key, value) in tabs" @click="tabSelect(key,$index)" :class="{active1: key === componentName}"
11
- v-if="$index < number+1">
12
- <a href="#" style="text-decoration : none;background-color: #ffffff;color: #666666;font-size: 16px;font-family:SimSun" :class="value.class">
13
- <span class="spanboder">{{value.header}}</span>
14
- <img class="butt2" :src="imgback(key === componentName)"></a>
15
- <p></p>
16
- </li>
17
- </div>
18
- <div class="col-sm-12 col-xs-12 repair-bg" v-show="routeShow">
19
- <route name='apply' :reuse="false"></route>
20
- </div>
21
- <div>
22
- <li v-for="(key, value) in tabs" @click="tabSelect(key,$index)" :class="{active1: key === componentName}"
23
- v-if="$index > number">
24
- <a href="#" style="text-decoration : none;background-color: #ffffff;color: #666666;font-size: 16px;font-family:SimSun" :class="value.class">
25
- <span class="spanboder">{{value.header}}</span>
26
- <img class="butt2" :src="imgback(key === componentName)"></a>
27
- <p></p>
28
- </li>
29
- </div>
30
- </ul>
31
- </div>
32
- </div>
33
- </template>
34
-
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";
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
- }
61
- },
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
- }
86
- },
87
-
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
- }
95
- },
96
- back () {
97
- let _this = this
98
- this.$showMessage('您是否确认返回', ['confirm', 'cancel']).then((res) => {
99
- if (res === 'confirm') {
100
- _this.$back()
101
- }
102
- })
103
- },
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.defname
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))
127
- }
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
- },
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'}
137
-
138
- this.$goto('apply-user-info', this.tabs[this.componentName].props, 'apply')
139
- },
140
- },
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
148
- }
149
- this.tabs[keyName] = value
150
- console.log( 'this.number=>' + this.number)
151
- // this.$set('tabs.' + keyName ,value)
152
- this.setProps()
153
- },
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
161
- },
162
- events: {
163
- 'close'() {
164
- //this.$back()
165
- this.$dispatch('confirm')
166
- }
167
- }
168
- }
169
- </script>
170
- <style lang="less">
171
- /*@import "../../../src/bootstrap/less/variables.less";*/
172
-
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
- }
184
-
185
-
186
- .apply-info-class {
187
-
188
- &::before {
189
- .tab-befor-img("../../assets/baoxiuxinxi1.png");
190
- }
191
- }
192
-
193
- .apply-user-info-class {
194
- &::before {
195
- .tab-befor-img("../../assets/jibenxinxi1.png")
196
- }
197
- }
198
-
199
- .field-exploration-class {
200
- &::before {
201
- .tab-befor-img("../../assets/feiyong1.png")
202
- }
203
- }
204
- .acceptance-class {
205
- &::before {
206
- .tab-befor-img("../../assets/feiyong1.png")
207
- }
208
- }
209
- .ventilation-class {
210
- &::before {
211
- .tab-befor-img("../../assets/feiyong1.png")
212
- }
213
- }
214
-
215
- .job-upload-class {
216
- &::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;
250
- }
251
- /*.android-apply-order > div > ul a {*/
252
- /* font-size: 12px;*/
253
- /* color: #333333;*/
254
- /* padding: 13px 16px;*/
255
- /*}*/
256
- </style>
1
+ <template>
2
+ <!--<div class="app-botton" @click="back()">-->
3
+ <!--<span class="glyphicon glyphicon-menu-left">返回</span>-->
4
+ <!--</div>-->
5
+ <!-- <back-page :need-back='true' @flag="back()"></back-page>-->
6
+ <div class="no-close row" style="background-color: #ffffff">
7
+ <div class="col-sm-12 col-xs-12" >
8
+ <ul class="nav nav-tabs" style="background:#ffffff;">
9
+ <div>
10
+ <li v-for="(key, value) in tabs" @click="tabSelect(key,$index)" :class="{active1: key === componentName}"
11
+ v-if="$index < number+1">
12
+ <a href="#" style="text-decoration : none;background-color: #ffffff;color: #666666;font-size: 16px;font-family:SimSun" :class="value.class">
13
+ <span class="spanboder">{{value.header}}</span>
14
+ <img class="butt2" :src="imgback(key === componentName)"></a>
15
+ <p></p>
16
+ </li>
17
+ </div>
18
+ <div class="col-sm-12 col-xs-12 repair-bg" v-show="routeShow">
19
+ <route name='apply' :reuse="false"></route>
20
+ </div>
21
+ <div>
22
+ <li v-for="(key, value) in tabs" @click="tabSelect(key,$index)" :class="{active1: key === componentName}"
23
+ v-if="$index > number">
24
+ <a href="#" style="text-decoration : none;background-color: #ffffff;color: #666666;font-size: 16px;font-family:SimSun" :class="value.class">
25
+ <span class="spanboder">{{value.header}}</span>
26
+ <img class="butt2" :src="imgback(key === componentName)"></a>
27
+ <p></p>
28
+ </li>
29
+ </div>
30
+ </ul>
31
+ </div>
32
+ </div>
33
+ </template>
34
+
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";
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
+ }
61
+ },
62
+
63
+
64
+ data() {
65
+ return {
66
+ show_data: {
67
+ ppp:{}
68
+ },
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
80
+ },
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
95
+ }
96
+ },
97
+ // actName: this.$appdata.getParam('用气类型'), // 报建app需提取的流程名称
98
+ faultshow: 8 // 控制 故障汇总 在 菜单里显示与否
99
+ }
100
+ },
101
+
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
+ })
117
+ },
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
129
+ }
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
145
+ },
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')
153
+ },
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
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
+ 'onetomany': function (val) {
195
+ console.log('6666666666')
196
+ console.log('item',val)
197
+ var _this = this
198
+ var pardate = {
199
+ _this: _this,
200
+ title: val.title,
201
+ safe: false
202
+ }
203
+ _this.$dispatch('gotoson',pardate)
204
+ _this.$goto('one-to-many', {item: val},'self')
205
+ },
206
+ 'close'() {
207
+ //this.$back()
208
+ this.$dispatch('confirm')
209
+ }
210
+ }
211
+ }
212
+ </script>
213
+ <style lang="less">
214
+ /*@import "../../../src/bootstrap/less/variables.less";*/
215
+
216
+ .tab-befor-img (@url) {
217
+ content: '';
218
+ background-image: url("@{url}");
219
+ background-size: 20px;
220
+ display: inline-block;
221
+ margin-right: 8px;
222
+ margin-top: 0.3em;
223
+ height: 1.3em;
224
+ width: 1.3em;
225
+ vertical-align: -35%;
226
+ }
227
+
228
+
229
+ .apply-info-class {
230
+
231
+ &::before {
232
+ .tab-befor-img("../../assets/baoxiuxinxi1.png");
233
+ }
234
+ }
235
+
236
+ .apply-user-info-class {
237
+ &::before {
238
+ .tab-befor-img("../../assets/jibenxinxi1.png")
239
+ }
240
+ }
241
+
242
+ .field-exploration-class {
243
+ &::before {
244
+ .tab-befor-img("../../assets/feiyong1.png")
245
+ }
246
+ }
247
+ .acceptance-class {
248
+ &::before {
249
+ .tab-befor-img("../../assets/feiyong1.png")
250
+ }
251
+ }
252
+ .ventilation-class {
253
+ &::before {
254
+ .tab-befor-img("../../assets/feiyong1.png")
255
+ }
256
+ }
257
+
258
+ .job-upload-class {
259
+ &::before {
260
+ .tab-befor-img("../../assets/guzhanghuizong1.png")
261
+ }
262
+ }
263
+ .butt2 {
264
+ display: inline;
265
+ width: 10px;
266
+ text-align: center;
267
+ align-items:center;
268
+ }
269
+ .linesty{
270
+ display: inline-block;
271
+ height:1px;
272
+ width:100%;
273
+ background:#d0d0d0;
274
+ overflow:hidden;
275
+ vertical-align: middle;
276
+ }
277
+ .spanboder{
278
+ border-bottom:2px solid #499edf;
279
+ padding-bottom: 8px
280
+ }
281
+ .app-botton {
282
+ position:fixed;
283
+ background: #87b2dd;
284
+ color: #FFF;
285
+ padding: 8px;
286
+ text-align: center;
287
+ font-size: 1.2em;
288
+ z-index: 10;
289
+ opacity:0.5;
290
+ bottom: 50px;
291
+ margin-top: -10px;
292
+ height: 40px;
293
+ }
294
+ /*.android-apply-order > div > ul a {*/
295
+ /* font-size: 12px;*/
296
+ /* color: #333333;*/
297
+ /* padding: 13px 16px;*/
298
+ /*}*/
299
+ </style>