apply-clients 4.1.10-11 → 4.1.10-weinan
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/index.html +30 -21
- package/package.json +10 -7
- package/src/AndroidApp.vue +1 -1
- package/src/apply.js +16 -7
- package/src/applyAndroid.js +43 -50
- package/src/components/Table.js +13 -13
- package/src/components/app_apply/AppChargeManagement.vue +622 -0
- package/src/components/app_apply/ApplyInfo.vue +56 -56
- package/src/components/app_apply/ApplyToDoList.vue +144 -165
- package/src/components/app_apply/FieldExploration.vue +3 -3
- package/src/components/app_apply/PlaceControler.vue +255 -258
- package/src/components/app_apply/ServiceControl.vue +289 -267
- package/src/components/app_apply/ServiceView.vue +363 -355
- package/src/components/app_apply/ToolsPage.vue +1 -1
- package/src/components/app_apply/Ventilation.vue +10 -10
- package/src/components/app_apply/materialshoufei.vue +184 -0
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +251 -251
- package/src/components/product/Function/InstallFunction.vue +120 -95
- package/src/components/product/Function/InstallInfoSelect.vue +268 -206
- package/src/components/product/Function/Service/FunctionServiceControl.vue +206 -386
- package/src/components/product/Function/StopApplyCrrdList.vue +1 -1
- package/src/components/product/Function/functions/StopInstall.vue +7 -1
- package/src/components/product/Process/ExplorationSelect.vue +377 -501
- package/src/components/product/Process/ExplorationUser.vue +100 -133
- package/src/components/product/Process/Processes/InstallationDetails.vue +276 -246
- package/src/components/product/Process/Processes/UserFireInfo.vue +409 -0
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +1458 -99
- package/src/components/product/Process/Processes/addressAndUserinfoManagementPro.vue +1221 -0
- package/src/components/product/Process/Processes/chargeManagement.vue +545 -552
- package/src/components/product/Process/Processes/devicesDetails.vue +834 -0
- package/src/components/product/Process/Processes/materialshoufei.vue +182 -0
- package/src/components/product/Process/Processes/printCharge.vue +12 -8
- package/src/components/product/Process/Processes/recordcancel.vue +50 -0
- package/src/components/product/Process/Processes/selectUserinfo.vue +199 -0
- package/src/components/product/Process/Processes/splitMaterial.vue +358 -0
- package/src/components/product/Process/Service/ServiceControl.vue +1236 -726
- package/src/components/product/Process/ShowBackReason.vue +21 -6
- package/src/components/product/ServiceView.vue +557 -575
- package/src/components/product/Stop/StopApply.vue +101 -0
- package/src/components/product/Stop/StopApplyList.vue +257 -0
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +150 -210
- package/src/components/product/Supervisory/SupervisoryControl.vue +124 -173
- package/src/components/product/Supervisory/SupervisoryList.vue +191 -310
- package/src/components/product/Supervisory/SupervisoryhCart.vue +76 -99
- package/src/components/product/Test.vue +8 -4
- package/src/components/product/VueUtils/ApplyUpload.vue +4 -4
- package/src/components/product/VueUtils/ToolsPage.vue +1 -1
- package/src/main.js +25 -32
- package/static/images/lefticon//347/237/251/345/275/2421183.png +0 -0
- package/src/components/app_apply/android/ExplorationSelectApp.vue +0 -404
- package/src/components/app_apply/android/ExplorationUserApp.vue +0 -189
- package/src/components/app_apply/android/ServiceControlApp.vue +0 -714
- package/src/components/app_apply/android/ServiceViewApp.vue +0 -736
- package/src/components/product/Function/OrderCenter/Step.vue +0 -153
- package/src/components/product/Function/OrderCenter/download.png +0 -0
- package/src/components/product/Function/OrderCenter/orderApplyDispose.vue +0 -203
- package/src/components/product/Function/OrderCenter/orderCenter.vue +0 -41
- package/src/components/product/Function/OrderCenter/orderList.vue +0 -265
- package/src/components/product/Function/functions/InstallFee.vue +0 -1047
- package/src/components/product/Function/functions/PrestoreFee.vue +0 -630
- package/src/components/product/Procedures/ProceduresDataGrid.vue +0 -1022
- package/src/components/product/Process/ModifyUserFiles.vue +0 -452
- package/src/components/product/Process/ProcessInfo/history_control.vue +0 -135
- package/src/components/product/Process/Processes/CustomerMaterialMessage.vue +0 -1073
- package/src/components/product/Process/Processes/CustomerRecordMessage.vue +0 -949
- package/src/components/product/Process/Processes/Service/ApplyChargeSearch.vue +0 -203
- package/src/components/product/Process/Processes/Service/GasStop.vue +0 -96
- package/src/components/product/Process/Processes/Service/ServiceControl.vue +0 -2569
- package/src/components/product/ReportForm/WaterReport.vue +0 -359
- package/src/components/product/VueUtils/rightview/InstallCardList2.vue +0 -261
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div style="margin-top: 30px;height: auto">
|
|
3
|
-
<div v-for="( index,item) in items" class="navs row col-sm-12" style="overflow: hidden;display: inline-block">
|
|
4
|
-
<p :class="[active === index ? 'active' : '',clientWidth>1600 ? 'col-sm-2' : 'col-sm-4']">
|
|
5
|
-
<nobr>{{ item.f_apply_type }}</nobr>
|
|
6
|
-
</p>
|
|
7
|
-
<div :class="[clientWidth>1600 ? 'col-sm-4' : 'col-sm-8']">
|
|
8
|
-
<label style="text-indent: 2em">
|
|
9
|
-
通过
|
|
10
|
-
<input type="radio" :name="'radio'+index" value="通过" v-model="item.f_apply_state">
|
|
11
|
-
</label>
|
|
12
|
-
<label>
|
|
13
|
-
未通过
|
|
14
|
-
<input type="radio" :name="'radio'+index" value="未通过" v-model="item.f_apply_state">
|
|
15
|
-
</label>
|
|
16
|
-
</div>
|
|
17
|
-
<div class="col-sm-6" v-show="clientWidth>1600">
|
|
18
|
-
<div class="col-sm-9 form-group" style="margin: 0">
|
|
19
|
-
<label style="margin: 0">意见:</label>
|
|
20
|
-
<input type="text" class="input_search" style="width: 70% !important;" v-model="item.f_apply_msg"/>
|
|
21
|
-
</div>
|
|
22
|
-
<button class="button_search col-sm-2" @click="confirm(item,index)" :disabled="disabled">保存</button>
|
|
23
|
-
</div>
|
|
24
|
-
</div>
|
|
25
|
-
</div>
|
|
26
|
-
</template>
|
|
27
|
-
<script>
|
|
28
|
-
import * as Util from '../../../Util'
|
|
29
|
-
export default {
|
|
30
|
-
props: {
|
|
31
|
-
// 步骤总数
|
|
32
|
-
items: {
|
|
33
|
-
type: Array,
|
|
34
|
-
required: true
|
|
35
|
-
},
|
|
36
|
-
// 当前步骤
|
|
37
|
-
active: {
|
|
38
|
-
type: Number,
|
|
39
|
-
default: 0,
|
|
40
|
-
required: true
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
data () {
|
|
44
|
-
return {
|
|
45
|
-
disabled: false,
|
|
46
|
-
clientWidth: document.body.clientWidth
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
methods: {
|
|
50
|
-
async confirm (row, index) {
|
|
51
|
-
this.disabled = true
|
|
52
|
-
// console.log(JSON.stringify(row))
|
|
53
|
-
if (row.id === '') {
|
|
54
|
-
delete row.id
|
|
55
|
-
}
|
|
56
|
-
if (index !== 0 && this.$parent.items[index - 1].f_apply_state === '未通过' && this.$parent.items[index - 1].id === '') {
|
|
57
|
-
this.disabled = false
|
|
58
|
-
this.$showAlert('请先通过之前的步骤!!', 'warning', 2000)
|
|
59
|
-
return
|
|
60
|
-
}
|
|
61
|
-
try {
|
|
62
|
-
row.f_person = this.$login.f.name
|
|
63
|
-
row.f_apply_date = Util.toStandardTimeString()
|
|
64
|
-
let {data} = await this.$resetpost('rs/entity/t_apply_info', row, {resolveMsg: '保存成功', rejectMsg: '操作失败'})
|
|
65
|
-
this.$dispatch('nextindex', index,row)
|
|
66
|
-
if (!!!row.id) {
|
|
67
|
-
row.id = data.id
|
|
68
|
-
}
|
|
69
|
-
} catch (e) {
|
|
70
|
-
this.disabled = false
|
|
71
|
-
}
|
|
72
|
-
this.disabled = false
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
compiled() {
|
|
76
|
-
window.onresize = () => {
|
|
77
|
-
return (() => {
|
|
78
|
-
this.clientWidth = document.body.clientWidth
|
|
79
|
-
})();
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
</script>
|
|
84
|
-
|
|
85
|
-
<style lang='css' scoped>
|
|
86
|
-
|
|
87
|
-
label {
|
|
88
|
-
padding: 0;
|
|
89
|
-
line-height: 40px;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.navs {
|
|
93
|
-
height: 55px;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.navs p {
|
|
97
|
-
padding: 0 10px 0 10px;
|
|
98
|
-
line-height: 40px;
|
|
99
|
-
background: #50abe4;
|
|
100
|
-
display: inline-block;
|
|
101
|
-
color: #fff;
|
|
102
|
-
position: relative;
|
|
103
|
-
text-indent: 1.2em;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.navs p:after {
|
|
107
|
-
content: '';
|
|
108
|
-
display: block;
|
|
109
|
-
border-top: 20px solid #50abe4;
|
|
110
|
-
border-bottom: 20px solid #50abe4;
|
|
111
|
-
border-left: 20px solid #fff;
|
|
112
|
-
position: absolute;
|
|
113
|
-
right: -20px;
|
|
114
|
-
top: 0;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.navs p:after {
|
|
118
|
-
content: '';
|
|
119
|
-
display: block;
|
|
120
|
-
border-top: 20px solid transparent;
|
|
121
|
-
border-bottom: 20px solid transparent;
|
|
122
|
-
border-left: 20px solid #50abe4;
|
|
123
|
-
position: absolute;
|
|
124
|
-
right: -20px;
|
|
125
|
-
top: 0;
|
|
126
|
-
z-index: 10;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.navs p:before {
|
|
130
|
-
content: '';
|
|
131
|
-
display: block;
|
|
132
|
-
border-top: 20px solid #50abe4;
|
|
133
|
-
border-bottom: 20px solid #50abe4;
|
|
134
|
-
border-left: 20px solid #fff;
|
|
135
|
-
position: absolute;
|
|
136
|
-
left: 0px;
|
|
137
|
-
top: 0;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.navs p.active {
|
|
141
|
-
background-color: #16A085;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
.navs p.active:after {
|
|
145
|
-
border-left-color: #16A085;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.navs p.active:before {
|
|
149
|
-
border-top-color: #16A085 !important;
|
|
150
|
-
border-bottom-color: #16A085 !important;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
</style>
|
|
Binary file
|
|
@@ -1,203 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="auto" id="orderApplyDispose" style="height: 100%">
|
|
3
|
-
<validator name='v'>
|
|
4
|
-
<form novalidate class="form-horizontal select-overspread">
|
|
5
|
-
<ul class="nav nav-tabs">
|
|
6
|
-
<li class="active"><a href="#" style="font-size: large">结果及过程信息</a></li>
|
|
7
|
-
</ul>
|
|
8
|
-
|
|
9
|
-
<div class="form-group" style="margin-top: 10px">
|
|
10
|
-
<label class="col-sm-2 control-label">审批时间</label>
|
|
11
|
-
<div class="col-sm-4">
|
|
12
|
-
<datepicker id="startDate"
|
|
13
|
-
placeholder="审批时间"
|
|
14
|
-
v-model="row.APPROVAL_DATE"
|
|
15
|
-
:value.sync="row.APPROVAL_DATE"
|
|
16
|
-
:format="'yyyy-MM-dd'"
|
|
17
|
-
:show-reset-button="true"
|
|
18
|
-
>
|
|
19
|
-
</datepicker>
|
|
20
|
-
</div>
|
|
21
|
-
<label class="col-sm-2 control-label">审批人</label>
|
|
22
|
-
<div class="col-sm-4">
|
|
23
|
-
<input class="form-control" type="text" v-model="row.APPROVAL_PERSON" placeholder="审批人" >
|
|
24
|
-
</div>
|
|
25
|
-
</div>
|
|
26
|
-
<div class="form-group" style="margin-top: 10px">
|
|
27
|
-
<label class="col-sm-2 control-label">审批结果</label>
|
|
28
|
-
<div class="col-sm-4" style=" width: 83%">
|
|
29
|
-
<textarea class=form-control v-model='row.DEFNAME' rows=3 placeholder=审批结果 ></textarea>
|
|
30
|
-
</div>
|
|
31
|
-
</div>
|
|
32
|
-
<div class="form-group" style="margin-top: 10px">
|
|
33
|
-
<label class="col-sm-2 control-label">审批意见</label>
|
|
34
|
-
<div class="col-sm-4"style=" width: 83%">
|
|
35
|
-
<textarea class=form-control v-model="row.APPROVAL_OPINION" rows=3 placeholder=审批意见></textarea>
|
|
36
|
-
</div>
|
|
37
|
-
</div>
|
|
38
|
-
<div class="form-group" style="margin-top: 10px" >
|
|
39
|
-
<div class="col-sm-6" style="margin-left: 78%">
|
|
40
|
-
<button @click="save()" type="button" class="btn btn-primary radius_btn" >保存</button>
|
|
41
|
-
<button @click="cls()" type="button" class="btn btn-primary radius_btn" >取消</button>
|
|
42
|
-
</div>
|
|
43
|
-
</div>
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
<!-- <div class="row" style="text-align: center">-->
|
|
47
|
-
<!-- <div class="col-sm-4 col-sm-offset-2">-->
|
|
48
|
-
<!-- <img-self style="margin: 0 auto" :src="row.f_imageurl"></img-self>-->
|
|
49
|
-
<!-- <span style="font-size: 14px;margin-top: 5px; display:inline-block;-->
|
|
50
|
-
<!-- width: 200px; word-break: normal; white-space: pre-wrap; word-wrap: break-word;">{{-->
|
|
51
|
-
<!-- row.f_imagename-->
|
|
52
|
-
<!-- }}</span>-->
|
|
53
|
-
<!-- </div>-->
|
|
54
|
-
<!-- <div class="col-sm-4">-->
|
|
55
|
-
<!-- <a style="margin: 0 auto;display: inherit" target="_blank" :href="row.f_fileurl">-->
|
|
56
|
-
<!-- <img src="./download.png" alt="图片加载失败" title="点击下载附件"/>-->
|
|
57
|
-
<!-- </a>-->
|
|
58
|
-
<!-- <span style="font-size: 14px;margin-top: 5px; display:inline-block;-->
|
|
59
|
-
<!-- width: 200px; word-break: normal; white-space: pre-wrap; word-wrap: break-word;">{{-->
|
|
60
|
-
<!-- row.f_filename-->
|
|
61
|
-
<!-- }}</span>-->
|
|
62
|
-
<!-- </div>-->
|
|
63
|
-
<!-- </div>-->
|
|
64
|
-
</form>
|
|
65
|
-
</validator>
|
|
66
|
-
<!-- <step :active="index" :items="items"></step>-->
|
|
67
|
-
</div>
|
|
68
|
-
</template>
|
|
69
|
-
<script>
|
|
70
|
-
|
|
71
|
-
import Step from './Step'
|
|
72
|
-
|
|
73
|
-
export default {
|
|
74
|
-
data () {
|
|
75
|
-
return {
|
|
76
|
-
show: false,
|
|
77
|
-
f_operator: this.$login.f.name,
|
|
78
|
-
// 所有地址
|
|
79
|
-
address: [],
|
|
80
|
-
placeholder: '',
|
|
81
|
-
items:
|
|
82
|
-
[{f_apply_type: '', f_apply_state: '', f_apply_msg: '', id: ''},
|
|
83
|
-
{f_apply_type: '', f_apply_state: '', f_apply_msg: '', id: ''},
|
|
84
|
-
{f_apply_type: '', f_apply_state: '', f_apply_msg: '', id: ''},
|
|
85
|
-
{f_apply_type: '', f_apply_state: '', f_apply_msg: '', id: ''},
|
|
86
|
-
{f_apply_type: '', f_apply_state: '', f_apply_msg: '', id: ''},
|
|
87
|
-
{f_apply_type: '', f_apply_state: '', f_apply_msg: '', id: ''}
|
|
88
|
-
],
|
|
89
|
-
index: 0
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
components: {Step},
|
|
93
|
-
props: {
|
|
94
|
-
row: {
|
|
95
|
-
type: Object
|
|
96
|
-
},
|
|
97
|
-
title: {
|
|
98
|
-
type: String
|
|
99
|
-
}
|
|
100
|
-
},
|
|
101
|
-
async ready () {
|
|
102
|
-
},
|
|
103
|
-
methods: {
|
|
104
|
-
cls() {
|
|
105
|
-
this.$dispatch('clsdispose', {})
|
|
106
|
-
},
|
|
107
|
-
save(){
|
|
108
|
-
console.log('修改')
|
|
109
|
-
this.$resetpost('rs/logic/update_applyInfo', {data:this.row}, {resolveMsg: '保存成功', rejectMsg: '操作失败'})
|
|
110
|
-
this.$dispatch('clsdispose', {})
|
|
111
|
-
this.$parent.$refs.list.search()
|
|
112
|
-
|
|
113
|
-
},
|
|
114
|
-
// 根据id查询报装进度
|
|
115
|
-
async init (val) {
|
|
116
|
-
this.index = val.f_apply_type === '通气点火' ? -1 : 0
|
|
117
|
-
console.log("==========",JSON.stringify(val));
|
|
118
|
-
let data = await this.$SqlService.singleTable('t_apply_info', `id = ${val.id} order by APPROVAL_DATE`)
|
|
119
|
-
this.items = this.items.map((h, i) => {
|
|
120
|
-
h.f_order_id = val.id
|
|
121
|
-
if (data.data[i]) {
|
|
122
|
-
h.f_apply_state = data.data[i].f_apply_state
|
|
123
|
-
h.f_apply_msg = data.data[i].f_apply_msg
|
|
124
|
-
h.id = data.data[i].id
|
|
125
|
-
} else {
|
|
126
|
-
if (data.data[i - 1] && data.data[i - 1].f_apply_state === '通过') {
|
|
127
|
-
this.index = i
|
|
128
|
-
}
|
|
129
|
-
h.f_apply_state = '未通过'
|
|
130
|
-
h.f_apply_msg = ''
|
|
131
|
-
h.id = ''
|
|
132
|
-
}
|
|
133
|
-
return h
|
|
134
|
-
}
|
|
135
|
-
)
|
|
136
|
-
console.log(JSON.stringify(this.items))
|
|
137
|
-
},
|
|
138
|
-
// 获取所有地址
|
|
139
|
-
async getAreas () {
|
|
140
|
-
|
|
141
|
-
},
|
|
142
|
-
showModal () {
|
|
143
|
-
this.show = true
|
|
144
|
-
},
|
|
145
|
-
close () {
|
|
146
|
-
this.show = false
|
|
147
|
-
},
|
|
148
|
-
async confirm () {
|
|
149
|
-
|
|
150
|
-
}
|
|
151
|
-
},
|
|
152
|
-
watch: {
|
|
153
|
-
'row' (val) {
|
|
154
|
-
if (!!val) {
|
|
155
|
-
this.init(val)
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
},
|
|
159
|
-
computed: {},
|
|
160
|
-
events: {
|
|
161
|
-
'nextindex' (index,row) {
|
|
162
|
-
console.log(JSON.stringify(row),JSON.stringify(this.row));
|
|
163
|
-
if(!!!row.id){
|
|
164
|
-
this.row.f_apply_type = row.f_apply_type
|
|
165
|
-
this.row.f_apply_state = row.f_apply_state
|
|
166
|
-
this.row.f_person = row.f_person
|
|
167
|
-
this.row.f_apply_date = row.f_apply_date
|
|
168
|
-
this.row.f_apply_msg = row.f_apply_msg
|
|
169
|
-
}
|
|
170
|
-
if(row.f_apply_type === this.row.f_apply_type){
|
|
171
|
-
this.row.f_apply_msg = row.f_apply_msg
|
|
172
|
-
this.row.f_apply_date = row.f_apply_date
|
|
173
|
-
}
|
|
174
|
-
if (this.items[index + 1].f_apply_state === '未通过') {
|
|
175
|
-
this.index = index + 1
|
|
176
|
-
return true
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
</script>
|
|
182
|
-
<style lang="less">
|
|
183
|
-
#orderApplyDispose {
|
|
184
|
-
.modal-header {
|
|
185
|
-
border: none;
|
|
186
|
-
|
|
187
|
-
.close {
|
|
188
|
-
position: absolute;
|
|
189
|
-
top: 7px;
|
|
190
|
-
right: 10px;
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
overflow: scroll;
|
|
194
|
-
.modal-body {
|
|
195
|
-
padding-bottom: 0px;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
.modal-footer {
|
|
199
|
-
padding: 10px 15px;
|
|
200
|
-
border: none;
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
</style>
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id="unit" class="flex-row" style="width: 100%">
|
|
3
|
-
<order-list v-ref:list style="width:50%;margin-left: 0 !important;"></order-list>
|
|
4
|
-
<div class="flex binary-left" v-show=row.id style="width:50%;margin-left: 0 !important;">
|
|
5
|
-
<order-apply-dispose :row="row" :title="title"></order-apply-dispose>
|
|
6
|
-
</div>
|
|
7
|
-
</div>
|
|
8
|
-
</template>
|
|
9
|
-
|
|
10
|
-
<script>
|
|
11
|
-
export default {
|
|
12
|
-
title: '申办信息',
|
|
13
|
-
data () {
|
|
14
|
-
return {
|
|
15
|
-
row: {},
|
|
16
|
-
title: ''
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
ready () {
|
|
20
|
-
},
|
|
21
|
-
methods: {
|
|
22
|
-
init () {
|
|
23
|
-
this.row = {}
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
events: {
|
|
27
|
-
'dispose' (data) {
|
|
28
|
-
this.row = data
|
|
29
|
-
},
|
|
30
|
-
'clsdispose' (data) {
|
|
31
|
-
this.row = data
|
|
32
|
-
}
|
|
33
|
-
// 'refresh' () {
|
|
34
|
-
// this.$refs.list.$refs.paged.$refs.criteria.search()
|
|
35
|
-
// this.init()
|
|
36
|
-
// }
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
</script>
|
|
40
|
-
<style>
|
|
41
|
-
</style>
|
|
@@ -1,265 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="flex binary-left" style="flex: 1; width:100%">
|
|
3
|
-
<criteria-paged :model="model" v-ref:paged>
|
|
4
|
-
<criteria partial='criteria' v-ref:criteria @condition-changed='$parent.selfSearch'>
|
|
5
|
-
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
6
|
-
<div class="row">
|
|
7
|
-
<!-- <div class="col-sm-4 form-group">-->
|
|
8
|
-
<!-- <label class="font_normal_body">处理状态</label>-->
|
|
9
|
-
<!-- <v-select v-model="model.f_orderstate" style="width:60%"-->
|
|
10
|
-
<!-- placeholder='处理状态'-->
|
|
11
|
-
<!-- :value.sync="model.f_orderstate"-->
|
|
12
|
-
<!-- :options='$parent.$parent.getState'-->
|
|
13
|
-
<!-- condition="f_orderstate {}"-->
|
|
14
|
-
<!-- close-on-select value-single>-->
|
|
15
|
-
<!-- </v-select>-->
|
|
16
|
-
<!-- </div>-->
|
|
17
|
-
<!-- <div class="col-sm-4 form-group">-->
|
|
18
|
-
<!-- <label class="font_normal_body">用户姓名</label>-->
|
|
19
|
-
<!-- <input type="text" class="input_search"-->
|
|
20
|
-
<!-- style="width:60%"-->
|
|
21
|
-
<!-- v-model="model.f_user_name"-->
|
|
22
|
-
<!-- condition="f_user_name like '%{}%'"-->
|
|
23
|
-
<!-- placeholder="用户姓名"/>-->
|
|
24
|
-
<!-- </div>-->
|
|
25
|
-
<div class="span col-sm-2 form-group button-range" style="float: right">
|
|
26
|
-
<button class="button_search button_spacing" @click="search()" v-el:cx>查询</button>
|
|
27
|
-
<button class="button_clear button_spacing" @click="clear">清空</button>
|
|
28
|
-
<!-- <div style="float: right" class="button_spacing"-->
|
|
29
|
-
<!-- :class="{'button_shrink_top': criteriaShow,'button_shrink_bottom': !criteriaShow}"-->
|
|
30
|
-
<!-- @click="criteriaShow = !criteriaShow"></div>-->
|
|
31
|
-
</div>
|
|
32
|
-
<!-- <div class="row" v-show="criteriaShow">-->
|
|
33
|
-
<div class="col-sm-4 form-group">
|
|
34
|
-
<label class="font_normal_body">联系人员</label>
|
|
35
|
-
<input type="text" class="input_search"
|
|
36
|
-
style="width:60%"
|
|
37
|
-
v-model="model.contacts"
|
|
38
|
-
condition = "contacts like '%{}%'"
|
|
39
|
-
placeholder="联 系 人"/>
|
|
40
|
-
</div>
|
|
41
|
-
<!-- <div class="col-sm-4 form-group">-->
|
|
42
|
-
<!-- <label class="font_normal_body">用户编号</label>-->
|
|
43
|
-
<!-- <input type="text" class="input_search"-->
|
|
44
|
-
<!-- style="width:60%"-->
|
|
45
|
-
<!-- v-model="model.f_userinfo_code"-->
|
|
46
|
-
<!-- condition="f_userinfo_code = '{}'"-->
|
|
47
|
-
<!-- placeholder="用户编号"/>-->
|
|
48
|
-
<!-- </div>-->
|
|
49
|
-
<!--<div class="col-sm-3 form-group">-->
|
|
50
|
-
<!--<label class="font_normal_body">用户表号</label>-->
|
|
51
|
-
<!--<input type="text" class="input_search"-->
|
|
52
|
-
<!--v-model="model.f_meternumber"-->
|
|
53
|
-
<!--style="width:60%"-->
|
|
54
|
-
<!--condition="f_meternumber = '{}'"-->
|
|
55
|
-
<!--placeholder="用户表号"/>-->
|
|
56
|
-
<!--</div>-->
|
|
57
|
-
<div class="col-sm-4 form-group">
|
|
58
|
-
<label class="font_normal_body">联系电话</label>
|
|
59
|
-
<input type="text" class="input_search"
|
|
60
|
-
style="width:60%"
|
|
61
|
-
v-model="model.phone"
|
|
62
|
-
condition="phone = '{}'"
|
|
63
|
-
placeholder="联系电话"/>
|
|
64
|
-
</div>
|
|
65
|
-
<br>
|
|
66
|
-
<!-- <div class="col-sm-4 form-group">-->
|
|
67
|
-
<!-- <label class="font_normal_body">起始时间</label>-->
|
|
68
|
-
<!-- <datepicker placeholder='预约时间' style="width:60%"-->
|
|
69
|
-
<!-- v-model="model.f_orderdate_start"-->
|
|
70
|
-
<!-- :value.sync="model.f_orderdate_start"-->
|
|
71
|
-
<!-- :format="'yyyy-MM-dd'"-->
|
|
72
|
-
<!-- :show-reset-button="true"-->
|
|
73
|
-
<!-- condition="f_orderdate >= '{} 00:00:00'">-->
|
|
74
|
-
<!-- </datepicker>-->
|
|
75
|
-
<!-- </div>-->
|
|
76
|
-
<!-- <div class="col-sm-4 form-group">-->
|
|
77
|
-
<!-- <label class="font_normal_body">结束时间</label>-->
|
|
78
|
-
<!-- <datepicker placeholder='结束时间' style="width:60%"-->
|
|
79
|
-
<!-- v-model="model.f_orderdate_end"-->
|
|
80
|
-
<!-- :value.sync="model.f_orderdate_end"-->
|
|
81
|
-
<!-- :format="'yyyy-MM-dd'"-->
|
|
82
|
-
<!-- :show-reset-button="true"-->
|
|
83
|
-
<!-- condition="f_orderdate <= '{} 00:00:00'">-->
|
|
84
|
-
<!-- </datepicker>-->
|
|
85
|
-
<!-- </div>-->
|
|
86
|
-
</div>
|
|
87
|
-
<!-- </div>-->
|
|
88
|
-
</div>
|
|
89
|
-
</criteria>
|
|
90
|
-
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
|
91
|
-
<template partial='head'>
|
|
92
|
-
<tr>
|
|
93
|
-
<th>
|
|
94
|
-
<nobr>客户名称</nobr>
|
|
95
|
-
</th>
|
|
96
|
-
<th>
|
|
97
|
-
<nobr>证件类型</nobr>
|
|
98
|
-
</th>
|
|
99
|
-
<th>
|
|
100
|
-
<nobr>证件号码</nobr>
|
|
101
|
-
</th>
|
|
102
|
-
<th>
|
|
103
|
-
<nobr>联系人</nobr>
|
|
104
|
-
</th>
|
|
105
|
-
<th>
|
|
106
|
-
<nobr>联系电话</nobr>
|
|
107
|
-
</th>
|
|
108
|
-
<th>
|
|
109
|
-
<nobr>报建类型</nobr>
|
|
110
|
-
</th>
|
|
111
|
-
<!-- <th>-->
|
|
112
|
-
<!-- <nobr>区域</nobr>-->
|
|
113
|
-
<!-- </th>-->
|
|
114
|
-
<!-- <th>-->
|
|
115
|
-
<!-- <nobr>街道</nobr>-->
|
|
116
|
-
<!-- </th>-->
|
|
117
|
-
<!-- <th>-->
|
|
118
|
-
<!-- <nobr>小区</nobr>-->
|
|
119
|
-
<!-- </th>-->
|
|
120
|
-
<!-- <th>-->
|
|
121
|
-
<!-- <nobr>楼号</nobr>-->
|
|
122
|
-
<!-- </th>-->
|
|
123
|
-
<!-- <th>-->
|
|
124
|
-
<!-- <nobr>单元号</nobr>-->
|
|
125
|
-
<!-- </th>-->
|
|
126
|
-
<!-- <th>-->
|
|
127
|
-
<!-- <nobr>楼层</nobr>-->
|
|
128
|
-
<!-- </th>-->
|
|
129
|
-
<!-- <th>-->
|
|
130
|
-
<!-- <nobr>门牌号</nobr>-->
|
|
131
|
-
<!-- </th>-->
|
|
132
|
-
<!-- <th>-->
|
|
133
|
-
<!-- <nobr>备注</nobr>-->
|
|
134
|
-
<!-- </th>-->
|
|
135
|
-
<!-- <th>-->
|
|
136
|
-
<!-- <nobr>附件</nobr>-->
|
|
137
|
-
<!-- </th>-->
|
|
138
|
-
<th>
|
|
139
|
-
<nobr>标识</nobr>
|
|
140
|
-
</th>
|
|
141
|
-
<th>
|
|
142
|
-
<nobr>详细地址</nobr>
|
|
143
|
-
</th>
|
|
144
|
-
<th>
|
|
145
|
-
<nobr>操  作</nobr>
|
|
146
|
-
</th>
|
|
147
|
-
</tr>
|
|
148
|
-
</template>
|
|
149
|
-
<template partial='body'>
|
|
150
|
-
<tr>
|
|
151
|
-
<!--客户名称-->
|
|
152
|
-
<td style="text-align:center">{{ row.username }}</td>
|
|
153
|
-
<!--证件类型-->
|
|
154
|
-
<td style="text-align:center">{{ row.document_type==1?'身份证':'营业执照'}}</td>
|
|
155
|
-
<!--证件号码-->
|
|
156
|
-
<td style="text-align:center">{{ row.document_number }}</td>
|
|
157
|
-
<!--联系人-->
|
|
158
|
-
<td style="text-align:center">{{ row.contacts}}</td>
|
|
159
|
-
<!--联系电话-->
|
|
160
|
-
<td style="text-align:center">{{ row.phone}}</td>
|
|
161
|
-
<!--报建类型-->
|
|
162
|
-
<td style="text-align:center">{{ row.apply_type==1?'集中报建':row.apply_type==2?'非民用报建':'散户报建'}}</td>
|
|
163
|
-
<!--区域-->
|
|
164
|
-
<!-- <td style="text-align:center">{{ row.area}}</td>-->
|
|
165
|
-
<!--街道-->
|
|
166
|
-
<!-- <td style="text-align:center">{{ row.street }}</td>-->
|
|
167
|
-
<!--小区-->
|
|
168
|
-
<!-- <td style="text-align:center">{{ row.xiq}}</td>-->
|
|
169
|
-
<!--楼号-->
|
|
170
|
-
<!-- <td style="text-align:center">{{ row.building }}</td>-->
|
|
171
|
-
<!--单元号-->
|
|
172
|
-
<!-- <td style="text-align:center">{{ row.unit}}</td>-->
|
|
173
|
-
<!--楼层-->
|
|
174
|
-
<!-- <td style="text-align:center">{{ row.floor }}</td>-->
|
|
175
|
-
<!--门牌号-->
|
|
176
|
-
<!-- <td style="text-align:center">{{ row.room}}</td>-->
|
|
177
|
-
<!--备注-->
|
|
178
|
-
<!-- <td style="text-align:center">{{ row.remarks }}</td>-->
|
|
179
|
-
<!--附件-->
|
|
180
|
-
<!-- <td style="text-align:center">{{ row.enclosure }}</td>-->
|
|
181
|
-
<!--标识-->
|
|
182
|
-
<td style="text-align:center">{{ row.identification==001?'工改':row.identification==002?'政务服务网':'铜城办APP' }}</td>
|
|
183
|
-
<!--详细地址-->
|
|
184
|
-
<td style="text-align:center">{{ row.address }}</td>
|
|
185
|
-
|
|
186
|
-
<td style="text-align:center" >
|
|
187
|
-
<button type="button" name="button"
|
|
188
|
-
class="btn btn-link"
|
|
189
|
-
:disabled="row.approval_state==1?false:true"
|
|
190
|
-
@click="$parent.$parent.$parent.dispose(row)">
|
|
191
|
-
{{row.approval_state==1?'去处理':'已处理'}}
|
|
192
|
-
</button>
|
|
193
|
-
</td>
|
|
194
|
-
</tr>
|
|
195
|
-
</template>
|
|
196
|
-
<template partial='foot'></template>
|
|
197
|
-
</data-grid>
|
|
198
|
-
</criteria-paged>
|
|
199
|
-
|
|
200
|
-
<modal :show.sync="suggetsShow" v-ref:model width="30%">
|
|
201
|
-
<header slot="modal-header" class="modal-header">
|
|
202
|
-
<h4 class="modal-title">处理意见</h4>
|
|
203
|
-
</header>
|
|
204
|
-
<article slot="modal-body" class="modal-body">
|
|
205
|
-
<div class="form-group">
|
|
206
|
-
<p>{{ f_suggest }}</p>
|
|
207
|
-
</div>
|
|
208
|
-
</article>
|
|
209
|
-
<div slot="modal-footer" class="modal-footer">
|
|
210
|
-
<button type="button" class="btn btn-default" @click="close()">关闭</button>
|
|
211
|
-
</div>
|
|
212
|
-
</modal>
|
|
213
|
-
</div>
|
|
214
|
-
|
|
215
|
-
</template>
|
|
216
|
-
|
|
217
|
-
<script>
|
|
218
|
-
import {PagedList} from 'vue-client'
|
|
219
|
-
|
|
220
|
-
export default {
|
|
221
|
-
data () {
|
|
222
|
-
return {
|
|
223
|
-
model: new PagedList('/rs/sql/getOrderList', 20),
|
|
224
|
-
f_orgids: this.$login.f.orgid,
|
|
225
|
-
// f_orgids: '1522.255', //测试使用
|
|
226
|
-
suggetsShow: false,
|
|
227
|
-
f_suggest: ''
|
|
228
|
-
}
|
|
229
|
-
},
|
|
230
|
-
|
|
231
|
-
ready () {
|
|
232
|
-
// 默认查询待处理状态预约
|
|
233
|
-
this.$refs.paged.$refs.criteria.model.f_orderstate = 'is null'
|
|
234
|
-
this.search()
|
|
235
|
-
},
|
|
236
|
-
methods: {
|
|
237
|
-
search () {
|
|
238
|
-
this.$refs.paged.$refs.criteria.search()
|
|
239
|
-
},
|
|
240
|
-
selfSearch (args) {
|
|
241
|
-
this.model.search(args.condition, args.model)
|
|
242
|
-
this.dispose(null)
|
|
243
|
-
},
|
|
244
|
-
dispose (row) {
|
|
245
|
-
this.$dispatch('dispose', row)
|
|
246
|
-
},
|
|
247
|
-
close () {
|
|
248
|
-
this.suggetsShow = false
|
|
249
|
-
}
|
|
250
|
-
},
|
|
251
|
-
computed: {
|
|
252
|
-
// getState () {
|
|
253
|
-
// return [{label: '全部', value: ''}, {label: '待处理', value: 'is null'}, {
|
|
254
|
-
// label: '预约成功',
|
|
255
|
-
// value: '= \'预约成功\''
|
|
256
|
-
// }, {label: '预约失败', value: '= \'预约失败\''}]
|
|
257
|
-
// },
|
|
258
|
-
// orderType () {
|
|
259
|
-
// return [{label: '全部', value: ''}, ...this.$appdata.getParam('预约类型')]
|
|
260
|
-
// }
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
</script>
|
|
264
|
-
<style lang="less">
|
|
265
|
-
</style>
|