apply-clients 5.0.35-56 → 5.0.35-57
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 +1 -1
- package/src/components/app_apply/ApplyToDoList.vue +2843 -2843
- package/src/components/app_apply/Gongcheng.vue +3579 -3579
- package/src/components/app_apply/OneToMany.vue +194 -194
- package/src/components/app_apply/PlaceControler.vue +299 -299
- package/src/components/app_apply/ServiceControl.vue +354 -354
- package/src/components/app_apply/ezhou/ServiceView.vue +790 -790
- package/src/components/product/EngineeringManagement/EngineerUpload.vue +304 -304
- package/src/components/product/EngineeringManagement/EngineeringManagement.vue +137 -137
- package/src/components/product/EngineeringManagement/EngineeringSelect.vue +588 -588
- package/src/components/product/EngineeringSupervisory/EngineeringApplyStopInfo.vue +281 -281
- package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryControl.vue +130 -130
- package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryList.vue +350 -350
- package/src/components/product/Function/InstallInfoSelect.vue +255 -255
- package/src/components/product/Function/functions/BuyerMessage.vue +512 -512
- package/src/components/product/Process/ExplorationSelect.vue +640 -640
- package/src/components/product/Supervisory/SupervisoryList.vue +350 -350
- package/src/components/product/stopInfo/ApplyStopInfo.vue +281 -281
- package/src/ezhouAndroid.js +48 -48
|
@@ -1,194 +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
|
+
<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>
|