apply-clients 4.1.3 → 4.1.4-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 (37) hide show
  1. package/index.html +1 -1
  2. package/package.json +7 -5
  3. package/src/apply.js +81 -66
  4. package/src/applyAndroid.js +41 -39
  5. package/src/components/app_apply/AppChargeManagement.vue +619 -0
  6. package/src/components/app_apply/ApplyInfo.vue +56 -56
  7. package/src/components/app_apply/ApplyToDoList.vue +148 -165
  8. package/src/components/app_apply/PlaceControler.vue +258 -258
  9. package/src/components/app_apply/ServiceControl.vue +280 -267
  10. package/src/components/product/ApplyCharge/ApplyChargeList.vue +251 -251
  11. package/src/components/product/Function/InstallInfoSelect.vue +40 -27
  12. package/src/components/product/Function/StopApplyCrrdList.vue +1 -1
  13. package/src/components/product/Function/functions/StopInstall.vue +7 -1
  14. package/src/components/product/Process/ExplorationSelect.vue +82 -59
  15. package/src/components/product/Process/Processes/InstallationDetails.vue +276 -246
  16. package/src/components/product/Process/Processes/UserFireInfo.vue +409 -0
  17. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +1458 -99
  18. package/src/components/product/Process/Processes/addressAndUserinfoManagementPro.vue +1221 -0
  19. package/src/components/product/Process/Processes/chargeManagement.vue +47 -53
  20. package/src/components/product/Process/Processes/devicesDetails.vue +834 -0
  21. package/src/components/product/Process/Processes/materialshoufei.vue +182 -0
  22. package/src/components/product/Process/Processes/printCharge.vue +130 -130
  23. package/src/components/product/Process/Processes/recordcancel.vue +50 -0
  24. package/src/components/product/Process/Processes/selectUserinfo.vue +199 -0
  25. package/src/components/product/Process/Processes/splitMaterial.vue +358 -0
  26. package/src/components/product/Process/Service/ServiceControl.vue +1126 -703
  27. package/src/components/product/Process/ShowBackReason.vue +1 -0
  28. package/src/components/product/ServiceView.vue +82 -35
  29. package/src/components/product/Stop/StopApply.vue +101 -0
  30. package/src/components/product/Stop/StopApplyList.vue +257 -0
  31. package/src/components/product/Supervisory/SupervisoryControl.vue +7 -4
  32. package/src/components/product/Supervisory/SupervisoryList.vue +40 -27
  33. package/src/components/product/Supervisory/SupervisoryhCart.vue +0 -7
  34. package/src/components/product/Test.vue +8 -4
  35. package/src/components/product/VueUtils/ApplyUpload.vue +261 -261
  36. package/src/main.js +25 -23
  37. package/static/images/lefticon//347/237/251/345/275/2421183.png +0 -0
@@ -1,258 +1,258 @@
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
-
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.f_order_type
122
- // this.row.fields = new Array()
123
- // this.row.buttons = new Array()
124
- this.tabs[name].props = {selectdata: this.row}
125
- }
126
- console.log('即将goto=>' + name + ',props:' + JSON.stringify(this.tabs[name].props))
127
- this.$goto(name, this.tabs[name].props, 'apply')
128
- // this.shupingshow = true
129
- },
130
- setProps() {
131
- // 给各自组件添加参数
132
- this.tabs['apply-user-info'].props = {service: this.row, shutype: 'shu'}
133
- // this.tabs['apply-info'].props = {service: this.row, shutype: 'shu'}
134
- // this.tabs['apply-defame-work'].props = {model: this.row, shutype: 'shu'}
135
-
136
- this.$goto('apply-user-info', this.tabs[this.componentName].props, 'apply')
137
- },
138
- },
139
- ready () {
140
- var keyName = 'apply-defame-work'
141
- var valueHeader = this.row.f_order_type
142
- var value = {
143
- header:valueHeader,
144
- class: 'apply-info-class',
145
- props: null
146
- }
147
- this.tabs[keyName] = value
148
- console.log( 'this.number=>' + this.number)
149
- // this.$set('tabs.' + keyName ,value)
150
- this.setProps()
151
- },
152
- components: {
153
- 'apply-info': ApplyInfo,
154
- 'apply-user-info':ApplyUserInfo,
155
- // 'fieldexploration': FieldExploration,
156
- // 'acceptance': Acceptance,
157
- // 'ventilation':Ventilation
158
- 'apply-defame-work': ServiceControl
159
- },
160
- events: {
161
- 'close'() {
162
- this.$back()
163
- }
164
- }
165
- }
166
- </script>
167
- <style lang="less">
168
- @import "../../../src/bootstrap/less/variables.less";
169
-
170
- .tab-befor-img (@url) {
171
- content: '';
172
- background-image: url("@{url}");
173
- background-size: 20px;
174
- display: inline-block;
175
- margin-right: 8px;
176
- margin-top: 0.3em;
177
- height: 1.3em;
178
- width: 1.3em;
179
- vertical-align: -35%;
180
- }
181
- @media screen and (min-width: 768px) {
182
- .android-apply-order > div > ul a {
183
- font-size: @font-size-h2;
184
- margin: 0.3em 0;
185
- }
186
- }
187
-
188
- .apply-info-class {
189
-
190
- &::before {
191
- .tab-befor-img("../../assets/baoxiuxinxi1.png");
192
- }
193
- }
194
-
195
- .apply-user-info-class {
196
- &::before {
197
- .tab-befor-img("../../assets/jibenxinxi1.png")
198
- }
199
- }
200
-
201
- .field-exploration-class {
202
- &::before {
203
- .tab-befor-img("../../assets/feiyong1.png")
204
- }
205
- }
206
- .acceptance-class {
207
- &::before {
208
- .tab-befor-img("../../assets/feiyong1.png")
209
- }
210
- }
211
- .ventilation-class {
212
- &::before {
213
- .tab-befor-img("../../assets/feiyong1.png")
214
- }
215
- }
216
-
217
- .job-upload-class {
218
- &::before {
219
- .tab-befor-img("../../assets/guzhanghuizong1.png")
220
- }
221
- }
222
- .butt2 {
223
- display: inline;
224
- width: 10px;
225
- text-align: center;
226
- align-items:center;
227
- }
228
- .linesty{
229
- display: inline-block;
230
- height:1px;
231
- width:100%;
232
- background:#d0d0d0;
233
- overflow:hidden;
234
- vertical-align: middle;
235
- }
236
- .spanboder{
237
- border-bottom:2px solid #499edf;
238
- padding-bottom: 8px
239
- }
240
- .app-botton {
241
- position:fixed;
242
- background: #87b2dd;
243
- color: #FFF;
244
- padding: 8px;
245
- text-align: center;
246
- font-size: 1.2em;
247
- z-index: 10;
248
- opacity:0.5;
249
- bottom: 50px;
250
- margin-top: -10px;
251
- height: 40px;
252
- }
253
- .android-apply-order > div > ul a {
254
- font-size: 12px;
255
- color: #333333;
256
- padding: 13px 16px;
257
- }
258
- </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
+
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
+ }
126
+ console.log('即将goto=>' + name + ',props:' + JSON.stringify(this.tabs[name].props))
127
+ this.$goto(name, this.tabs[name].props, 'apply')
128
+ // this.shupingshow = true
129
+ },
130
+ setProps() {
131
+ // 给各自组件添加参数
132
+ this.tabs['apply-user-info'].props = {service: this.row, shutype: 'shu'}
133
+ // this.tabs['apply-info'].props = {service: this.row, shutype: 'shu'}
134
+ // this.tabs['apply-defame-work'].props = {model: this.row, shutype: 'shu'}
135
+
136
+ this.$goto('apply-user-info', this.tabs[this.componentName].props, 'apply')
137
+ },
138
+ },
139
+ ready () {
140
+ var keyName = 'apply-defame-work'
141
+ var valueHeader = this.row.defname
142
+ var value = {
143
+ header:valueHeader,
144
+ class: 'apply-info-class',
145
+ props: null
146
+ }
147
+ this.tabs[keyName] = value
148
+ console.log( 'this.number=>' + this.number)
149
+ // this.$set('tabs.' + keyName ,value)
150
+ this.setProps()
151
+ },
152
+ components: {
153
+ 'apply-info': ApplyInfo,
154
+ 'apply-user-info':ApplyUserInfo,
155
+ // 'fieldexploration': FieldExploration,
156
+ // 'acceptance': Acceptance,
157
+ // 'ventilation':Ventilation
158
+ 'apply-defame-work': ServiceControl
159
+ },
160
+ events: {
161
+ 'close'() {
162
+ this.$back()
163
+ }
164
+ }
165
+ }
166
+ </script>
167
+ <style lang="less">
168
+ @import "../../../src/bootstrap/less/variables.less";
169
+
170
+ .tab-befor-img (@url) {
171
+ content: '';
172
+ background-image: url("@{url}");
173
+ background-size: 20px;
174
+ display: inline-block;
175
+ margin-right: 8px;
176
+ margin-top: 0.3em;
177
+ height: 1.3em;
178
+ width: 1.3em;
179
+ vertical-align: -35%;
180
+ }
181
+ @media screen and (min-width: 768px) {
182
+ .android-apply-order > div > ul a {
183
+ font-size: @font-size-h2;
184
+ margin: 0.3em 0;
185
+ }
186
+ }
187
+
188
+ .apply-info-class {
189
+
190
+ &::before {
191
+ .tab-befor-img("../../assets/baoxiuxinxi1.png");
192
+ }
193
+ }
194
+
195
+ .apply-user-info-class {
196
+ &::before {
197
+ .tab-befor-img("../../assets/jibenxinxi1.png")
198
+ }
199
+ }
200
+
201
+ .field-exploration-class {
202
+ &::before {
203
+ .tab-befor-img("../../assets/feiyong1.png")
204
+ }
205
+ }
206
+ .acceptance-class {
207
+ &::before {
208
+ .tab-befor-img("../../assets/feiyong1.png")
209
+ }
210
+ }
211
+ .ventilation-class {
212
+ &::before {
213
+ .tab-befor-img("../../assets/feiyong1.png")
214
+ }
215
+ }
216
+
217
+ .job-upload-class {
218
+ &::before {
219
+ .tab-befor-img("../../assets/guzhanghuizong1.png")
220
+ }
221
+ }
222
+ .butt2 {
223
+ display: inline;
224
+ width: 10px;
225
+ text-align: center;
226
+ align-items:center;
227
+ }
228
+ .linesty{
229
+ display: inline-block;
230
+ height:1px;
231
+ width:100%;
232
+ background:#d0d0d0;
233
+ overflow:hidden;
234
+ vertical-align: middle;
235
+ }
236
+ .spanboder{
237
+ border-bottom:2px solid #499edf;
238
+ padding-bottom: 8px
239
+ }
240
+ .app-botton {
241
+ position:fixed;
242
+ background: #87b2dd;
243
+ color: #FFF;
244
+ padding: 8px;
245
+ text-align: center;
246
+ font-size: 1.2em;
247
+ z-index: 10;
248
+ opacity:0.5;
249
+ bottom: 50px;
250
+ margin-top: -10px;
251
+ height: 40px;
252
+ }
253
+ .android-apply-order > div > ul a {
254
+ font-size: 12px;
255
+ color: #333333;
256
+ padding: 13px 16px;
257
+ }
258
+ </style>