apply-clients 4.1.63-weinan → 4.1.64-weinan

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 (31) hide show
  1. package/index.html +30 -30
  2. package/package.json +1 -1
  3. package/src/apply.js +81 -81
  4. package/src/applyAndroid.js +52 -52
  5. package/src/components/app_apply/AppChargeManagement.vue +753 -749
  6. package/src/components/app_apply/AppInstallationDetails.vue +529 -529
  7. package/src/components/app_apply/AppProcessSupervisory.vue +214 -214
  8. package/src/components/app_apply/AppSupervisoryCart.vue +68 -68
  9. package/src/components/app_apply/AppTakePic.vue +146 -146
  10. package/src/components/app_apply/AppdevicesDetails.vue +867 -867
  11. package/src/components/app_apply/ApplyInfo.vue +56 -56
  12. package/src/components/app_apply/ApplyToDoList.vue +292 -292
  13. package/src/components/app_apply/PlaceControler.vue +274 -274
  14. package/src/components/app_apply/ServiceControl.vue +440 -440
  15. package/src/components/app_apply/ServiceView.vue +394 -394
  16. package/src/components/app_apply/materialshoufei.vue +248 -248
  17. package/src/components/product/ApplyCharge/ApplyChargeList.vue +252 -252
  18. package/src/components/product/Process/ExplorationSelect.vue +377 -377
  19. package/src/components/product/Process/ExplorationUser.vue +134 -134
  20. package/src/components/product/Process/Processes/InstallationDetails.vue +515 -515
  21. package/src/components/product/Process/Processes/chargeManagement.vue +545 -545
  22. package/src/components/product/Process/Processes/devicesDetails.vue +843 -843
  23. package/src/components/product/Process/Processes/materialshoufei.vue +187 -187
  24. package/src/components/product/Process/Service/ServiceControl.vue +1490 -1490
  25. package/src/components/product/Stop/StopApply.vue +101 -101
  26. package/src/components/product/Stop/StopApplyList.vue +266 -266
  27. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +200 -200
  28. package/src/components/product/Supervisory/SupervisoryControl.vue +124 -124
  29. package/src/components/product/Supervisory/SupervisoryList.vue +221 -221
  30. package/src/components/product/VueUtils/ApplyUpload.vue +276 -276
  31. package/src/main.js +25 -25
@@ -1,274 +1,274 @@
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 android-repair-order" 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
- import AppTakePic from './AppTakePic'
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
- data () {
64
- return {
65
- routeShow: true,
66
- number: 0,
67
- // shupingshow:false,
68
- pipeline: {},
69
- componentName: 'apply-user-info',
70
- tabs: {
71
- // 参数全部设置成空,在ready时,等model处理好了,再添加
72
- 'apply-info': {
73
- header: '流程信息', class: 'apply-info-class', props: null
74
- },
75
- 'apply-defame-work': {
76
- header: null, class: 'apply-info-class', props: null
77
- },
78
- 'app-take-pic': {
79
- header: '拍照', class: 'apply-info-class', props: null
80
- }
81
- },
82
- // actName: this.$appdata.getParam('用气类型'), // 报建app需提取的流程名称
83
- faultshow: 8, // 控制 故障汇总 在 菜单里显示与否
84
- selectdatacopy: null,
85
- num: 0
86
- }
87
- },
88
-
89
- methods: {
90
- imgback (val) {
91
- if (val && this.routeShow) {
92
- return require('../../assets/xiangxia1.png')
93
- } else {
94
- return require('../../assets/xiangyou1.png')
95
- }
96
- },
97
- back () {
98
- let _this = this
99
- this.$showMessage('您是否确认返回', ['confirm', 'cancel']).then((res) => {
100
- if (res === 'confirm') {
101
- _this.$back()
102
- }
103
- })
104
- },
105
- // 选择tab
106
- tabSelect (name, number) {
107
- this.number = number
108
- this.tabs[name].props = null
109
- // 处理关闭/显示 内容
110
- if (this.componentName === name && !this.routeShow) {
111
- this.routeShow = true
112
- } else if (this.componentName === name && this.routeShow) {
113
- this.routeShow = false
114
- } else if (this.componentName !== name) {
115
- this.routeShow = true
116
- }
117
- this.componentName = name
118
- console.log('name=>' + name)
119
- if (name === 'apply-info') {
120
- this.tabs[name].props = {service: this.row, shutype: 'shu'}
121
- if (this.num === 1) {
122
- this.selectdatacopy = this.$children[0].$children[0].show_data
123
- this.num += 1
124
- }
125
- } else if (name === 'app-take-pic') {
126
- this.tabs[name].props = {blobid: this.row.f_process_id, defname: this.row.defname, isdelete: 'true', istakepic: 'true', istype: 'true'}
127
- if (this.num === 1) {
128
- this.selectdatacopy = this.$children[0].$children[0].show_data
129
- this.num += 1
130
- }
131
- } else {
132
- this.row.defname = this.row.defname
133
- // this.row.fields = new Array()
134
- // this.row.buttons = new Array()
135
- if (this.num === 1) {
136
- this.selectdatacopy = this.$children[0].$children[0].show_data
137
- }
138
- this.num += 1
139
- this.tabs[name].props = {selectdata: this.row,copydata: this.selectdatacopy}
140
- }
141
- console.log('即将goto=>' + name + ',props:' + JSON.stringify(this.tabs[name].props))
142
- this.$goto(name, this.tabs[name].props, 'apply')
143
- // this.shupingshow = true
144
- },
145
- setProps () {
146
- // 给各自组件添加参数
147
- // this.tabs['apply-user-info'].props = {service: this.row, shutype: 'shu'}
148
- // this.tabs['apply-info'].props = {service: this.row, shutype: 'shu'}
149
- // this.tabs['apply-defame-work'].props = {model: this.row, shutype: 'shu'}
150
-
151
- // this.$goto('apply-user-info', this.tabs[this.componentName].props, 'apply')
152
- }
153
- },
154
- ready () {
155
- var keyName = 'apply-defame-work'
156
- var valueHeader = this.row.defname
157
- var value = {
158
- header: valueHeader,
159
- class: 'apply-info-class',
160
- props: null
161
- }
162
- this.tabs[keyName] = value
163
- console.log('this.number=>' + this.number)
164
- // this.$set('tabs.' + keyName ,value)
165
- this.setProps()
166
- },
167
- components: {
168
- 'apply-info': ApplyInfo,
169
- // 'apply-user-info':ApplyUserInfo,
170
- // 'fieldexploration': FieldExploration,
171
- // 'acceptance': Acceptance,
172
- // 'ventilation':Ventilation
173
- 'apply-defame-work': ServiceControl,
174
- 'app-take-pic': AppTakePic
175
- },
176
- events: {
177
- 'close' () {
178
- this.$back()
179
- }
180
- }
181
- }
182
- </script>
183
- <style lang="less">
184
- @import "../../../src/bootstrap/less/variables.less";
185
-
186
- .tab-befor-img (@url) {
187
- content: '';
188
- background-image: url("@{url}");
189
- background-size: 20px;
190
- display: inline-block;
191
- margin-right: 8px;
192
- margin-top: 0.3em;
193
- height: 1.3em;
194
- width: 1.3em;
195
- vertical-align: -35%;
196
- }
197
- @media screen and (min-width: 768px) {
198
- .android-apply-order > div > ul a {
199
- font-size: @font-size-h2;
200
- margin: 0.3em 0;
201
- }
202
- }
203
-
204
- .apply-info-class {
205
-
206
- &::before {
207
- .tab-befor-img("../../assets/baoxiuxinxi1.png");
208
- }
209
- }
210
-
211
- .apply-user-info-class {
212
- &::before {
213
- .tab-befor-img("../../assets/jibenxinxi1.png")
214
- }
215
- }
216
-
217
- .field-exploration-class {
218
- &::before {
219
- .tab-befor-img("../../assets/feiyong1.png")
220
- }
221
- }
222
- .acceptance-class {
223
- &::before {
224
- .tab-befor-img("../../assets/feiyong1.png")
225
- }
226
- }
227
- .ventilation-class {
228
- &::before {
229
- .tab-befor-img("../../assets/feiyong1.png")
230
- }
231
- }
232
-
233
- .job-upload-class {
234
- &::before {
235
- .tab-befor-img("../../assets/guzhanghuizong1.png")
236
- }
237
- }
238
- .butt2 {
239
- display: inline;
240
- width: 10px;
241
- text-align: center;
242
- align-items:center;
243
- }
244
- .linesty{
245
- display: inline-block;
246
- height:1px;
247
- width:100%;
248
- background:#d0d0d0;
249
- overflow:hidden;
250
- vertical-align: middle;
251
- }
252
- .spanboder{
253
- border-bottom:2px solid #499edf;
254
- padding-bottom: 8px
255
- }
256
- .app-botton {
257
- position:fixed;
258
- background: #87b2dd;
259
- color: #FFF;
260
- padding: 8px;
261
- text-align: center;
262
- font-size: 1.2em;
263
- z-index: 10;
264
- opacity:0.5;
265
- bottom: 50px;
266
- margin-top: -10px;
267
- height: 40px;
268
- }
269
- .android-apply-order > div > ul a {
270
- font-size: 12px;
271
- color: #333333;
272
- padding: 13px 16px;
273
- }
274
- </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 android-repair-order" 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
+ import AppTakePic from './AppTakePic'
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
+ data () {
64
+ return {
65
+ routeShow: true,
66
+ number: 0,
67
+ // shupingshow:false,
68
+ pipeline: {},
69
+ componentName: 'apply-user-info',
70
+ tabs: {
71
+ // 参数全部设置成空,在ready时,等model处理好了,再添加
72
+ 'apply-info': {
73
+ header: '流程信息', class: 'apply-info-class', props: null
74
+ },
75
+ 'apply-defame-work': {
76
+ header: null, class: 'apply-info-class', props: null
77
+ },
78
+ 'app-take-pic': {
79
+ header: '拍照', class: 'apply-info-class', props: null
80
+ }
81
+ },
82
+ // actName: this.$appdata.getParam('用气类型'), // 报建app需提取的流程名称
83
+ faultshow: 8, // 控制 故障汇总 在 菜单里显示与否
84
+ selectdatacopy: null,
85
+ num: 0
86
+ }
87
+ },
88
+
89
+ methods: {
90
+ imgback (val) {
91
+ if (val && this.routeShow) {
92
+ return require('../../assets/xiangxia1.png')
93
+ } else {
94
+ return require('../../assets/xiangyou1.png')
95
+ }
96
+ },
97
+ back () {
98
+ let _this = this
99
+ this.$showMessage('您是否确认返回', ['confirm', 'cancel']).then((res) => {
100
+ if (res === 'confirm') {
101
+ _this.$back()
102
+ }
103
+ })
104
+ },
105
+ // 选择tab
106
+ tabSelect (name, number) {
107
+ this.number = number
108
+ this.tabs[name].props = null
109
+ // 处理关闭/显示 内容
110
+ if (this.componentName === name && !this.routeShow) {
111
+ this.routeShow = true
112
+ } else if (this.componentName === name && this.routeShow) {
113
+ this.routeShow = false
114
+ } else if (this.componentName !== name) {
115
+ this.routeShow = true
116
+ }
117
+ this.componentName = name
118
+ console.log('name=>' + name)
119
+ if (name === 'apply-info') {
120
+ this.tabs[name].props = {service: this.row, shutype: 'shu'}
121
+ if (this.num === 1) {
122
+ this.selectdatacopy = this.$children[0].$children[0].show_data
123
+ this.num += 1
124
+ }
125
+ } else if (name === 'app-take-pic') {
126
+ this.tabs[name].props = {blobid: this.row.f_process_id, defname: this.row.defname, isdelete: 'true', istakepic: 'true', istype: 'true'}
127
+ if (this.num === 1) {
128
+ this.selectdatacopy = this.$children[0].$children[0].show_data
129
+ this.num += 1
130
+ }
131
+ } else {
132
+ this.row.defname = this.row.defname
133
+ // this.row.fields = new Array()
134
+ // this.row.buttons = new Array()
135
+ if (this.num === 1) {
136
+ this.selectdatacopy = this.$children[0].$children[0].show_data
137
+ }
138
+ this.num += 1
139
+ this.tabs[name].props = {selectdata: this.row,copydata: this.selectdatacopy}
140
+ }
141
+ console.log('即将goto=>' + name + ',props:' + JSON.stringify(this.tabs[name].props))
142
+ this.$goto(name, this.tabs[name].props, 'apply')
143
+ // this.shupingshow = true
144
+ },
145
+ setProps () {
146
+ // 给各自组件添加参数
147
+ // this.tabs['apply-user-info'].props = {service: this.row, shutype: 'shu'}
148
+ // this.tabs['apply-info'].props = {service: this.row, shutype: 'shu'}
149
+ // this.tabs['apply-defame-work'].props = {model: this.row, shutype: 'shu'}
150
+
151
+ // this.$goto('apply-user-info', this.tabs[this.componentName].props, 'apply')
152
+ }
153
+ },
154
+ ready () {
155
+ var keyName = 'apply-defame-work'
156
+ var valueHeader = this.row.defname
157
+ var value = {
158
+ header: valueHeader,
159
+ class: 'apply-info-class',
160
+ props: null
161
+ }
162
+ this.tabs[keyName] = value
163
+ console.log('this.number=>' + this.number)
164
+ // this.$set('tabs.' + keyName ,value)
165
+ this.setProps()
166
+ },
167
+ components: {
168
+ 'apply-info': ApplyInfo,
169
+ // 'apply-user-info':ApplyUserInfo,
170
+ // 'fieldexploration': FieldExploration,
171
+ // 'acceptance': Acceptance,
172
+ // 'ventilation':Ventilation
173
+ 'apply-defame-work': ServiceControl,
174
+ 'app-take-pic': AppTakePic
175
+ },
176
+ events: {
177
+ 'close' () {
178
+ this.$back()
179
+ }
180
+ }
181
+ }
182
+ </script>
183
+ <style lang="less">
184
+ @import "../../../src/bootstrap/less/variables.less";
185
+
186
+ .tab-befor-img (@url) {
187
+ content: '';
188
+ background-image: url("@{url}");
189
+ background-size: 20px;
190
+ display: inline-block;
191
+ margin-right: 8px;
192
+ margin-top: 0.3em;
193
+ height: 1.3em;
194
+ width: 1.3em;
195
+ vertical-align: -35%;
196
+ }
197
+ @media screen and (min-width: 768px) {
198
+ .android-apply-order > div > ul a {
199
+ font-size: @font-size-h2;
200
+ margin: 0.3em 0;
201
+ }
202
+ }
203
+
204
+ .apply-info-class {
205
+
206
+ &::before {
207
+ .tab-befor-img("../../assets/baoxiuxinxi1.png");
208
+ }
209
+ }
210
+
211
+ .apply-user-info-class {
212
+ &::before {
213
+ .tab-befor-img("../../assets/jibenxinxi1.png")
214
+ }
215
+ }
216
+
217
+ .field-exploration-class {
218
+ &::before {
219
+ .tab-befor-img("../../assets/feiyong1.png")
220
+ }
221
+ }
222
+ .acceptance-class {
223
+ &::before {
224
+ .tab-befor-img("../../assets/feiyong1.png")
225
+ }
226
+ }
227
+ .ventilation-class {
228
+ &::before {
229
+ .tab-befor-img("../../assets/feiyong1.png")
230
+ }
231
+ }
232
+
233
+ .job-upload-class {
234
+ &::before {
235
+ .tab-befor-img("../../assets/guzhanghuizong1.png")
236
+ }
237
+ }
238
+ .butt2 {
239
+ display: inline;
240
+ width: 10px;
241
+ text-align: center;
242
+ align-items:center;
243
+ }
244
+ .linesty{
245
+ display: inline-block;
246
+ height:1px;
247
+ width:100%;
248
+ background:#d0d0d0;
249
+ overflow:hidden;
250
+ vertical-align: middle;
251
+ }
252
+ .spanboder{
253
+ border-bottom:2px solid #499edf;
254
+ padding-bottom: 8px
255
+ }
256
+ .app-botton {
257
+ position:fixed;
258
+ background: #87b2dd;
259
+ color: #FFF;
260
+ padding: 8px;
261
+ text-align: center;
262
+ font-size: 1.2em;
263
+ z-index: 10;
264
+ opacity:0.5;
265
+ bottom: 50px;
266
+ margin-top: -10px;
267
+ height: 40px;
268
+ }
269
+ .android-apply-order > div > ul a {
270
+ font-size: 12px;
271
+ color: #333333;
272
+ padding: 13px 16px;
273
+ }
274
+ </style>