apply-clients 3.3.222 → 3.3.223
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 +1 -1
- package/src/components/android/Order/ApplyOrder.vue +141 -141
- package/src/components/product/Order/OrderApplyList.vue +1 -2
- package/src/components/product/Order/OrderMessage.vue +1 -1
- package/src/components/product/Process/ExplorationSelect.vue +374 -374
- package/src/components/product/Supervisory/SupervisoryhCart.vue +132 -132
package/package.json
CHANGED
|
@@ -1,141 +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>
|
|
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>
|
|
@@ -180,7 +180,7 @@
|
|
|
180
180
|
>审核</button>
|
|
181
181
|
<button class="button_search button_spacing width-60"
|
|
182
182
|
@click="$parent.$parent.$parent.handleOrder('process', row)"
|
|
183
|
-
v-if="row.f_orderstate === '待处理'
|
|
183
|
+
v-if="row.f_orderstate === '待处理'"
|
|
184
184
|
>处理</button>
|
|
185
185
|
</td>
|
|
186
186
|
</tr>
|
|
@@ -237,7 +237,6 @@
|
|
|
237
237
|
events: {
|
|
238
238
|
},
|
|
239
239
|
methods: {
|
|
240
|
-
// 处理
|
|
241
240
|
handleOrder (type, row) {
|
|
242
241
|
this.$dispatch('handleOrder', type, row)
|
|
243
242
|
},
|
|
@@ -219,7 +219,7 @@ export default {
|
|
|
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
|
+
return item.label === '工商户代建' || item.label === '居民散户代建' || item.label ==='居民社区代建' || item.label ==='预埋管报建'|| item.label ==='外线工程建设'
|
|
223
223
|
})
|
|
224
224
|
}
|
|
225
225
|
},
|