apply-clients 3.3.81 → 3.3.85
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 +150 -127
- package/package.json +1 -1
- package/src/App.vue +22 -20
- package/src/apply.js +5 -0
- package/src/applyAndroid.js +39 -34
- package/src/components/android/AppOnetomany.vue +50 -8
- package/src/components/android/AppServiceView.vue +742 -683
- package/src/components/android/AppSign.vue +151 -142
- package/src/components/android/AppTakePic.vue +144 -143
- package/src/components/android/AreaSelect/AppResAreaSelect.vue +108 -0
- package/src/components/android/AreaSelect/AppResAreaSelectGroup.vue +136 -0
- package/src/components/android/Process/AppExplorationUser.vue +4 -1
- package/src/components/android/Process/AppServiceControl.vue +1411 -1348
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +311 -311
- package/src/components/product/AreaSelect/MyAreaSelect.vue +423 -0
- package/src/components/product/AreaSelect/ResAreaSelect.vue +106 -0
- package/src/components/product/AreaSelect/ResAreaSelectGroup.vue +150 -0
- package/src/components/product/AreaSelect/utils/EventListener.js +29 -0
- package/src/components/product/AreaSelect/utils/coerceBoolean.js +7 -0
- package/src/components/product/Function/InstallInfoSelect.vue +320 -320
- package/src/components/product/Onetomany.vue +49 -7
- package/src/components/product/Print/BuildOrder/buildOrderList.vue +8 -4
- package/src/components/product/Print/BuildOrder/printBuildOrder.vue +4 -0
- package/src/components/product/Process/ExplorationSelect.vue +36 -23
- package/src/components/product/Process/Service/ServiceControl.vue +62 -0
- package/src/components/product/ServiceView.vue +253 -4
- package/src/components/product/Supervisory/SupervisoryList.vue +29 -11
- package/src/main.js +27 -28
- package/yarn.lock +0 -9013
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<!--<v-select :options='options' placeholder='请选择'-->
|
|
3
|
+
<!-- :value.sync="selectres"-->
|
|
4
|
+
<!-- :multiple="isMul"-->
|
|
5
|
+
<!-- :search="issearch"-->
|
|
6
|
+
<!-- :close-on-select="!isMul"-->
|
|
7
|
+
<!-- @change="resChange"-->
|
|
8
|
+
<!-- :value-single="true"-->
|
|
9
|
+
<!-->-->
|
|
10
|
+
<!--</v-select>-->
|
|
11
|
+
<area-select :options='options' placeholder='请选择'
|
|
12
|
+
:value.sync="selectres"
|
|
13
|
+
:multiple="!isMul"
|
|
14
|
+
:search="issearch"
|
|
15
|
+
:close-on-select="isMul"
|
|
16
|
+
@change="resChange"
|
|
17
|
+
:value-single="true"
|
|
18
|
+
>
|
|
19
|
+
</area-select>
|
|
20
|
+
</template>
|
|
21
|
+
<script>
|
|
22
|
+
import {HttpResetClass} from 'vue-client'
|
|
23
|
+
|
|
24
|
+
export default {
|
|
25
|
+
title: '资源管理',
|
|
26
|
+
props: {
|
|
27
|
+
|
|
28
|
+
//资源类型
|
|
29
|
+
restype:'',
|
|
30
|
+
//资源数据
|
|
31
|
+
resObj:{},
|
|
32
|
+
options:[],
|
|
33
|
+
isMul: {
|
|
34
|
+
type: Boolean,
|
|
35
|
+
default: true
|
|
36
|
+
},
|
|
37
|
+
issearch: {
|
|
38
|
+
type: Boolean,
|
|
39
|
+
default: true
|
|
40
|
+
},
|
|
41
|
+
//资源初始化数据 默认选中值
|
|
42
|
+
initresid: {
|
|
43
|
+
type: Array,
|
|
44
|
+
default() { return [] },
|
|
45
|
+
},
|
|
46
|
+
//父层id
|
|
47
|
+
parentresid: {
|
|
48
|
+
type: Array,
|
|
49
|
+
default() { return [] },
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
data () {
|
|
53
|
+
return {
|
|
54
|
+
//资源数据
|
|
55
|
+
resObj:{},
|
|
56
|
+
//资源数据列表
|
|
57
|
+
resoptions:[],
|
|
58
|
+
//选中资源数据
|
|
59
|
+
selectres: [],
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
ready () {
|
|
63
|
+
//获取资源列表
|
|
64
|
+
this.getResList()
|
|
65
|
+
},
|
|
66
|
+
methods:{
|
|
67
|
+
//资源改变
|
|
68
|
+
resChange(val){
|
|
69
|
+
let orgnames=[]
|
|
70
|
+
Object.keys(this.options).forEach((key) => {
|
|
71
|
+
if(this.selectres.includes(this.options[key].value))
|
|
72
|
+
orgnames.push(this.options[key].label)
|
|
73
|
+
})
|
|
74
|
+
// console.log("资源变化:",this.selectres, orgnames,this.options)
|
|
75
|
+
this.$dispatch('res-select', this.selectres, orgnames,this.options)
|
|
76
|
+
},
|
|
77
|
+
//获取资源数据
|
|
78
|
+
async getResList() {
|
|
79
|
+
this.dealdata()
|
|
80
|
+
},
|
|
81
|
+
dealdata(){
|
|
82
|
+
//赋值资源数据选中初始值
|
|
83
|
+
let arryselect=[]
|
|
84
|
+
this.options.forEach((item) => {
|
|
85
|
+
if(this.initresid.length>0){
|
|
86
|
+
this.initresid.forEach((init) => {
|
|
87
|
+
if(item.value==init){
|
|
88
|
+
arryselect.push(item.value)
|
|
89
|
+
}
|
|
90
|
+
})
|
|
91
|
+
}
|
|
92
|
+
})
|
|
93
|
+
//赋值资源选中初始值
|
|
94
|
+
this.selectres=arryselect
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
watch: {
|
|
98
|
+
//监听初始化资源id
|
|
99
|
+
'initresid.length'(){
|
|
100
|
+
this.dealdata()
|
|
101
|
+
},
|
|
102
|
+
//监听初始化资源id
|
|
103
|
+
'parentresid'(){
|
|
104
|
+
this.dealdata()
|
|
105
|
+
},
|
|
106
|
+
},
|
|
107
|
+
}
|
|
108
|
+
</script>
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div :class="style">
|
|
3
|
+
<label :class="labelstyle" :style="shijifontColors">市  县</label>
|
|
4
|
+
<app-res-area-select
|
|
5
|
+
:options = options
|
|
6
|
+
@res-select="getXian"
|
|
7
|
+
:issearch = "false"
|
|
8
|
+
>
|
|
9
|
+
</app-res-area-select>
|
|
10
|
+
</div>
|
|
11
|
+
<div :class="style">
|
|
12
|
+
<label :class="labelstyle" :style="xianfontColors">街道乡镇</label>
|
|
13
|
+
<app-res-area-select
|
|
14
|
+
:options = xian_options
|
|
15
|
+
@res-select="getjdao"
|
|
16
|
+
:issearch = "false"
|
|
17
|
+
>
|
|
18
|
+
</app-res-area-select>
|
|
19
|
+
</div>
|
|
20
|
+
<div :class="style">
|
|
21
|
+
<label :class="labelstyle" :style="shequfontColors">社  区</label>
|
|
22
|
+
<app-res-area-select
|
|
23
|
+
:options = jdao_options
|
|
24
|
+
@res-select="getshequ"
|
|
25
|
+
:issearch = "false"
|
|
26
|
+
>
|
|
27
|
+
</app-res-area-select>
|
|
28
|
+
</div>
|
|
29
|
+
</template>
|
|
30
|
+
<script>
|
|
31
|
+
|
|
32
|
+
import { HttpResetClass } from 'vue-client'
|
|
33
|
+
import Vue from "vue";
|
|
34
|
+
export default {
|
|
35
|
+
title: '区域选择分组',
|
|
36
|
+
props: {
|
|
37
|
+
style: {
|
|
38
|
+
type: String,
|
|
39
|
+
default: 'col-xs-12 form-group app-input'
|
|
40
|
+
},
|
|
41
|
+
labelstyle: {
|
|
42
|
+
type: String,
|
|
43
|
+
default: 'font_normal_title'
|
|
44
|
+
},
|
|
45
|
+
mul: {
|
|
46
|
+
type: Boolean,
|
|
47
|
+
default: true
|
|
48
|
+
},
|
|
49
|
+
//初始值 默认选中值
|
|
50
|
+
initres: {
|
|
51
|
+
type: Object,
|
|
52
|
+
default: null,
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
data () {
|
|
56
|
+
return {
|
|
57
|
+
options:[],
|
|
58
|
+
initres: [],
|
|
59
|
+
xianginitres: [],
|
|
60
|
+
jdaoinitres: [],
|
|
61
|
+
xian_options:[],
|
|
62
|
+
jdao_options:[],
|
|
63
|
+
shijifontColors:"color: #cd5c5c",//红色
|
|
64
|
+
xianfontColors:"color: #cd5c5c",//红色
|
|
65
|
+
shequfontColors:"color: #cd5c5c",//红色
|
|
66
|
+
pubColors:"color: #0c2e4d",// 黑色
|
|
67
|
+
pub2Colors:"color: #cd5c5c"// 红色
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
ready () {
|
|
71
|
+
this.getResList();
|
|
72
|
+
},
|
|
73
|
+
methods:{
|
|
74
|
+
//获取区域地址
|
|
75
|
+
async getResList() {
|
|
76
|
+
let http = new HttpResetClass()
|
|
77
|
+
// let req = await http.load('POST', '/rs/logic/resAreaSelect', {
|
|
78
|
+
let req = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/resAreaSelect`, {
|
|
79
|
+
userid: Vue.user.id,
|
|
80
|
+
orgid: Vue.user.orgid
|
|
81
|
+
}, {resolveMsg: null, rejectMsg: '获取区域地址失败'})
|
|
82
|
+
this.options = []
|
|
83
|
+
this.options = req.data
|
|
84
|
+
},
|
|
85
|
+
async getXian(value,lable,obj) {
|
|
86
|
+
this.xian_options = []
|
|
87
|
+
this.jdao_options = []
|
|
88
|
+
let newFilArr = obj.filter( (item,i) =>{
|
|
89
|
+
if(item.value == value){
|
|
90
|
+
return item
|
|
91
|
+
}
|
|
92
|
+
} )
|
|
93
|
+
if (newFilArr.length>0){
|
|
94
|
+
this.xian_options = newFilArr[0].children
|
|
95
|
+
}
|
|
96
|
+
if (value !=null && value.length!=0){
|
|
97
|
+
this.shijifontColors = this.pubColors
|
|
98
|
+
}else {
|
|
99
|
+
this.shijifontColors = this.pub2Colors
|
|
100
|
+
this.xianfontColors = this.pub2Colors
|
|
101
|
+
this.shequfontColors = this.pub2Colors
|
|
102
|
+
}
|
|
103
|
+
this.$dispatch('shiji-select', value, lable)
|
|
104
|
+
},
|
|
105
|
+
async getjdao(value,lable,obj) {
|
|
106
|
+
this.jdao_options = []
|
|
107
|
+
let newFilArr = obj.filter( (item,i) =>{
|
|
108
|
+
if(item.value == value){
|
|
109
|
+
return item
|
|
110
|
+
}
|
|
111
|
+
} )
|
|
112
|
+
if (newFilArr.length>0){
|
|
113
|
+
this.jdao_options = newFilArr[0].children
|
|
114
|
+
}
|
|
115
|
+
if (value !=null && value.length!=0){
|
|
116
|
+
this.xianfontColors = this.pubColors
|
|
117
|
+
}else {
|
|
118
|
+
this.xianfontColors = this.pub2Colors
|
|
119
|
+
this.shequfontColors = this.pub2Colors
|
|
120
|
+
}
|
|
121
|
+
this.$dispatch('xian-select',value, lable)
|
|
122
|
+
},
|
|
123
|
+
async getshequ(value,lable,obj) {
|
|
124
|
+
if (value !=null && value.length!=0){
|
|
125
|
+
this.shequfontColors = this.pubColors
|
|
126
|
+
}else {
|
|
127
|
+
this.shequfontColors = this.pub2Colors
|
|
128
|
+
}
|
|
129
|
+
this.$dispatch('shequ-select',value, lable)
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
watch: {
|
|
133
|
+
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
</script>
|
|
@@ -269,7 +269,7 @@ export default {
|
|
|
269
269
|
showModal: false,
|
|
270
270
|
applyType: '', // 报建类型
|
|
271
271
|
applyTypes:this.$appdata.getParam("手机报建类型"),
|
|
272
|
-
//applyTypes:[{label:'散户报建',value:'散户报建'},{label:'工商户报建',value:'工商户报建'},{label:'团购报建',value:'团购报建'},{label:'改管报建',value:'改管报建'},{label:'增容报建',value:'增容报建'},{label:'退款报建',value:'退款报建'},{label:'团购转散户',value:'团购转散户'}],
|
|
272
|
+
// applyTypes:[{label:'散户报建',value:'散户报建'},{label:'工商户报建',value:'工商户报建'},{label:'团购报建',value:'团购报建'},{label:'改管报建',value:'改管报建'},{label:'增容报建',value:'增容报建'},{label:'退款报建',value:'退款报建'},{label:'团购转散户',value:'团购转散户'},{label:'报警器报建',value:'报警器报建'}],
|
|
273
273
|
criteriaShow: false,
|
|
274
274
|
// applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')], // 所有报建类型
|
|
275
275
|
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型') || [] ], // 所有报建类型
|
|
@@ -385,6 +385,9 @@ export default {
|
|
|
385
385
|
} else if (this.applyType === '团购转散户') {
|
|
386
386
|
data.processname = '团购转散户报建流程'
|
|
387
387
|
data.defname = '信息确认'
|
|
388
|
+
}else if (this.applyType === '报警器报建') {
|
|
389
|
+
data.processname = '报警器报建流程'
|
|
390
|
+
data.defname = '报装申请'
|
|
388
391
|
} else {
|
|
389
392
|
this.$showMessage('暂无此类报装')
|
|
390
393
|
return
|