apply-clients 5.0.35 → 5.0.36-2
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 +3 -3
- package/src/android.js +1 -1
- package/src/apply.js +15 -1
- package/src/assets//345/210/240/351/231/244.png +0 -0
- package/src/assets//347/224/250/346/210/267/345/234/260/345/235/200.png +0 -0
- package/src/assets//347/224/250/346/210/267/345/247/223/345/220/215.png +0 -0
- package/src/assets//347/224/250/346/210/267/347/224/265/350/257/235.png +0 -0
- package/src/components/app_apply/ApplyApp.vue +6 -6
- package/src/components/app_apply/ApplyDownList.vue +18 -16
- package/src/components/app_apply/ApplyInfo.vue +2 -2
- package/src/components/app_apply/ApplyListUpload.vue +15 -5
- package/src/components/app_apply/ApplyToDoList.vue +201 -54
- package/src/components/app_apply/ApplyUserInfo.vue +2 -2
- package/src/components/app_apply/FieldExploration.vue +0 -1
- package/src/components/app_apply/Gongcheng.vue +3631 -0
- package/src/components/app_apply/OneToMany.vue +194 -0
- package/src/components/app_apply/PlaceControler.vue +230 -189
- package/src/components/app_apply/ServiceControl.vue +687 -442
- package/src/components/app_apply/ServiceView.vue +44 -17
- package/src/components/app_apply/ezhou/FeiMinYongV.vue +109 -0
- package/src/components/app_apply/ezhou/FeiMinYongVV.vue +100 -0
- package/src/components/app_apply/ezhou/MinYong.vue +92 -0
- package/src/components/app_apply/ezhou/ServiceView.vue +745 -0
- package/src/components/image/doc.jpg +0 -0
- package/src/components/image/dwg.png +0 -0
- package/src/components/image/dxf.png +0 -0
- package/src/components/image/excel.jpg +0 -0
- package/src/components/image/pdf.jpg +0 -0
- package/src/components/phone/phoneselect.vue +250 -0
- package/src/components/phone/phoneselect2.vue +112 -0
- package/src/components/product/Common/ApplyValidateBill.vue +13 -6
- package/src/components/product/Common/PrintBill.vue +7 -6
- package/src/components/product/EngineeringManagement/EngineerUpload.vue +304 -0
- package/src/components/product/EngineeringManagement/EngineeringManagement.vue +137 -0
- package/src/components/product/EngineeringManagement/EngineeringSelect.vue +586 -0
- package/src/components/product/EngineeringSupervisory/EngineeringApplyStopInfo.vue +281 -0
- package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryControl.vue +132 -0
- package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryList.vue +340 -0
- package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryServiceControl.vue +490 -0
- package/src/components/product/Function/InstallInfoSelect.vue +255 -254
- package/src/components/product/Function/Service/FunctionServiceControl.vue +37 -1
- package/src/components/product/Function/functions/ApplyUpload.vue +556 -0
- package/src/components/product/Function/functions/BuyerMessage.vue +512 -512
- package/src/components/product/Function/functions/InstallFee.vue +589 -347
- package/src/components/product/Function/functions/InstallFeeInfo.vue +6 -1
- package/src/components/product/Process/ExplorationSelect.vue +653 -636
- package/src/components/product/Process/Processes/CustomerRecordMessage.vue +2 -5
- package/src/components/product/Process/Processes/Service/ApplyChargeSearch.vue +392 -305
- package/src/components/product/Process/Processes/Service/PaperTicketBill.vue +85 -0
- package/src/components/product/Process/Processes/Service/ServiceControl.vue +1885 -1493
- package/src/components/product/ServiceView.vue +810 -800
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +162 -10
- package/src/components/product/Supervisory/SupervisoryList.vue +77 -13
- package/src/components/product/applyReport/ApplyReport.vue +205 -0
- package/src/components/product/applyReport/PrintApplyReport.vue +116 -0
- package/src/components/product/stopInfo/ApplyStopInfo.vue +281 -280
- package/src/ezhouAndroid.js +48 -0
- package/src/index.js +3 -2
- package/src/main.js +1 -1
- package/src/plugins/commonService.js +11 -7
- package/static/newStyle/clear.png +0 -0
- package/static/newStyle/fife.png +0 -0
- package/static/newStyle/hidden.png +0 -0
- package/static/newStyle/label-clear.png +0 -0
- package/static/newStyle/left-img.png +0 -0
- package/static/newStyle/list_ok.png +0 -0
- package/static/newStyle/login-check.png +0 -0
- package/static/newStyle/login-con.png +0 -0
- package/static/newStyle/login-do.gif +0 -0
- package/static/newStyle/login-f.png +0 -0
- package/static/newStyle/login-info.png +0 -0
- package/static/newStyle/login-left.png +0 -0
- package/static/newStyle/login-org.png +0 -0
- package/static/newStyle/login-pwd.png +0 -0
- package/static/newStyle/login-user.png +0 -0
- package/static/newStyle/loginbg.gif +0 -0
- package/static/newStyle/loginbg1280.gif +0 -0
- package/static/newStyle/loginbg1366.gif +0 -0
- package/static/newStyle/loginbg_1.gif +0 -0
- package/static/newStyle/searchin.png +0 -0
- package/static/newStyle/searchout.png +0 -0
- package/static/newStyle/setting.png +0 -0
- package/static/newStyle/setting1.png +0 -0
- package/static/newStyle/shirk.png +0 -0
- package/static/newStyle/stretch_bottom.png +0 -0
- package/static/newStyle/stretch_left.png +0 -0
- package/static/newStyle/stretch_right.png +0 -0
- package/static/newStyle/stretch_top.png +0 -0
- package/static/newStyle/system-off.png +0 -0
- package/static/newStyle//350/261/252/344/275/263/347/207/203/346/260/224.png +0 -0
- package/yarn.lock +0 -8072
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="repair-bg auto" id="repair-first" style="padding-bottom:5px;overflow:auto">
|
|
3
|
+
<div style="text-align: center"> <button type="button" name="button" class="btn btn-primary" style="background-color:#499edf;" @click="addRow()">新增项目</button>
|
|
4
|
+
</div>
|
|
5
|
+
<div class="panel panel-default repair-info-content auto">
|
|
6
|
+
<div class="panel-body">
|
|
7
|
+
<div class="panel panel-default well" v-for="row in rows" >
|
|
8
|
+
<div class="panel-body bg-info" style="padding: 10px">
|
|
9
|
+
<div class="row form-group">
|
|
10
|
+
<div class="col-sm-12 col-xs-12 col-md-12">
|
|
11
|
+
<div class="row" v-for="field in fields">
|
|
12
|
+
<div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
|
|
13
|
+
{{field.label}}:{{row[field.field]}}
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="col-sm-12 col-xs-12 col-md-12">
|
|
18
|
+
<button type="button" name="button" class="btn btn-primary" style="background-color:#499edf;float: right" @click="deleteRow(row)">删除</button>
|
|
19
|
+
</div>
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
<modal :show.sync="show" backdrop="false">
|
|
26
|
+
<header slot="modal-header" class="modal-header">
|
|
27
|
+
<h3 style="color:black" class="modal-title">新增</h3>
|
|
28
|
+
</header>
|
|
29
|
+
<article slot="modal-body">
|
|
30
|
+
<div class="row">
|
|
31
|
+
<label class=" col-sm-4 control-label">收费项目:</label>
|
|
32
|
+
<div class="col-sm-5">
|
|
33
|
+
<v-select :options="f_project_items" placeholder='收费项目'
|
|
34
|
+
:width="100" style="width:100%"
|
|
35
|
+
:value-single="true"
|
|
36
|
+
v-model="model.f_project_item" :value.sync="model.f_project_item" close-on-select>
|
|
37
|
+
</v-select>
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
<div class="row">
|
|
41
|
+
<label class=" col-sm-4 control-label">数量:</label>
|
|
42
|
+
<div class="col-sm-5">
|
|
43
|
+
<input class="form-control" type="text" v-model="model.f_amount" >
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
<div class="row">
|
|
47
|
+
<label class=" col-sm-4 control-label">单价:</label>
|
|
48
|
+
<div class="col-sm-5">
|
|
49
|
+
<input class="form-control" type="text" v-model="model.f_price" >
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
<div class="row">
|
|
53
|
+
<label class=" col-sm-4 control-label">金额:</label>
|
|
54
|
+
<div class="col-sm-5">
|
|
55
|
+
<input class="form-control" type="text" v-model="model.f_money" >
|
|
56
|
+
</div>
|
|
57
|
+
</div>
|
|
58
|
+
|
|
59
|
+
</article>
|
|
60
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
61
|
+
<button type="button" class="btn btn-success" @click='addclick()'>确定</button>
|
|
62
|
+
<button type="button" class="btn btn-default" @click='cancelclick()'>取消</button>
|
|
63
|
+
</footer>
|
|
64
|
+
</modal>
|
|
65
|
+
</div>
|
|
66
|
+
|
|
67
|
+
</template>
|
|
68
|
+
|
|
69
|
+
<script>
|
|
70
|
+
import {HttpResetClass} from "vue-client";
|
|
71
|
+
|
|
72
|
+
export default {
|
|
73
|
+
title: '收费项目',
|
|
74
|
+
props:['item'],
|
|
75
|
+
data () {
|
|
76
|
+
return {
|
|
77
|
+
model:{
|
|
78
|
+
f_amount: "",
|
|
79
|
+
f_apply_num: "",
|
|
80
|
+
f_filiale: "",
|
|
81
|
+
f_money: "",
|
|
82
|
+
f_price: "",
|
|
83
|
+
f_process_id: "",
|
|
84
|
+
f_project_item: ""
|
|
85
|
+
},
|
|
86
|
+
show:false,
|
|
87
|
+
f_project_items:[{label:'测试',value:'测试'}],
|
|
88
|
+
rows: [],
|
|
89
|
+
fields:[]
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
ready(){
|
|
93
|
+
console.log('item2',this.item)
|
|
94
|
+
const param = this.$appdata.getParam("收费项目")
|
|
95
|
+
if(param){
|
|
96
|
+
this.f_project_items = param
|
|
97
|
+
}
|
|
98
|
+
this.fields = this.item.fields
|
|
99
|
+
this.model.f_process_id = this.item.f_process_id
|
|
100
|
+
this.model.f_apply_num = this.item.f_apply_num
|
|
101
|
+
this.model.f_filiale = this.item.f_filiale
|
|
102
|
+
this.search()
|
|
103
|
+
},
|
|
104
|
+
methods:{
|
|
105
|
+
addclick(){
|
|
106
|
+
if(!this.model.f_project_item){
|
|
107
|
+
this.$showMessage('请选择收费项目')
|
|
108
|
+
return
|
|
109
|
+
}
|
|
110
|
+
if(!this.model.f_amount){
|
|
111
|
+
this.$showMessage('请输入数量')
|
|
112
|
+
return
|
|
113
|
+
}
|
|
114
|
+
if(!this.model.f_price){
|
|
115
|
+
this.$showMessage('请输入单价')
|
|
116
|
+
return
|
|
117
|
+
}
|
|
118
|
+
if(!this.model.f_money){
|
|
119
|
+
this.$showMessage('请输入金额')
|
|
120
|
+
return
|
|
121
|
+
}
|
|
122
|
+
console.log('this.model',this.model)
|
|
123
|
+
const data = {
|
|
124
|
+
row:this.model,
|
|
125
|
+
tables:this.item.tables
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
console.log('data',data)
|
|
129
|
+
let http=new HttpResetClass()
|
|
130
|
+
http.load('POST',`${this.$androidUtil.getProxyUrl()}/rs/logic/saveentity`,data).then(res=>{
|
|
131
|
+
console.log('res',res)
|
|
132
|
+
if(res.data.id){
|
|
133
|
+
this.$showMessage('添加成功')
|
|
134
|
+
this.cancelclick()
|
|
135
|
+
this.search()
|
|
136
|
+
}
|
|
137
|
+
})
|
|
138
|
+
|
|
139
|
+
},
|
|
140
|
+
addRow(){
|
|
141
|
+
this.show = true
|
|
142
|
+
},
|
|
143
|
+
cancelclick(){
|
|
144
|
+
this.model = Object.assign({},this.model,{
|
|
145
|
+
f_amount: "",
|
|
146
|
+
f_money: "",
|
|
147
|
+
f_price: "",
|
|
148
|
+
f_project_item: ""
|
|
149
|
+
})
|
|
150
|
+
this.show = false
|
|
151
|
+
},
|
|
152
|
+
deleteRow(row){
|
|
153
|
+
console.log('deleteRow',row)
|
|
154
|
+
let http=new HttpResetClass()
|
|
155
|
+
this.$showMessage('您确定要删除这条记录吗?',['confirm','cancel']).then(res=>{
|
|
156
|
+
if(res === 'confirm'){
|
|
157
|
+
const param ={
|
|
158
|
+
row:row,
|
|
159
|
+
tables:this.item.tables
|
|
160
|
+
}
|
|
161
|
+
http.load('POST',`${this.$androidUtil.getProxyUrl()}/rs/logic/applyDeleteValue`,{data:param}).then(res=>{
|
|
162
|
+
console.log('res',res)
|
|
163
|
+
if(res.data.status === 200){
|
|
164
|
+
this.$showMessage('删除成功')
|
|
165
|
+
this.search()
|
|
166
|
+
}
|
|
167
|
+
})
|
|
168
|
+
}
|
|
169
|
+
})
|
|
170
|
+
},
|
|
171
|
+
search(){
|
|
172
|
+
const param = {
|
|
173
|
+
"items":"*",
|
|
174
|
+
"tablename":this.item.tables[0],
|
|
175
|
+
"condition":`f_process_id='${this.item.f_process_id}'`,
|
|
176
|
+
"orderitem":'id desc'
|
|
177
|
+
}
|
|
178
|
+
let http=new HttpResetClass()
|
|
179
|
+
http.load('POST',`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`,{data:param}).then(res=>{
|
|
180
|
+
console.log(`前台本地报建代办工单查询结果data=>>>${JSON.stringify(res.data)}`)
|
|
181
|
+
if(res.data){
|
|
182
|
+
this.rows = res.data
|
|
183
|
+
}else{
|
|
184
|
+
this.rows = []
|
|
185
|
+
}
|
|
186
|
+
})
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
</script>
|
|
191
|
+
|
|
192
|
+
<style scoped>
|
|
193
|
+
|
|
194
|
+
</style>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<!--<div class="app-botton" @click="back()">-->
|
|
3
|
-
|
|
3
|
+
<!--<span class="glyphicon glyphicon-menu-left">返回</span>-->
|
|
4
4
|
<!--</div>-->
|
|
5
|
-
<back-page :need-back='true' @flag="back()"></back-page
|
|
6
|
-
<div class="no-close row
|
|
5
|
+
<!-- <back-page :need-back='true' @flag="back()"></back-page>-->
|
|
6
|
+
<div class="no-close row" style="background-color: #ffffff">
|
|
7
7
|
<div class="col-sm-12 col-xs-12" >
|
|
8
8
|
<ul class="nav nav-tabs" style="background:#ffffff;">
|
|
9
9
|
<div>
|
|
@@ -33,226 +33,267 @@
|
|
|
33
33
|
</template>
|
|
34
34
|
|
|
35
35
|
<script>
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
36
|
+
import ApplyUserInfo from "./ApplyUserInfo";
|
|
37
|
+
import ApplyInfo from "./ApplyInfo";
|
|
38
|
+
// import FieldExploration from "./FieldExploration";
|
|
39
|
+
// import Ventilation from "./Ventilation";
|
|
40
|
+
// import Acceptance from "./Acceptance";
|
|
41
|
+
import ServiceControl from "./ServiceControl";
|
|
42
42
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
},
|
|
52
|
-
// 要显示的维修单
|
|
53
|
-
apply: {
|
|
54
|
-
type: Object
|
|
55
|
-
},
|
|
56
|
-
// 是否是显示
|
|
57
|
-
show: {
|
|
58
|
-
type: Boolean,
|
|
59
|
-
default: false
|
|
60
|
-
}
|
|
43
|
+
export default {
|
|
44
|
+
title: '报建代办详情',
|
|
45
|
+
props: {
|
|
46
|
+
//分辨平板还是pc
|
|
47
|
+
system: '',
|
|
48
|
+
// 要处理的工单
|
|
49
|
+
row: {
|
|
50
|
+
type: Object
|
|
61
51
|
},
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
return {
|
|
66
|
-
routeShow:true,
|
|
67
|
-
number:0,
|
|
68
|
-
// shupingshow:false,
|
|
69
|
-
pipeline: {},
|
|
70
|
-
componentName: 'apply-user-info',
|
|
71
|
-
tabs: {
|
|
72
|
-
// 参数全部设置成空,在ready时,等model处理好了,再添加
|
|
73
|
-
'apply-user-info': {
|
|
74
|
-
header: '基本信息', class: 'apply-user-info-class', props: null
|
|
75
|
-
},
|
|
76
|
-
'apply-info': {
|
|
77
|
-
header: '流程信息', class: 'apply-info-class', props: null
|
|
78
|
-
},
|
|
79
|
-
'apply-defame-work': {
|
|
80
|
-
header: null, class: 'apply-info-class', props: null
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
// actName: this.$appdata.getParam('用气类型'), // 报建app需提取的流程名称
|
|
84
|
-
faultshow: 8 // 控制 故障汇总 在 菜单里显示与否
|
|
85
|
-
}
|
|
52
|
+
// 要显示的维修单
|
|
53
|
+
apply: {
|
|
54
|
+
type: Object
|
|
86
55
|
},
|
|
56
|
+
// 是否是显示
|
|
57
|
+
show: {
|
|
58
|
+
type: Boolean,
|
|
59
|
+
default: false
|
|
60
|
+
}
|
|
61
|
+
},
|
|
87
62
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
}
|
|
93
|
-
return require('../../assets/xiangyou1.png')
|
|
94
|
-
}
|
|
63
|
+
|
|
64
|
+
data() {
|
|
65
|
+
return {
|
|
66
|
+
show_data: {
|
|
67
|
+
ppp:{}
|
|
95
68
|
},
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
69
|
+
routeShow:true,
|
|
70
|
+
model:{
|
|
71
|
+
button:{
|
|
72
|
+
button_name:null,
|
|
73
|
+
button_index:null
|
|
74
|
+
},
|
|
75
|
+
f_filiale:null,
|
|
76
|
+
f_parentname:null,
|
|
77
|
+
f_operate_date:null,
|
|
78
|
+
f_operator:null,
|
|
79
|
+
f_hege:false
|
|
103
80
|
},
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
if(name == 'apply-user-info' || name == 'apply-info'){
|
|
119
|
-
this.tabs[name].props = {service: this.row, shutype: 'shu'}
|
|
120
|
-
}else{
|
|
121
|
-
this.row.defname = this.row.f_order_type
|
|
122
|
-
// this.row.fields = new Array()
|
|
123
|
-
// this.row.buttons = new Array()
|
|
124
|
-
this.tabs[name].props = {selectdata: this.row}
|
|
81
|
+
number:0,
|
|
82
|
+
// shupingshow:false,
|
|
83
|
+
pipeline: {},
|
|
84
|
+
componentName: 'apply-user-info',
|
|
85
|
+
tabs: {
|
|
86
|
+
// 参数全部设置成空,在ready时,等model处理好了,再添加
|
|
87
|
+
'apply-user-info': {
|
|
88
|
+
header: '基本信息', class: 'apply-user-info-class', props: null
|
|
89
|
+
},
|
|
90
|
+
'apply-info': {
|
|
91
|
+
header: '流程信息', class: 'apply-info-class', props: null
|
|
92
|
+
},
|
|
93
|
+
'apply-defame-work': {
|
|
94
|
+
header: null, class: 'apply-info-class', props: null
|
|
125
95
|
}
|
|
126
|
-
console.log('即将goto=>' + name + ',props:' + JSON.stringify(this.tabs[name].props))
|
|
127
|
-
this.$goto(name, this.tabs[name].props, 'apply')
|
|
128
|
-
// this.shupingshow = true
|
|
129
96
|
},
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
// this.tabs['apply-defame-work'].props = {model: this.row, shutype: 'shu'}
|
|
97
|
+
// actName: this.$appdata.getParam('用气类型'), // 报建app需提取的流程名称
|
|
98
|
+
faultshow: 8 // 控制 故障汇总 在 菜单里显示与否
|
|
99
|
+
}
|
|
100
|
+
},
|
|
135
101
|
|
|
136
|
-
|
|
137
|
-
|
|
102
|
+
methods: {
|
|
103
|
+
imgback(val){
|
|
104
|
+
if(val && this.routeShow){
|
|
105
|
+
return require('../../assets/xiangxia1.png')
|
|
106
|
+
}else{
|
|
107
|
+
return require('../../assets/xiangyou1.png')
|
|
108
|
+
}
|
|
138
109
|
},
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
110
|
+
back () {
|
|
111
|
+
let _this = this
|
|
112
|
+
this.$showMessage('您是否确认返回', ['confirm', 'cancel']).then((res) => {
|
|
113
|
+
if (res === 'confirm') {
|
|
114
|
+
_this.$back()
|
|
115
|
+
}
|
|
116
|
+
})
|
|
117
|
+
},
|
|
118
|
+
// 选择tab
|
|
119
|
+
tabSelect (name,number) {
|
|
120
|
+
this.number = number
|
|
121
|
+
this.tabs[name].props = null
|
|
122
|
+
// 处理关闭/显示 内容
|
|
123
|
+
if(this.componentName == name && !this.routeShow ){
|
|
124
|
+
this.routeShow = true
|
|
125
|
+
}else if(this.componentName == name && this.routeShow){
|
|
126
|
+
this.routeShow = false
|
|
127
|
+
}else if(this.componentName != name){
|
|
128
|
+
this.routeShow = true
|
|
129
|
+
}
|
|
130
|
+
this.componentName = name
|
|
131
|
+
console.log('name=>' + name)
|
|
132
|
+
if(name == 'apply-user-info' || name == 'apply-info'){
|
|
133
|
+
this.tabs[name].props = {service: this.row, shutype: 'shu'}
|
|
134
|
+
}else{
|
|
135
|
+
this.row.defname = this.row.defname
|
|
136
|
+
// this.row.fields = new Array()
|
|
137
|
+
// this.row.buttons = new Array()
|
|
138
|
+
this.tabs[name].props = {selectdata: this.row,show_data:this.show_data,selectmodel:this.model}
|
|
139
|
+
console.log("将去往第三个界面")
|
|
140
|
+
console.log("这就是我要的selectdata"+JSON.stringify(this.row))
|
|
146
141
|
}
|
|
147
|
-
this.tabs[
|
|
148
|
-
|
|
149
|
-
// this
|
|
150
|
-
this.setProps()
|
|
142
|
+
console.log('即将goto=>' + name + ',props:' + JSON.stringify(this.tabs[name].props))
|
|
143
|
+
this.$goto(name, this.tabs[name].props, 'apply')
|
|
144
|
+
// this.shupingshow = true
|
|
151
145
|
},
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
'apply-user-info':
|
|
155
|
-
// '
|
|
156
|
-
// '
|
|
157
|
-
|
|
158
|
-
'apply-
|
|
146
|
+
setProps() {
|
|
147
|
+
// 给各自组件添加参数
|
|
148
|
+
this.tabs['apply-user-info'].props = {service: this.row, shutype: 'shu'}
|
|
149
|
+
// this.tabs['apply-info'].props = {service: this.row, shutype: 'shu'}
|
|
150
|
+
// this.tabs['apply-defame-work'].props = {model: this.row, shutype: 'shu'}
|
|
151
|
+
|
|
152
|
+
this.$goto('apply-user-info', this.tabs[this.componentName].props, 'apply')
|
|
159
153
|
},
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
154
|
+
},
|
|
155
|
+
ready () {
|
|
156
|
+
var keyName = 'apply-defame-work'
|
|
157
|
+
var valueHeader = this.row.defname
|
|
158
|
+
var value = {
|
|
159
|
+
header:valueHeader,
|
|
160
|
+
class: 'apply-info-class',
|
|
161
|
+
props: null
|
|
162
|
+
}
|
|
163
|
+
this.tabs[keyName] = value
|
|
164
|
+
console.log( 'this.number=>' + this.number)
|
|
165
|
+
// this.$set('tabs.' + keyName ,value)
|
|
166
|
+
this.setProps()
|
|
167
|
+
},
|
|
168
|
+
components: {
|
|
169
|
+
'apply-info': ApplyInfo,
|
|
170
|
+
'apply-user-info':ApplyUserInfo,
|
|
171
|
+
// 'fieldexploration': FieldExploration,
|
|
172
|
+
// 'acceptance': Acceptance,
|
|
173
|
+
// 'ventilation':Ventilation
|
|
174
|
+
'apply-defame-work': ServiceControl
|
|
175
|
+
},
|
|
176
|
+
events: {
|
|
177
|
+
'gotonewpage': function (val) {
|
|
178
|
+
console.log("wheregoto")
|
|
179
|
+
var _this = this
|
|
180
|
+
var pardate = {
|
|
181
|
+
_this: _this,
|
|
182
|
+
title: '合同',
|
|
183
|
+
safe: false
|
|
184
|
+
}
|
|
185
|
+
_this.$dispatch('gotoson',pardate)
|
|
186
|
+
if (val=='民用'){
|
|
187
|
+
_this.$goto('minyong', {},'self')
|
|
188
|
+
}else if (val=='非民用1'){
|
|
189
|
+
_this.$goto('feiminyongv', {},'self')
|
|
190
|
+
}else {
|
|
191
|
+
_this.$goto('feiminyongvv', {},'self')
|
|
163
192
|
}
|
|
193
|
+
},
|
|
194
|
+
'onetomany': function (val) {
|
|
195
|
+
console.log('6666666666')
|
|
196
|
+
console.log('item',val)
|
|
197
|
+
var _this = this
|
|
198
|
+
var pardate = {
|
|
199
|
+
_this: _this,
|
|
200
|
+
title: val.title,
|
|
201
|
+
safe: false
|
|
202
|
+
}
|
|
203
|
+
_this.$dispatch('gotoson',pardate)
|
|
204
|
+
_this.$goto('one-to-many', {item: val},'self')
|
|
205
|
+
},
|
|
206
|
+
'close'() {
|
|
207
|
+
//this.$back()
|
|
208
|
+
this.$dispatch('confirm')
|
|
164
209
|
}
|
|
165
210
|
}
|
|
211
|
+
}
|
|
166
212
|
</script>
|
|
167
213
|
<style lang="less">
|
|
168
|
-
|
|
214
|
+
/*@import "../../../src/bootstrap/less/variables.less";*/
|
|
169
215
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
@media screen and (min-width: 768px) {
|
|
182
|
-
.android-apply-order > div > ul a {
|
|
183
|
-
font-size: @font-size-h2;
|
|
184
|
-
margin: 0.3em 0;
|
|
185
|
-
}
|
|
186
|
-
}
|
|
216
|
+
.tab-befor-img (@url) {
|
|
217
|
+
content: '';
|
|
218
|
+
background-image: url("@{url}");
|
|
219
|
+
background-size: 20px;
|
|
220
|
+
display: inline-block;
|
|
221
|
+
margin-right: 8px;
|
|
222
|
+
margin-top: 0.3em;
|
|
223
|
+
height: 1.3em;
|
|
224
|
+
width: 1.3em;
|
|
225
|
+
vertical-align: -35%;
|
|
226
|
+
}
|
|
187
227
|
|
|
188
|
-
|
|
228
|
+
|
|
229
|
+
.apply-info-class {
|
|
189
230
|
|
|
190
231
|
&::before {
|
|
191
|
-
|
|
192
|
-
}
|
|
232
|
+
.tab-befor-img("../../assets/baoxiuxinxi1.png");
|
|
193
233
|
}
|
|
234
|
+
}
|
|
194
235
|
|
|
195
|
-
|
|
236
|
+
.apply-user-info-class {
|
|
196
237
|
&::before {
|
|
197
|
-
|
|
198
|
-
}
|
|
238
|
+
.tab-befor-img("../../assets/jibenxinxi1.png")
|
|
199
239
|
}
|
|
240
|
+
}
|
|
200
241
|
|
|
201
|
-
|
|
242
|
+
.field-exploration-class {
|
|
202
243
|
&::before {
|
|
203
|
-
|
|
204
|
-
}
|
|
244
|
+
.tab-befor-img("../../assets/feiyong1.png")
|
|
205
245
|
}
|
|
206
|
-
|
|
246
|
+
}
|
|
247
|
+
.acceptance-class {
|
|
207
248
|
&::before {
|
|
208
|
-
|
|
209
|
-
}
|
|
249
|
+
.tab-befor-img("../../assets/feiyong1.png")
|
|
210
250
|
}
|
|
211
|
-
|
|
251
|
+
}
|
|
252
|
+
.ventilation-class {
|
|
212
253
|
&::before {
|
|
213
|
-
|
|
214
|
-
}
|
|
254
|
+
.tab-befor-img("../../assets/feiyong1.png")
|
|
215
255
|
}
|
|
256
|
+
}
|
|
216
257
|
|
|
217
|
-
|
|
258
|
+
.job-upload-class {
|
|
218
259
|
&::before {
|
|
219
|
-
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
.butt2 {
|
|
223
|
-
display: inline;
|
|
224
|
-
width: 10px;
|
|
225
|
-
text-align: center;
|
|
226
|
-
align-items:center;
|
|
227
|
-
}
|
|
228
|
-
.linesty{
|
|
229
|
-
display: inline-block;
|
|
230
|
-
height:1px;
|
|
231
|
-
width:100%;
|
|
232
|
-
background:#d0d0d0;
|
|
233
|
-
overflow:hidden;
|
|
234
|
-
vertical-align: middle;
|
|
235
|
-
}
|
|
236
|
-
.spanboder{
|
|
237
|
-
border-bottom:2px solid #499edf;
|
|
238
|
-
padding-bottom: 8px
|
|
239
|
-
}
|
|
240
|
-
.app-botton {
|
|
241
|
-
position:fixed;
|
|
242
|
-
background: #87b2dd;
|
|
243
|
-
color: #FFF;
|
|
244
|
-
padding: 8px;
|
|
245
|
-
text-align: center;
|
|
246
|
-
font-size: 1.2em;
|
|
247
|
-
z-index: 10;
|
|
248
|
-
opacity:0.5;
|
|
249
|
-
bottom: 50px;
|
|
250
|
-
margin-top: -10px;
|
|
251
|
-
height: 40px;
|
|
252
|
-
}
|
|
253
|
-
.android-apply-order > div > ul a {
|
|
254
|
-
font-size: 12px;
|
|
255
|
-
color: #333333;
|
|
256
|
-
padding: 13px 16px;
|
|
260
|
+
.tab-befor-img("../../assets/guzhanghuizong1.png")
|
|
257
261
|
}
|
|
262
|
+
}
|
|
263
|
+
.butt2 {
|
|
264
|
+
display: inline;
|
|
265
|
+
width: 10px;
|
|
266
|
+
text-align: center;
|
|
267
|
+
align-items:center;
|
|
268
|
+
}
|
|
269
|
+
.linesty{
|
|
270
|
+
display: inline-block;
|
|
271
|
+
height:1px;
|
|
272
|
+
width:100%;
|
|
273
|
+
background:#d0d0d0;
|
|
274
|
+
overflow:hidden;
|
|
275
|
+
vertical-align: middle;
|
|
276
|
+
}
|
|
277
|
+
.spanboder{
|
|
278
|
+
border-bottom:2px solid #499edf;
|
|
279
|
+
padding-bottom: 8px
|
|
280
|
+
}
|
|
281
|
+
.app-botton {
|
|
282
|
+
position:fixed;
|
|
283
|
+
background: #87b2dd;
|
|
284
|
+
color: #FFF;
|
|
285
|
+
padding: 8px;
|
|
286
|
+
text-align: center;
|
|
287
|
+
font-size: 1.2em;
|
|
288
|
+
z-index: 10;
|
|
289
|
+
opacity:0.5;
|
|
290
|
+
bottom: 50px;
|
|
291
|
+
margin-top: -10px;
|
|
292
|
+
height: 40px;
|
|
293
|
+
}
|
|
294
|
+
/*.android-apply-order > div > ul a {*/
|
|
295
|
+
/* font-size: 12px;*/
|
|
296
|
+
/* color: #333333;*/
|
|
297
|
+
/* padding: 13px 16px;*/
|
|
298
|
+
/*}*/
|
|
258
299
|
</style>
|