apply-clients 5.0.35-20 → 5.0.35-24

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.
package/.npmignore ADDED
@@ -0,0 +1,13 @@
1
+ .idea/
2
+ .DS_Store
3
+ node_modules/
4
+ dist/
5
+ dist-android/
6
+ build
7
+ package-lock.json
8
+ npm-debug.log
9
+ selenium-debug.log
10
+ test/unit/coverage
11
+ test/e2e/reports
12
+ /node_modules.rar
13
+ /node_modules.zip
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apply-clients",
3
- "version": "5.0.35-20",
3
+ "version": "5.0.35-24",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
package/src/apply.js CHANGED
@@ -145,7 +145,8 @@ export default function () {
145
145
  Vue.component('apply-accept-bill', (resolve) => { require(['./components/product/Process/Processes/Service/ApplyAcceptBill'], resolve) })
146
146
  // 售气发票打印
147
147
  Vue.component('bjpaper-ticket-bill', (resolve) => { require(['./components/product/Process/Processes/Service/PaperTicketBill'], resolve) })
148
-
148
+ // APP图片显示
149
+ Vue.component('apply-upload', (resolve) => { require(['./components/product/Function/functions/ApplyUpload'], resolve) })
149
150
 
150
151
  Vue.component('apply-stop', (resolve) => { require(['./components/product/stopInfo/ApplyStopInfo'], resolve) })
151
152
 
@@ -157,7 +157,9 @@ export default {
157
157
  console.log('$appdata中的缓存参数与单值=>' + JSON.stringify(this.$appdata))
158
158
  var param = this.$appdata.getParam(this.data.fields[i].label)
159
159
  console.log(param)
160
- this.data.fields[i].options = param
160
+ if (param){
161
+ this.data.fields[i].options = param
162
+ }
161
163
 
162
164
  }
163
165
  }
@@ -560,10 +560,14 @@ export default {
560
560
  this.$showMessage("必须有现场照片")
561
561
  return;
562
562
  }
563
- if(!this.model.f_sign_path){
563
+ if(Vue.nopic==this.model.f_sign_path){
564
564
  this.$showMessage("必须有签名照片")
565
565
  return;
566
566
  }
567
+ this.model.f_overall_imgs.push({
568
+ f_overall_path: this.model.f_sign_path,
569
+ f_overall_name: this.data.title
570
+ })
567
571
  }
568
572
 
569
573
 
@@ -20,6 +20,8 @@
20
20
  <stop-install :stopapply="selectdata" v-if="showstop"></stop-install>
21
21
  <!-- 领料记录 -->
22
22
  <material_recording :infee="selectdata" v-if="show_material"></material_recording>
23
+ <!-- APP附件 -->
24
+ <apply-upload :appupload="selectdata" v-if="show_upload"></apply-upload>
23
25
  </div>
24
26
  </template>
25
27
  <script>
@@ -42,7 +44,8 @@
42
44
  showstop: false, // 终止报建
43
45
  showbill: false, // 打印票据
44
46
  showpreparation: false, // 预付款
45
- show_material:false//报建材料
47
+ show_material:false,//报建材料
48
+ show_upload: false //APP附件
46
49
  }
47
50
  },
48
51
  methods: {
@@ -65,6 +68,7 @@
65
68
  this.showcontract = false
66
69
  this.showbill = false
67
70
  this.showpreparation = false
71
+ this.show_upload = false
68
72
  },
69
73
  // 派工单
70
74
  receiveBatch(){
@@ -85,6 +89,7 @@
85
89
  this.showcontract = false
86
90
  this.showbill = false
87
91
  this.showpreparation = false
92
+ this.show_upload = false
88
93
  },
89
94
  // 领料记录
90
95
  materialRecord(){
@@ -105,6 +110,7 @@
105
110
  this.showcontract = false
106
111
  this.showbill = false
107
112
  this.showpreparation = false
113
+ this.show_upload = false
108
114
  },
109
115
  // 预付款
110
116
  preparation(){
@@ -125,6 +131,7 @@
125
131
  this.showcontract = false
126
132
  this.showbill = false
127
133
  this.showpreparation = true
134
+ this.show_upload = false
128
135
  },
129
136
  // 票据打印
130
137
  bill(){
@@ -145,6 +152,7 @@
145
152
  this.showpreparation = false
146
153
  this.showbill = true
147
154
  this.show_material = false
155
+ this.show_upload = false
148
156
  },
149
157
  // 补充合同
150
158
  contract() {
@@ -165,6 +173,7 @@
165
173
  this.showpreparation = false
166
174
  this.showcontract = true
167
175
  this.show_material = false
176
+ this.show_upload = false
168
177
  },
169
178
  // 收费
170
179
  instalfee(str) {
@@ -185,6 +194,7 @@
185
194
  this.showprestorefee = false
186
195
  this.showinfee = false
187
196
  this.show_material = false
197
+ this.show_upload = false
188
198
  // 采用开发商预付款方式收费
189
199
  if(str==='预付扣款'){
190
200
  this.showprestorefee = true
@@ -211,6 +221,28 @@
211
221
  this.showpreparation = false
212
222
  this.showstop = true
213
223
  this.show_material = false
224
+ this.show_upload = false
225
+ },
226
+ // APP附件
227
+ appUpload() {
228
+ this.$parent.$refs.installselect.clifun(this.selectdata)
229
+ // this.selectdata = row
230
+ this.$parent.clishow= true
231
+ this.$parent.show = false
232
+
233
+ this.showreceivebatch = false
234
+ this.showbuyer = false
235
+ this.showview = false
236
+ this.showbill = false
237
+ this.showinfee = false
238
+ this.showprestorefee = false
239
+ this.showupfee = false
240
+ this.showreducefee = false
241
+ this.showcontract = false
242
+ this.showpreparation = false
243
+ this.showstop = false
244
+ this.show_material = false
245
+ this.show_upload = true
214
246
  },
215
247
 
216
248
 
@@ -250,6 +282,7 @@
250
282
  this.showreceivebatch = false
251
283
  this.showbuyer = false
252
284
  this.show_material = false
285
+ this.show_upload = false
253
286
  }else{
254
287
  if(this.funcdata.title==='终止报建'){
255
288
  this.stopInstall()
@@ -278,6 +311,9 @@
278
311
  if(this.funcdata.title==='派工单'){
279
312
  this.receiveBatch()
280
313
  }
314
+ if(this.funcdata.title==='APP附件'){
315
+ this.appUpload()
316
+ }
281
317
  }
282
318
  }
283
319
  },