apply-clients 3.3.217 → 3.3.222
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/package.json +2 -2
- package/src/apply.js +1 -0
- package/src/applyAndroid.js +2 -1
- package/src/components/android/Order/ApplyOrder.vue +141 -0
- package/src/components/android/Process/AppExplorationUser.vue +1 -1
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +1 -1
- package/src/components/image/danwei.png +0 -0
- package/src/components/image/dizhi.png +0 -0
- package/src/components/image/name.png +0 -0
- package/src/components/image/phone.png +0 -0
- package/src/components/image/type.png +0 -0
- package/src/components/image/zaixiantousu1.png +0 -0
- package/src/components/image/zizhukaitong.png +0 -0
- package/src/components/image//346/210/221/347/232/204.png +0 -0
- package/src/components/product/Order/OrderMessage.vue +2 -1
- package/src/components/product/Process/ExplorationSelect.vue +374 -369
- package/src/components/product/Process/Service/ServiceControl.vue +3 -3
- package/src/components/product/Supervisory/SupervisoryhCart.vue +132 -124
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "apply-clients",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.222",
|
|
4
4
|
"description": "报建前端模块",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"directories": {
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"style": "0.0.3",
|
|
94
94
|
"style-loader": "^0.20.3",
|
|
95
95
|
"system-clients": "3.1.87",
|
|
96
|
-
"system-phone": "1.1
|
|
96
|
+
"system-phone": "1.2.81-1",
|
|
97
97
|
"url-loader": "^0.5.7",
|
|
98
98
|
"vue-client": "1.24.25",
|
|
99
99
|
"vue-hot-reload-api": "^1.2.0",
|
package/src/apply.js
CHANGED
|
@@ -81,6 +81,7 @@ export default function (filiale) {
|
|
|
81
81
|
Vue.component('apply-upload', (resolve) => { require(['./components/product/VueUtils/ApplyUpload'], resolve) })
|
|
82
82
|
Vue.component('apply-high-meter', (resolve) => { require(['./components/product/VueUtils/GaoPaiYi/HighMeter'], resolve) })
|
|
83
83
|
|
|
84
|
+
Vue.component('apply-order', (resolve) => { require(['./components/android/Order/ApplyOrder'], resolve) })
|
|
84
85
|
if (filiale) {
|
|
85
86
|
let filialeComp = require(`./filiale/${filiale}/pc`).specialComp
|
|
86
87
|
for (let key in filialeComp) {
|
package/src/applyAndroid.js
CHANGED
|
@@ -43,7 +43,8 @@ export default function (filiale) {
|
|
|
43
43
|
Vue.component('market_survey', (resolve) => { require(['./components/product/Function/MarketSurvey'], resolve) })
|
|
44
44
|
// 安装标准告知单
|
|
45
45
|
Vue.component('inform', (resolve) => { require(['./components/product/Function/Inform'], resolve) })
|
|
46
|
-
|
|
46
|
+
//手机预约报装页面
|
|
47
|
+
Vue.component('apply-order', (resolve) => { require(['./components/android/Order/ApplyOrder'], resolve) })
|
|
47
48
|
if (filiale) {
|
|
48
49
|
let filialeComp = require(`./filiale/${filiale}/android`).specialComp
|
|
49
50
|
for (let key in filialeComp) {
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div style="background-color: aliceblue">
|
|
3
|
+
<validator name='v'>
|
|
4
|
+
<div partial class="auto" >
|
|
5
|
+
<div style="width:auto;height: 50px; background-color: #0b87e2;margin-top: 40px ">
|
|
6
|
+
<label style="color:white;margin-top:10px ;font-size: 20px;margin-left: 20px;">报装预约</label>
|
|
7
|
+
</div>
|
|
8
|
+
<div class="row form-group app-input" style="margin-top: 10px">
|
|
9
|
+
<img src="../../image/name.png" style="width: 20px;height: 20px; margin-top: 15px; float: left;">
|
|
10
|
+
<label class="font_normal_body">用 户 名</label>
|
|
11
|
+
<input type="text" class="input" placeholder='请输入用户名' style="margin-top: 15px;" v-model="selectdata.f_user_name" v-validate:f_user_name = "['required']"/>
|
|
12
|
+
</div>
|
|
13
|
+
<div class="row form-group app-input">
|
|
14
|
+
<img src="../../image/phone.png" style="width: 20px;height: 20px; margin-top: 15px;float: left;">
|
|
15
|
+
<label class="font_normal_body">电    话</label>
|
|
16
|
+
<input type="number" class="input" style="margin-top: 15px;"placeholder='请输入用户人电话' v-model="selectdata.f_phone" v-validate:f_phone = "['required']" />
|
|
17
|
+
</div>
|
|
18
|
+
<div class="row form-group app-input">
|
|
19
|
+
<img src="../../image/dizhi.png" style="width: 20px;height: 20px; margin-top: 15px;float: left;">
|
|
20
|
+
<label class="font_normal_body">地    址</label>
|
|
21
|
+
<input type="text" class="input" style="margin-top: 15px;" placeholder='请输入用户人地址' v-model="selectdata.f_address" v-validate:f_address = "['required']" />
|
|
22
|
+
</div>
|
|
23
|
+
<div class="row form-group app-input">
|
|
24
|
+
<img src="../../image/danwei.png" style="width: 20px;height: 20px;margin-top: 15px; float: left;">
|
|
25
|
+
<label class="font_normal_body">预约公司</label>
|
|
26
|
+
<v-select
|
|
27
|
+
v-model="selectdata.f_orgname"
|
|
28
|
+
class="select select_list"
|
|
29
|
+
:options='orgnames'
|
|
30
|
+
:value-single="true"
|
|
31
|
+
:search="false"
|
|
32
|
+
placeholder='请选择要预约的公司'
|
|
33
|
+
style="margin-top: 15px;"
|
|
34
|
+
width="77%"
|
|
35
|
+
close-on-select >
|
|
36
|
+
</v-select>
|
|
37
|
+
</div>
|
|
38
|
+
<!-- <div class="row form-group app-input">-->
|
|
39
|
+
<!-- <label class="font_normal_body">公   司</label>-->
|
|
40
|
+
<!--<!– <input type="text" class="input_search" v-model="selectdata.f_orgname" v-validate:f_orgname = "['required']" />–>-->
|
|
41
|
+
<!-- </div>-->
|
|
42
|
+
<div class="row form-group app-input">
|
|
43
|
+
<img src="../../image/type.png" style="width: 20px;height: 20px; margin-top: 15px;float: left;">
|
|
44
|
+
<label class="font_normal_body">用气位置</label>
|
|
45
|
+
<input type="text" class="input" style="margin-top: 15px;" placeholder='请输入用气位置' v-model="selectdata.f_usegasposition" v-validate:f_usegasposition = "['required']" />
|
|
46
|
+
</div>
|
|
47
|
+
<div class="row form-group app-input">
|
|
48
|
+
<img src="../../image/我的.png" style="width: 20px;height: 20px;margin-top: 15px; float: left;">
|
|
49
|
+
<label class="font_normal_body">用戶类型</label>
|
|
50
|
+
<input type="text" class="input" style="margin-top: 15px;"placeholder='请输入用户类型' v-model="selectdata.f_user_type" v-validate:f_user_type = "['required']" />
|
|
51
|
+
</div>
|
|
52
|
+
<div class="row form-group app-input">
|
|
53
|
+
<img src="../../image/zizhukaitong.png" style="width: 20px;height: 20px;margin-top: 15px; float: left">
|
|
54
|
+
<label class="font_normal_body">省 市 区</label>
|
|
55
|
+
<input type="text" class="input" style="margin-top: 15px;"placeholder='请输入所在省市区' v-model="selectdata.f_pcd" v-validate:f_pcd = "['required']" />
|
|
56
|
+
</div>
|
|
57
|
+
<div class="row form-group app-input">
|
|
58
|
+
<img src="../../image/phone.png" style="width: 20px;height: 20px; margin-top: 15px; float: left;">
|
|
59
|
+
<label class="font_normal_body">备用电话</label>
|
|
60
|
+
<input type="number" class="input" style="margin-top: 15px;" placeholder='请输入备用电话' v-model="selectdata.f_spare_phone" v-validate:f_spare_phone = "['required']" />
|
|
61
|
+
</div>
|
|
62
|
+
<div class="row form-group app-input">
|
|
63
|
+
<img src="../../image/zizhukaitong.png" style="width: 20px;height: 20px; margin-top: 15px; float: left;">
|
|
64
|
+
<label class="font_normal_body">安装情况</label>
|
|
65
|
+
<input type="text" class="input" style="margin-top: 15px;" placeholder='请输入安装情况' v-model="selectdata.f_installation_situation" v-validate:f_installation_situation = "['required']" />
|
|
66
|
+
</div>
|
|
67
|
+
|
|
68
|
+
<div class="row form-group text-right" style="">
|
|
69
|
+
<button class="button_search button_spacing" :disabled='!$v.valid'
|
|
70
|
+
@click="checkOrder()">保存</button>
|
|
71
|
+
<button class="button_clear button_spacing" @click="clear()">清除</button>
|
|
72
|
+
</div>
|
|
73
|
+
</div>
|
|
74
|
+
</validator>
|
|
75
|
+
</div>
|
|
76
|
+
</template>
|
|
77
|
+
|
|
78
|
+
<script>
|
|
79
|
+
import Vue from "vue";
|
|
80
|
+
|
|
81
|
+
export default {
|
|
82
|
+
title: '预约报装',
|
|
83
|
+
name: "ApplyOrder",
|
|
84
|
+
data() {
|
|
85
|
+
return {
|
|
86
|
+
selectdata: null,
|
|
87
|
+
orgnames:null
|
|
88
|
+
// orgnames: [{label: '全部', value: ''}, ...this.$appdata.getParam('预约公司')]
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
methods: {
|
|
92
|
+
async GS(){
|
|
93
|
+
let res = await this.$resetpost(
|
|
94
|
+
`rs/sql/ApplyOrder`,
|
|
95
|
+
{"data":{}},
|
|
96
|
+
{resolveMsg: null, rejectMsg: '公司查询失败,请检查内容!!!'}
|
|
97
|
+
)
|
|
98
|
+
this.orgnames=res.data
|
|
99
|
+
},
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
async checkOrder() {
|
|
103
|
+
let data = {
|
|
104
|
+
selectdata: this.selectdata,
|
|
105
|
+
check: this.check,
|
|
106
|
+
user: this.$login.f
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
let res = await this.$resetpost(
|
|
110
|
+
`rs/logic/ApplyOrder`,
|
|
111
|
+
data,
|
|
112
|
+
{resolveMsg: null, rejectMsg: '申请报装失败,请检查内容!!!'}
|
|
113
|
+
)
|
|
114
|
+
this.clear()
|
|
115
|
+
},
|
|
116
|
+
clear() {
|
|
117
|
+
Object.keys(this.selectdata).forEach((key) => {
|
|
118
|
+
this.selectdata[key] = null
|
|
119
|
+
})
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
ready(){
|
|
123
|
+
this.GS()
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
</script>
|
|
127
|
+
|
|
128
|
+
<style scoped>
|
|
129
|
+
/*查询输入框*/
|
|
130
|
+
.input {
|
|
131
|
+
padding: 6px;
|
|
132
|
+
width: 77%;
|
|
133
|
+
height: 28px;
|
|
134
|
+
background-color: #ffffff;
|
|
135
|
+
border-radius: 2px;
|
|
136
|
+
border: solid 1px #c7c7c7;
|
|
137
|
+
color: #333333;
|
|
138
|
+
font-size: 12px;
|
|
139
|
+
font-family: PingFang;
|
|
140
|
+
}
|
|
141
|
+
</style>
|
|
@@ -157,7 +157,7 @@ export default {
|
|
|
157
157
|
}
|
|
158
158
|
}),
|
|
159
159
|
criteriaShow: false,
|
|
160
|
-
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')], // 所有报建类型
|
|
160
|
+
applytype: this.$appdata.getParam('报建类型')?[{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')]:[{label: '全部', value: ''}], // 所有报建类型
|
|
161
161
|
// applytype: [{label: '全部', value: ''},{label: '散户报建', value: '散户报建'}], // 所有报建类型
|
|
162
162
|
|
|
163
163
|
defnames: [{label: '全部', value: ''}]
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
}
|
|
163
163
|
}),
|
|
164
164
|
criteriaShow: false,
|
|
165
|
-
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')], // 所有报建类型
|
|
165
|
+
applytype: this.$appdata.getParam('报建类型')?[{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')]:[{label: '全部', value: ''}], // 所有报建类型
|
|
166
166
|
// applytype: [{label: '全部', value: ''},{label: '散户报建', value: '散户报建'}], // 所有报建类型
|
|
167
167
|
defnames: [{label: '全部', value: ''}]
|
|
168
168
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -218,7 +218,8 @@ export default {
|
|
|
218
218
|
computed: {
|
|
219
219
|
applyType () {
|
|
220
220
|
return this.$appdata.getParam("报建类型").filter(item => {
|
|
221
|
-
|
|
221
|
+
debugger
|
|
222
|
+
return item.label === '工商户代建' || item.label === '居民散户代建' || item.label ==='居民社区代建' || item.label ==='预埋管报建'
|
|
222
223
|
})
|
|
223
224
|
}
|
|
224
225
|
},
|