system-phone 1.2.96 → 1.2.97
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
CHANGED
|
Binary file
|
|
@@ -15,23 +15,57 @@
|
|
|
15
15
|
<!--<zhihuan-first v-show="componentName == 'zhihuan-first'" worktype="置换通气单" :sourcet="sourcet" tabname="置换待办" v-on:changesum="changesum"></zhihuan-first>-->
|
|
16
16
|
<!--</div>-->
|
|
17
17
|
</div>
|
|
18
|
+
<validator name="v">
|
|
19
|
+
<modal
|
|
20
|
+
v-if="showModal"
|
|
21
|
+
:show.sync="showModal"
|
|
22
|
+
backdrop="false"
|
|
23
|
+
title="工程类型"
|
|
24
|
+
cancel-text="取消"
|
|
25
|
+
ok-text="确认"
|
|
26
|
+
:callback="apply"
|
|
27
|
+
>
|
|
28
|
+
<div class="form-horizontal" slot="modal-body">
|
|
29
|
+
<div class="row form-group app-input" style="margin: 10px auto">
|
|
30
|
+
<label class="">报建类型:</label>
|
|
31
|
+
<div class="col-sm-8">
|
|
32
|
+
<v-select
|
|
33
|
+
v-model="applyType"
|
|
34
|
+
placeholder='请选择需要发起的工程类型'
|
|
35
|
+
:value.sync="applyType"
|
|
36
|
+
:options='applyTypes'
|
|
37
|
+
:value-single="true"
|
|
38
|
+
class="select select_list"
|
|
39
|
+
:search="false"
|
|
40
|
+
close-on-select ></v-select>
|
|
41
|
+
</div>
|
|
42
|
+
</div>
|
|
43
|
+
</div>
|
|
44
|
+
</modal>
|
|
45
|
+
</validator>
|
|
18
46
|
</div>
|
|
19
47
|
</template>
|
|
20
48
|
|
|
21
49
|
<script scoped>
|
|
22
50
|
import Vue from 'vue'
|
|
23
51
|
import * as Util from '../Util'
|
|
52
|
+
import {HttpResetClass} from "vue-client";
|
|
24
53
|
export default {
|
|
25
54
|
title: '待办工作导航',
|
|
26
55
|
data () {
|
|
27
56
|
return {
|
|
28
57
|
titleName:'待办工作',
|
|
58
|
+
showModal:false,
|
|
29
59
|
isMenu:true,
|
|
30
60
|
tabs: this.getTabs(),
|
|
31
61
|
text: '导航组件this',
|
|
32
62
|
beforeName:'待办工作',
|
|
33
63
|
componentName:'repair-first',
|
|
34
|
-
sourcet:'竖屏'
|
|
64
|
+
sourcet:'竖屏',
|
|
65
|
+
applyType: '', // 报建类型
|
|
66
|
+
// applyTypes:this.$appdata.getParam("手机报建类型"),
|
|
67
|
+
applyTypes:[{label:'散户报建',value:'散户报建'},{label:'工商户报建',value:'工商户报建'},{label:'团购报建',value:'团购报建'},{label:'改管报建',value:'改管报建'},{label:'增容报建',value:'增容报建'},{label:'退款报建',value:'退款报建'},{label:'团购转散户',value:'团购转散户'},{label:'报警器报建',value:'报警器报建'},{label:'工商业报警器报建',value:'工商业报警器报建'}],
|
|
68
|
+
|
|
35
69
|
}
|
|
36
70
|
},
|
|
37
71
|
ready () {
|
|
@@ -39,6 +73,79 @@
|
|
|
39
73
|
},
|
|
40
74
|
|
|
41
75
|
methods: {
|
|
76
|
+
click (row) {
|
|
77
|
+
let _this = this
|
|
78
|
+
this.$dispatch('gotoson', {
|
|
79
|
+
_this: _this,
|
|
80
|
+
title: row.defname,
|
|
81
|
+
safe: true
|
|
82
|
+
})
|
|
83
|
+
this.$goto('app-service-control', {selectdata: row})
|
|
84
|
+
},
|
|
85
|
+
async getProcessId(processname) {
|
|
86
|
+
let data = {
|
|
87
|
+
workname: processname
|
|
88
|
+
}
|
|
89
|
+
let http = new HttpResetClass()
|
|
90
|
+
let res = await http.load(
|
|
91
|
+
'POST',
|
|
92
|
+
`${this.$androidUtil.getProxyUrl()}/rs/logic/getProcessId`,
|
|
93
|
+
{data: data},
|
|
94
|
+
{resolveMsg: null, rejectMsg: '流程标识获取失败!!!'}
|
|
95
|
+
)
|
|
96
|
+
|
|
97
|
+
return res.data
|
|
98
|
+
},
|
|
99
|
+
async apply () {
|
|
100
|
+
if (this.applyType === '' || this.applyType === null) {
|
|
101
|
+
this.$showAlert('请选择需要发起的类型', 'warning', 3000)
|
|
102
|
+
return
|
|
103
|
+
}
|
|
104
|
+
let data = {
|
|
105
|
+
f_apply_type: this.applyType
|
|
106
|
+
}
|
|
107
|
+
if (this.applyType === '散户报建') {
|
|
108
|
+
data.processname = '散户报建流程'
|
|
109
|
+
data.defname = '报装申请'
|
|
110
|
+
} else if (this.applyType === '工商户报建') {
|
|
111
|
+
data.processname = '工商户报建流程'
|
|
112
|
+
data.defname = '报装申请'
|
|
113
|
+
} else if (this.applyType === '改管报建') {
|
|
114
|
+
data.processname = '改管报建流程'
|
|
115
|
+
data.defname = '报装申请'
|
|
116
|
+
} else if (this.applyType === '增容报建') {
|
|
117
|
+
data.processname = '增容报建流程'
|
|
118
|
+
data.defname = '报装申请'
|
|
119
|
+
} else if (this.applyType === '团购报建') {
|
|
120
|
+
data.processname = '团购报建流程'
|
|
121
|
+
data.defname = '报装申请'
|
|
122
|
+
} else if (this.applyType === '退款报建') {
|
|
123
|
+
data.processname = '退款报建流程'
|
|
124
|
+
data.defname = '终止报建'
|
|
125
|
+
} else if (this.applyType === '团购转散户') {
|
|
126
|
+
data.processname = '团购转散户报建流程'
|
|
127
|
+
data.defname = '信息确认'
|
|
128
|
+
}else if (this.applyType === '报警器报建') {
|
|
129
|
+
data.processname = '报警器报建流程'
|
|
130
|
+
data.defname = '报装申请'
|
|
131
|
+
}else if (this.applyType === '工商业报警器报建') {
|
|
132
|
+
data.processname = '工商业报警器报建流程'
|
|
133
|
+
data.defname = '报装申请'
|
|
134
|
+
} else {
|
|
135
|
+
this.$showMessage('暂无此类报装')
|
|
136
|
+
return
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
data.f_sub_state = "新增"
|
|
140
|
+
data.f_apply_source = "线下发起"
|
|
141
|
+
data.f_process_id = await this.getProcessId(data.processname)
|
|
142
|
+
|
|
143
|
+
// 调用ExplorationUser事件
|
|
144
|
+
|
|
145
|
+
this.click(data)
|
|
146
|
+
this.applyType = null
|
|
147
|
+
this.showModal = false
|
|
148
|
+
},
|
|
42
149
|
// 查询本地所有待办
|
|
43
150
|
getModelSum(){
|
|
44
151
|
for(var i = 0;i<this.tabs.length;i++){
|
|
@@ -122,14 +229,18 @@
|
|
|
122
229
|
|
|
123
230
|
},
|
|
124
231
|
gotopage(param,title) {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
232
|
+
if(title === '工程发起'){
|
|
233
|
+
this.showModal = !this.showModal
|
|
234
|
+
}else{
|
|
235
|
+
console.log('进入子组件')
|
|
236
|
+
var prpdata = {
|
|
237
|
+
_this:this,
|
|
238
|
+
title:title,
|
|
239
|
+
safe:false
|
|
240
|
+
}
|
|
241
|
+
this.$dispatch('gotoson',prpdata)
|
|
242
|
+
this.$goto(param,{sourcet:'竖屏',tabname:title})
|
|
130
243
|
}
|
|
131
|
-
this.$dispatch('gotoson',prpdata)
|
|
132
|
-
this.$goto(param,{sourcet:'竖屏',tabname:title})
|
|
133
244
|
},
|
|
134
245
|
mute () {
|
|
135
246
|
HostApp.mute()
|
|
@@ -138,6 +249,29 @@
|
|
|
138
249
|
}
|
|
139
250
|
</script>
|
|
140
251
|
<style lang="less">
|
|
252
|
+
.app-input {
|
|
253
|
+
label {
|
|
254
|
+
float: left;
|
|
255
|
+
}
|
|
256
|
+
.select {
|
|
257
|
+
button {
|
|
258
|
+
border: none;
|
|
259
|
+
outline: none;
|
|
260
|
+
text-align: left;
|
|
261
|
+
.btn-placeholder {
|
|
262
|
+
color: #ACA899
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
.datepicker {
|
|
267
|
+
.form-control:focus {
|
|
268
|
+
border: none!important;
|
|
269
|
+
outline: none!important;
|
|
270
|
+
-webkit-box-shadow: none;
|
|
271
|
+
box-shadow: none;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
}
|
|
141
275
|
.tab-befor-img {
|
|
142
276
|
content: '';
|
|
143
277
|
background-size: 30px;
|