apply-clients 3.3.73 → 3.3.74-21
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/.project +17 -0
- package/build/dev-server-app.js +76 -76
- package/build/dev-server.js +127 -127
- package/et --hard a251245ba614c0c56fa5f8635a803359716e66e8 +299 -0
- package/package.json +1 -1
- package/src/apply.js +92 -92
- package/src/applyAndroid.js +4 -1
- package/src/components/android/AppServiceView.vue +70 -3
- package/src/components/android/Process/AppExplorationUser.vue +99 -3
- package/src/components/android/Process/AppServiceControl.vue +481 -16
- package/src/components/android/Process/Processes/selectApply.vue +250 -0
- package/src/components/android/Process/Processes/selectUserinfo.vue +182 -0
- package/src/components/product/Function/InstallInfoSelect.vue +320 -320
- package/src/components/product/Print/IgnitionBill/IgnitionBill.vue +259 -259
- package/src/components/product/Print/IgnitionBill/printIgnitionBill.vue +168 -168
- package/src/components/product/ServiceView.vue +693 -691
- package/src/main.js +26 -26
|
@@ -123,6 +123,7 @@
|
|
|
123
123
|
<div class="row form-group text-right" style="">
|
|
124
124
|
<button class="btn btn-primary" @click="$parent.$parent.search()">查询</button>
|
|
125
125
|
<button class="btn btn-info" @click="$parent.$parent.clear()">清空</button>
|
|
126
|
+
<button class="btn btn-info" @click="$parent.$parent.showModal = !$parent.$parent.showModal">工程发起</button>
|
|
126
127
|
<button class="btn" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"></button>
|
|
127
128
|
</div>
|
|
128
129
|
</div>
|
|
@@ -170,7 +171,10 @@
|
|
|
170
171
|
<p class="col-xs-3 text-left font"><b>施工备注:</b></p>
|
|
171
172
|
<p class="col-xs-9 text-left input-font">{{ row.f_construction_remarks }}</p>
|
|
172
173
|
</div>
|
|
173
|
-
|
|
174
|
+
<div class="col-xs-12" style="color: red" v-if="row.defname == '工程施工'||row.defname=='工程派工'">
|
|
175
|
+
<p class="col-xs-3 text-left font"><b>报装备注:</b></p>
|
|
176
|
+
<p class="col-xs-9 text-left input-font">{{ row.f_apply_remarks }}</p>
|
|
177
|
+
</div>
|
|
174
178
|
<div class="col-xs-12" v-if="row.f_no_valid != null">
|
|
175
179
|
<p class="col-xs-4 text-left font"><b>稍后处理备注:</b></p>
|
|
176
180
|
<p class="col-xs-8 text-left input-font" style="color: red">{{row.f_later_remarks}}</p>
|
|
@@ -216,6 +220,34 @@
|
|
|
216
220
|
</footer>
|
|
217
221
|
</modal>
|
|
218
222
|
</validator>
|
|
223
|
+
<validator name="v">
|
|
224
|
+
<modal
|
|
225
|
+
v-if="showModal"
|
|
226
|
+
:show.sync="showModal"
|
|
227
|
+
backdrop="false"
|
|
228
|
+
title="工程类型"
|
|
229
|
+
cancel-text="取消"
|
|
230
|
+
ok-text="确认"
|
|
231
|
+
:callback="apply"
|
|
232
|
+
>
|
|
233
|
+
<div class="form-horizontal" slot="modal-body">
|
|
234
|
+
<div class="row form-group app-input" style="margin: 10px auto">
|
|
235
|
+
<label class="">报建类型:</label>
|
|
236
|
+
<div class="col-sm-8">
|
|
237
|
+
<v-select
|
|
238
|
+
v-model="applyType"
|
|
239
|
+
placeholder='请选择需要发起的工程类型'
|
|
240
|
+
:value.sync="applyType"
|
|
241
|
+
:options='applyTypes'
|
|
242
|
+
:value-single="true"
|
|
243
|
+
class="select select_list"
|
|
244
|
+
:search="false"
|
|
245
|
+
close-on-select ></v-select>
|
|
246
|
+
</div>
|
|
247
|
+
</div>
|
|
248
|
+
</div>
|
|
249
|
+
</modal>
|
|
250
|
+
</validator>
|
|
219
251
|
</div>
|
|
220
252
|
</template>
|
|
221
253
|
<script>
|
|
@@ -234,6 +266,10 @@ export default {
|
|
|
234
266
|
orgid: Vue.user.orgid
|
|
235
267
|
},
|
|
236
268
|
}),
|
|
269
|
+
showModal: false,
|
|
270
|
+
applyType: '', // 报建类型
|
|
271
|
+
//applyTypes:this.$appdata.getParam("报建类型"),
|
|
272
|
+
applyTypes:[{label:'散户报建',value:'散户报建'},{label:'工商户报建',value:'工商户报建'},{label:'团购报建',value:'团购报建'},{label:'改管报建',value:'改管报建'},{label:'增容报建',value:'增容报建'},{label:'退款报建',value:'退款报建'},{label:'团购转散户',value:'团购转散户'}],
|
|
237
273
|
criteriaShow: false,
|
|
238
274
|
// applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')], // 所有报建类型
|
|
239
275
|
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型') || [] ], // 所有报建类型
|
|
@@ -290,7 +326,7 @@ export default {
|
|
|
290
326
|
this.$refs.cp.$refs.cri.search()
|
|
291
327
|
},
|
|
292
328
|
searchCondition (args) {
|
|
293
|
-
args.condition += `and act.defname in ${this.appDefnames}`
|
|
329
|
+
//args.condition += `and act.defname in ${this.appDefnames}`
|
|
294
330
|
this.model.search(args.condition, args.model)
|
|
295
331
|
},
|
|
296
332
|
click (row) {
|
|
@@ -318,7 +354,67 @@ export default {
|
|
|
318
354
|
|
|
319
355
|
this.applyNatures = [{label: '全部', value: ''}]
|
|
320
356
|
}
|
|
321
|
-
}
|
|
357
|
+
},
|
|
358
|
+
// 报装申请
|
|
359
|
+
async apply () {
|
|
360
|
+
if (this.applyType === '' || this.applyType === null) {
|
|
361
|
+
this.$showAlert('请选择需要发起的类型', 'warning', 3000)
|
|
362
|
+
return
|
|
363
|
+
}
|
|
364
|
+
let data = {
|
|
365
|
+
f_apply_type: this.applyType
|
|
366
|
+
}
|
|
367
|
+
if (this.applyType === '散户报建') {
|
|
368
|
+
data.processname = '散户报建流程'
|
|
369
|
+
data.defname = '报装申请'
|
|
370
|
+
} else if (this.applyType === '工商户报建') {
|
|
371
|
+
data.processname = '工商户报建流程'
|
|
372
|
+
data.defname = '报装申请'
|
|
373
|
+
} else if (this.applyType === '改管报建') {
|
|
374
|
+
data.processname = '改管报建流程'
|
|
375
|
+
data.defname = '报装申请'
|
|
376
|
+
} else if (this.applyType === '增容报建') {
|
|
377
|
+
data.processname = '增容报建流程'
|
|
378
|
+
data.defname = '报装申请'
|
|
379
|
+
} else if (this.applyType === '团购报建') {
|
|
380
|
+
data.processname = '团购报建流程'
|
|
381
|
+
data.defname = '报装申请'
|
|
382
|
+
} else if (this.applyType === '退款报建') {
|
|
383
|
+
data.processname = '退款报建流程'
|
|
384
|
+
data.defname = '终止报建'
|
|
385
|
+
} else if (this.applyType === '团购转散户') {
|
|
386
|
+
data.processname = '团购转散户报建流程'
|
|
387
|
+
data.defname = '信息确认'
|
|
388
|
+
} else {
|
|
389
|
+
this.$showMessage('暂无此类报装')
|
|
390
|
+
return
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
data.f_sub_state = "新增"
|
|
394
|
+
data.f_apply_source = "线下发起"
|
|
395
|
+
data.f_process_id = await this.getProcessId(data.processname)
|
|
396
|
+
|
|
397
|
+
// 调用ExplorationUser事件
|
|
398
|
+
|
|
399
|
+
this.click(data)
|
|
400
|
+
this.applyType = null
|
|
401
|
+
this.showModal = false
|
|
402
|
+
},
|
|
403
|
+
// 获取流程id
|
|
404
|
+
async getProcessId(processname) {
|
|
405
|
+
let data = {
|
|
406
|
+
workname: processname
|
|
407
|
+
}
|
|
408
|
+
let http = new HttpResetClass()
|
|
409
|
+
let res = await http.load(
|
|
410
|
+
'POST',
|
|
411
|
+
`${this.$androidUtil.getProxyUrl()}/rs/logic/getProcessId`,
|
|
412
|
+
{data: data},
|
|
413
|
+
{resolveMsg: null, rejectMsg: '流程标识获取失败!!!'}
|
|
414
|
+
)
|
|
415
|
+
|
|
416
|
+
return res.data
|
|
417
|
+
},
|
|
322
418
|
},
|
|
323
419
|
events: {
|
|
324
420
|
},
|