apply-clients 4.1.59-weinan → 4.1.61-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.
- package/index.html +30 -30
- package/package.json +1 -1
- package/src/apply.js +81 -81
- package/src/applyAndroid.js +52 -52
- package/src/components/app_apply/AppChargeManagement.vue +749 -749
- package/src/components/app_apply/AppInstallationDetails.vue +529 -529
- package/src/components/app_apply/AppProcessSupervisory.vue +214 -214
- package/src/components/app_apply/AppSupervisoryCart.vue +68 -68
- package/src/components/app_apply/AppTakePic.vue +146 -146
- package/src/components/app_apply/AppdevicesDetails.vue +867 -867
- package/src/components/app_apply/ApplyInfo.vue +56 -56
- package/src/components/app_apply/ApplyToDoList.vue +292 -292
- package/src/components/app_apply/PlaceControler.vue +274 -274
- package/src/components/app_apply/ServiceControl.vue +440 -440
- package/src/components/app_apply/ServiceView.vue +394 -394
- package/src/components/app_apply/materialshoufei.vue +243 -243
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +252 -252
- package/src/components/product/Process/ExplorationSelect.vue +377 -377
- package/src/components/product/Process/ExplorationUser.vue +134 -134
- package/src/components/product/Process/Processes/InstallationDetails.vue +515 -515
- package/src/components/product/Process/Processes/chargeManagement.vue +545 -545
- package/src/components/product/Process/Processes/devicesDetails.vue +843 -843
- package/src/components/product/Process/Processes/materialshoufei.vue +5 -0
- package/src/components/product/Process/Service/ServiceControl.vue +25 -2
- package/src/components/product/Stop/StopApply.vue +101 -101
- package/src/components/product/Stop/StopApplyList.vue +266 -266
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +200 -200
- package/src/components/product/Supervisory/SupervisoryControl.vue +124 -124
- package/src/components/product/Supervisory/SupervisoryList.vue +221 -221
- package/src/components/product/VueUtils/ApplyUpload.vue +276 -276
- package/src/main.js +25 -25
|
@@ -121,6 +121,11 @@ export default {
|
|
|
121
121
|
// 模态框确定按钮保存数据
|
|
122
122
|
async addpaydipetail() {
|
|
123
123
|
let http = new HttpResetClass()
|
|
124
|
+
if(this.addItem.f_material_number==''||this.addItem.f_material_number==null){
|
|
125
|
+
//提示数量不能为空
|
|
126
|
+
this.$showMessage('请输入数量', 'warning')
|
|
127
|
+
throw null
|
|
128
|
+
}
|
|
124
129
|
this.addItem.f_process_id = this.selectdata.f_process_id
|
|
125
130
|
this.addItem.f_apply_num = this.selectdata.f_apply_num
|
|
126
131
|
this.addItem.f_operator = this.$login.f.name
|
|
@@ -746,6 +746,20 @@ export default {
|
|
|
746
746
|
}
|
|
747
747
|
}
|
|
748
748
|
this.getPcd()
|
|
749
|
+
},
|
|
750
|
+
getPerSon(){
|
|
751
|
+
//查询是否有用户
|
|
752
|
+
let http = new HttpResetClass()
|
|
753
|
+
let data = {
|
|
754
|
+
condition: '1=1',
|
|
755
|
+
f_filialeid: this.$login.f.orgid,
|
|
756
|
+
f_process_id: this.selectdata.f_process_id,
|
|
757
|
+
}
|
|
758
|
+
let res = http.load('POST', 'rs/sql/getAddressAanUserinfo', {data:data}, {
|
|
759
|
+
resolveMsg: null,
|
|
760
|
+
rejectMsg: null
|
|
761
|
+
})
|
|
762
|
+
return res
|
|
749
763
|
}
|
|
750
764
|
// ========================= 武安 =================================
|
|
751
765
|
},
|
|
@@ -772,8 +786,18 @@ export default {
|
|
|
772
786
|
},
|
|
773
787
|
// 获取view层button事件/
|
|
774
788
|
async 'button'(model) {
|
|
775
|
-
// 修改提交数据
|
|
776
789
|
model = Object.assign({}, this.selectdata, model)
|
|
790
|
+
if(this.show_data.components.length>0 && model.button.button_name === '提交') {
|
|
791
|
+
for (let i = 0; i < this.show_data.components.length; i++) {
|
|
792
|
+
if (this.show_data.components[i].name == 'apply-address-userinfo-management') {
|
|
793
|
+
let result = await this.getPerSon()
|
|
794
|
+
if (result.data.length == 0) {
|
|
795
|
+
this.$showAlert('请录入用户信息', 'warning', 3000)
|
|
796
|
+
return
|
|
797
|
+
}
|
|
798
|
+
}
|
|
799
|
+
}
|
|
800
|
+
}
|
|
777
801
|
// 点击重置按钮就重置数据
|
|
778
802
|
if (model.button.button_name === '重置') {
|
|
779
803
|
this.$dispatch('breakControl', this.data)
|
|
@@ -787,7 +811,6 @@ export default {
|
|
|
787
811
|
return
|
|
788
812
|
}
|
|
789
813
|
if (model.f_entry_name && model.defname == '报建登记'){
|
|
790
|
-
debugger
|
|
791
814
|
let http = new HttpResetClass()
|
|
792
815
|
let data = {
|
|
793
816
|
tablename:'t_apply',
|
|
@@ -1,101 +1,101 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="flex-row">
|
|
3
|
-
<div class="basic-main">
|
|
4
|
-
<stop-apply-list v-ref:query></stop-apply-list>
|
|
5
|
-
</div>
|
|
6
|
-
|
|
7
|
-
<modal v-if="showModal" :show.sync="showModal" backdrop="false" large>
|
|
8
|
-
<header slot="modal-header" class="modal-header">
|
|
9
|
-
<button type="button" class="close" @click="closeModal()"><span>×</span></button>
|
|
10
|
-
<span class="modal-title"><font size="3">撤销</font></span>
|
|
11
|
-
</header>
|
|
12
|
-
<article slot="modal-body" class="modal-body clearfix">
|
|
13
|
-
<div :class="data.f_cancel_reason ? '' : 'has-error'" class="form-group">
|
|
14
|
-
<label class="control-label-justify control-label col-sm-1">撤销原因</label>
|
|
15
|
-
<div class="col-sm-9">
|
|
16
|
-
<textarea
|
|
17
|
-
class="form-control input_view" style="width: 100%" rows="5"
|
|
18
|
-
v-model="data.f_cancel_reason" :value="data.f_cancel_reason"
|
|
19
|
-
></textarea>
|
|
20
|
-
</div>
|
|
21
|
-
</div>
|
|
22
|
-
</article>
|
|
23
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
24
|
-
<button :class="!data.f_cancel_reason ? 'btn btn-default':'btn btn-primary'"
|
|
25
|
-
:disabled="!data.f_cancel_reason" type="button" @click="confirmModal()">
|
|
26
|
-
确认
|
|
27
|
-
</button>
|
|
28
|
-
</footer>
|
|
29
|
-
</modal>
|
|
30
|
-
</div>
|
|
31
|
-
</template>
|
|
32
|
-
|
|
33
|
-
<script>
|
|
34
|
-
import {HttpResetClass} from "vue-client";
|
|
35
|
-
|
|
36
|
-
export default {
|
|
37
|
-
title: '终止报建',
|
|
38
|
-
data () {
|
|
39
|
-
return {
|
|
40
|
-
showModal: false,
|
|
41
|
-
data: null
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
ready () {
|
|
45
|
-
},
|
|
46
|
-
methods: {
|
|
47
|
-
closeModal () {
|
|
48
|
-
this.showModal = false
|
|
49
|
-
this.data = null
|
|
50
|
-
|
|
51
|
-
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
52
|
-
},
|
|
53
|
-
async confirmModal () {
|
|
54
|
-
let data = {
|
|
55
|
-
model: this.data,
|
|
56
|
-
loginUser: this.$login.f
|
|
57
|
-
}
|
|
58
|
-
let http = new HttpResetClass()
|
|
59
|
-
let res = await http.load('post', `rs/logic/cancelStopApply`, {data:data},
|
|
60
|
-
{resolveMsg: null, rejectMsg: '撤销失败!!!'}
|
|
61
|
-
)
|
|
62
|
-
|
|
63
|
-
this.closeModal()
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
events: {
|
|
67
|
-
'search' () {
|
|
68
|
-
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
69
|
-
},
|
|
70
|
-
'cancelStopApply' (row) {
|
|
71
|
-
this.data = row
|
|
72
|
-
|
|
73
|
-
this.showModal = true
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
</script>
|
|
78
|
-
|
|
79
|
-
<style scoped>
|
|
80
|
-
.control-label-justify {
|
|
81
|
-
display: inline-block;
|
|
82
|
-
vertical-align: top;
|
|
83
|
-
width: 110px;
|
|
84
|
-
text-align: justify;
|
|
85
|
-
font-family: PingFang-SC-Bold;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.control-label-justify::after {
|
|
89
|
-
content: "";
|
|
90
|
-
display: inline-block;
|
|
91
|
-
width: 100%;
|
|
92
|
-
overflow: hidden;
|
|
93
|
-
height: 0;
|
|
94
|
-
}
|
|
95
|
-
.clearfix:after,.clearfix:before{
|
|
96
|
-
display: table;
|
|
97
|
-
}
|
|
98
|
-
.clearfix:after{
|
|
99
|
-
clear: both;
|
|
100
|
-
}
|
|
101
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex-row">
|
|
3
|
+
<div class="basic-main">
|
|
4
|
+
<stop-apply-list v-ref:query></stop-apply-list>
|
|
5
|
+
</div>
|
|
6
|
+
|
|
7
|
+
<modal v-if="showModal" :show.sync="showModal" backdrop="false" large>
|
|
8
|
+
<header slot="modal-header" class="modal-header">
|
|
9
|
+
<button type="button" class="close" @click="closeModal()"><span>×</span></button>
|
|
10
|
+
<span class="modal-title"><font size="3">撤销</font></span>
|
|
11
|
+
</header>
|
|
12
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
13
|
+
<div :class="data.f_cancel_reason ? '' : 'has-error'" class="form-group">
|
|
14
|
+
<label class="control-label-justify control-label col-sm-1">撤销原因</label>
|
|
15
|
+
<div class="col-sm-9">
|
|
16
|
+
<textarea
|
|
17
|
+
class="form-control input_view" style="width: 100%" rows="5"
|
|
18
|
+
v-model="data.f_cancel_reason" :value="data.f_cancel_reason"
|
|
19
|
+
></textarea>
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
</article>
|
|
23
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
24
|
+
<button :class="!data.f_cancel_reason ? 'btn btn-default':'btn btn-primary'"
|
|
25
|
+
:disabled="!data.f_cancel_reason" type="button" @click="confirmModal()">
|
|
26
|
+
确认
|
|
27
|
+
</button>
|
|
28
|
+
</footer>
|
|
29
|
+
</modal>
|
|
30
|
+
</div>
|
|
31
|
+
</template>
|
|
32
|
+
|
|
33
|
+
<script>
|
|
34
|
+
import {HttpResetClass} from "vue-client";
|
|
35
|
+
|
|
36
|
+
export default {
|
|
37
|
+
title: '终止报建',
|
|
38
|
+
data () {
|
|
39
|
+
return {
|
|
40
|
+
showModal: false,
|
|
41
|
+
data: null
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
ready () {
|
|
45
|
+
},
|
|
46
|
+
methods: {
|
|
47
|
+
closeModal () {
|
|
48
|
+
this.showModal = false
|
|
49
|
+
this.data = null
|
|
50
|
+
|
|
51
|
+
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
52
|
+
},
|
|
53
|
+
async confirmModal () {
|
|
54
|
+
let data = {
|
|
55
|
+
model: this.data,
|
|
56
|
+
loginUser: this.$login.f
|
|
57
|
+
}
|
|
58
|
+
let http = new HttpResetClass()
|
|
59
|
+
let res = await http.load('post', `rs/logic/cancelStopApply`, {data:data},
|
|
60
|
+
{resolveMsg: null, rejectMsg: '撤销失败!!!'}
|
|
61
|
+
)
|
|
62
|
+
|
|
63
|
+
this.closeModal()
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
events: {
|
|
67
|
+
'search' () {
|
|
68
|
+
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
69
|
+
},
|
|
70
|
+
'cancelStopApply' (row) {
|
|
71
|
+
this.data = row
|
|
72
|
+
|
|
73
|
+
this.showModal = true
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
</script>
|
|
78
|
+
|
|
79
|
+
<style scoped>
|
|
80
|
+
.control-label-justify {
|
|
81
|
+
display: inline-block;
|
|
82
|
+
vertical-align: top;
|
|
83
|
+
width: 110px;
|
|
84
|
+
text-align: justify;
|
|
85
|
+
font-family: PingFang-SC-Bold;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.control-label-justify::after {
|
|
89
|
+
content: "";
|
|
90
|
+
display: inline-block;
|
|
91
|
+
width: 100%;
|
|
92
|
+
overflow: hidden;
|
|
93
|
+
height: 0;
|
|
94
|
+
}
|
|
95
|
+
.clearfix:after,.clearfix:before{
|
|
96
|
+
display: table;
|
|
97
|
+
}
|
|
98
|
+
.clearfix:after{
|
|
99
|
+
clear: both;
|
|
100
|
+
}
|
|
101
|
+
</style>
|