apply-clients 5.0.35-89 → 5.0.35-91

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 (21) hide show
  1. package/.eslintrc.js +16 -16
  2. package/package.json +1 -1
  3. package/src/components/app_apply/ApplyToDoList.vue +73 -2581
  4. package/src/components/app_apply/OneToMany.vue +194 -194
  5. package/src/components/app_apply/PlaceControler.vue +299 -299
  6. package/src/components/app_apply/ServiceControl.vue +687 -687
  7. package/src/components/app_apply/ezhou/ServiceView.vue +745 -808
  8. package/src/components/product/EngineeringManagement/EngineerUpload.vue +304 -304
  9. package/src/components/product/EngineeringManagement/EngineeringSelect.vue +586 -586
  10. package/src/components/product/EngineeringSupervisory/EngineeringApplyStopInfo.vue +281 -281
  11. package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryControl.vue +132 -132
  12. package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryList.vue +340 -340
  13. package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryServiceControl.vue +490 -490
  14. package/src/components/product/Function/InstallInfoSelect.vue +255 -255
  15. package/src/components/product/Function/functions/BuyerMessage.vue +512 -512
  16. package/src/components/product/Function/functions/InstallFee.vue +1154 -1154
  17. package/src/components/product/Process/ExplorationSelect.vue +640 -640
  18. package/src/components/product/Process/Processes/Service/ApplyChargeSearch.vue +392 -392
  19. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +453 -453
  20. package/src/components/product/stopInfo/ApplyStopInfo.vue +281 -281
  21. package/src/ezhouAndroid.js +48 -48
@@ -1,299 +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
- 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>
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>