apply-clients 5.0.35-5 → 5.0.35-52
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/.eslintrc.js +16 -16
- package/package.json +3 -3
- package/src/AndroidApp.vue +28 -28
- package/src/android.js +1 -1
- package/src/apply.js +14 -1
- 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/ApplyDownList.vue +168 -164
- package/src/components/app_apply/ApplyInfo.vue +56 -56
- package/src/components/app_apply/ApplyListUpload.vue +268 -268
- package/src/components/app_apply/ApplyToDoList.vue +2660 -10
- package/src/components/app_apply/Gongcheng.vue +2836 -0
- package/src/components/app_apply/OneToMany.vue +194 -0
- package/src/components/app_apply/PlaceControler.vue +299 -256
- package/src/components/app_apply/ServiceControl.vue +354 -335
- package/src/components/app_apply/ServiceView.vue +383 -383
- package/src/components/app_apply/ezhou/FeiMinYongV.vue +109 -109
- package/src/components/app_apply/ezhou/FeiMinYongVV.vue +100 -100
- package/src/components/app_apply/ezhou/MinYong.vue +92 -92
- package/src/components/app_apply/ezhou/ServiceView.vue +790 -620
- 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/product/Common/ApplyValidateBill.vue +13 -6
- package/src/components/product/Common/PrintBill.vue +3 -2
- 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 +588 -0
- package/src/components/product/EngineeringSupervisory/EngineeringApplyStopInfo.vue +281 -0
- package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryControl.vue +130 -0
- package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryList.vue +350 -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 +546 -343
- package/src/components/product/Process/ExplorationSelect.vue +640 -636
- package/src/components/product/Process/Processes/CustomerRecordMessage.vue +2 -5
- package/src/components/product/Process/Processes/Service/ApplyChargeSearch.vue +123 -37
- package/src/components/product/Process/Processes/Service/PaperTicketBill.vue +85 -0
- package/src/components/product/Process/Processes/Service/ServiceControl.vue +268 -19
- package/src/components/product/ServiceView.vue +16 -6
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +53 -6
- package/src/components/product/Supervisory/SupervisoryList.vue +350 -349
- 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 +13 -10
- package/src/index.js +8 -8
- 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
|
@@ -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>
|