apply-clients 7.1.44 → 7.1.47
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.
|
@@ -1,208 +1,214 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="col-sm-12">
|
|
3
|
-
<criteria-paged :model="model" v-ref:cp>
|
|
4
|
-
<criteria partial='criteria' @condition-changed='search' v-ref:cri>
|
|
5
|
-
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
6
|
-
<div class="row">
|
|
7
|
-
<div class="form-group col-sm-4">
|
|
8
|
-
<label class="font_normal_body">项目名称/客户名称/联系人:</label>
|
|
9
|
-
<input type="text" class="input_search" v-model="model.f_user_name"
|
|
10
|
-
v-on:keyup.enter="search" condition=" (f_entry_name like '%{}%' or f_user_name like '%{}%' or f_contact like '%{}%') " placeholder='三选一输入'>
|
|
11
|
-
</div>
|
|
12
|
-
<div class="form-group col-sm-3">
|
|
13
|
-
<label class="font_normal_body">报建编号:</label>
|
|
14
|
-
<input type="text" class="input_search" placeholder='报建编号' v-model="model.f_apply_num"
|
|
15
|
-
v-on:keyup.enter="search"
|
|
16
|
-
condition="f_apply_num = '{}'">
|
|
17
|
-
</div>
|
|
18
|
-
<div class="form-group col-sm-3">
|
|
19
|
-
<label class="font_normal_body">合同编号:</label>
|
|
20
|
-
<input type="text" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
|
|
21
|
-
v-on:keyup.enter="search"
|
|
22
|
-
condition="f_contract_number = '{}'">
|
|
23
|
-
</div>
|
|
24
|
-
<div class="form-group col-sm-2 button-range">
|
|
25
|
-
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
26
|
-
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
27
|
-
<
|
|
28
|
-
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
29
|
-
@click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
|
|
30
|
-
class="button_spacing"
|
|
31
|
-
style="float: right">
|
|
32
|
-
</
|
|
33
|
-
</div>
|
|
34
|
-
</div>
|
|
35
|
-
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
36
|
-
<div class="form-group col-sm-3">
|
|
37
|
-
<label class="font_normal_body"
|
|
38
|
-
<v-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
</div>
|
|
67
|
-
<div class="form-group col-sm-3">
|
|
68
|
-
<label class="font_normal_body"
|
|
69
|
-
<input type="text" class="input_search" placeholder='
|
|
70
|
-
v-on:keyup.enter="search"
|
|
71
|
-
condition="
|
|
72
|
-
</div>
|
|
73
|
-
<div class="form-group col-sm-3">
|
|
74
|
-
<label
|
|
75
|
-
<
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
<th style="white-space: nowrap;"
|
|
108
|
-
<th style="white-space: nowrap;"
|
|
109
|
-
<th style="white-space: nowrap;"
|
|
110
|
-
<th style="white-space: nowrap;"
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
<
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
122
|
-
<nobr>{{
|
|
123
|
-
</td>
|
|
124
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
125
|
-
<nobr>{{row.
|
|
126
|
-
</td>
|
|
127
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
128
|
-
<nobr>{{row.
|
|
129
|
-
</td>
|
|
130
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
131
|
-
<nobr>{{row.
|
|
132
|
-
</td>
|
|
133
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
134
|
-
<nobr>{{row.
|
|
135
|
-
</td>
|
|
136
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
137
|
-
<nobr>{{row.
|
|
138
|
-
</td>
|
|
139
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
140
|
-
<nobr>{{row.
|
|
141
|
-
</td>
|
|
142
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
143
|
-
<nobr>{{row.
|
|
144
|
-
</td>
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
</
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
}),
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
},
|
|
177
|
-
|
|
178
|
-
//
|
|
179
|
-
search
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div class="col-sm-12">
|
|
3
|
+
<criteria-paged :model="model" v-ref:cp>
|
|
4
|
+
<criteria partial='criteria' @condition-changed='search' v-ref:cri>
|
|
5
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
6
|
+
<div class="row">
|
|
7
|
+
<div class="form-group col-sm-4">
|
|
8
|
+
<label class="font_normal_body">项目名称/客户名称/联系人:</label>
|
|
9
|
+
<input type="text" class="input_search" v-model="model.f_user_name"
|
|
10
|
+
v-on:keyup.enter="search" condition=" (f_entry_name like '%{}%' or f_user_name like '%{}%' or f_contact like '%{}%') " placeholder='三选一输入'>
|
|
11
|
+
</div>
|
|
12
|
+
<div class="form-group col-sm-3">
|
|
13
|
+
<label class="font_normal_body">报建编号:</label>
|
|
14
|
+
<input type="text" class="input_search" placeholder='报建编号' v-model="model.f_apply_num"
|
|
15
|
+
v-on:keyup.enter="search"
|
|
16
|
+
condition="f_apply_num = '{}'">
|
|
17
|
+
</div>
|
|
18
|
+
<div class="form-group col-sm-3">
|
|
19
|
+
<label class="font_normal_body">合同编号:</label>
|
|
20
|
+
<input type="text" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
|
|
21
|
+
v-on:keyup.enter="search"
|
|
22
|
+
condition="f_contract_number = '{}'">
|
|
23
|
+
</div>
|
|
24
|
+
<div class="form-group col-sm-2 button-range">
|
|
25
|
+
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
26
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
27
|
+
<button
|
|
28
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
29
|
+
@click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
|
|
30
|
+
class="button_spacing"
|
|
31
|
+
style="float: right">
|
|
32
|
+
</button>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
36
|
+
<div class="form-group col-sm-3">
|
|
37
|
+
<label class="font_normal_body">用户编号:</label>
|
|
38
|
+
<input type="text" class="input_search" placeholder='用户编号' v-model="model.f_userinfo_code"
|
|
39
|
+
v-on:keyup.enter="search"
|
|
40
|
+
condition="ui.f_userinfo_code like '%{}%'">
|
|
41
|
+
</div>
|
|
42
|
+
<div class="form-group col-sm-3">
|
|
43
|
+
<label class="font_normal_body">报建类型:</label>
|
|
44
|
+
<v-select
|
|
45
|
+
v-model="model.f_apply_type"
|
|
46
|
+
placeholder='报建类型'
|
|
47
|
+
condition="f_apply_type like '%{}%'"
|
|
48
|
+
:value.sync="model.f_apply_type"
|
|
49
|
+
:options='$parent.$parent.applytype'
|
|
50
|
+
class="select select_list"
|
|
51
|
+
:value-single="true"
|
|
52
|
+
@change="$parent.$parent.applyTypeChange()"
|
|
53
|
+
close-on-select ></v-select>
|
|
54
|
+
</div>
|
|
55
|
+
<div class="form-group col-sm-3">
|
|
56
|
+
<label class="font_normal_body">办理环节:</label>
|
|
57
|
+
<v-select
|
|
58
|
+
v-model="model.defname"
|
|
59
|
+
placeholder='办理环节'
|
|
60
|
+
condition="defname = '{}'"
|
|
61
|
+
:value.sync="model.defname"
|
|
62
|
+
:options='$parent.$parent.defnames'
|
|
63
|
+
class="select select_list"
|
|
64
|
+
:value-single="true"
|
|
65
|
+
close-on-select ></v-select>
|
|
66
|
+
</div>
|
|
67
|
+
<div class="form-group col-sm-3">
|
|
68
|
+
<label class="font_normal_body">联系电话:</label>
|
|
69
|
+
<input type="text" class="input_search" placeholder='联系电话' v-model="model.f_phone"
|
|
70
|
+
v-on:keyup.enter="search"
|
|
71
|
+
condition="f_phone like '%{}%'">
|
|
72
|
+
</div>
|
|
73
|
+
<div class="form-group col-sm-3">
|
|
74
|
+
<label class="font_normal_body">用户地址:</label>
|
|
75
|
+
<input type="text" class="input_search" placeholder='用户地址' v-model="model.f_address"
|
|
76
|
+
v-on:keyup.enter="search"
|
|
77
|
+
condition="f_address like '%{}%'">
|
|
78
|
+
</div>
|
|
79
|
+
<div class="form-group col-sm-3">
|
|
80
|
+
<label for="startDate" class="font_normal_body">开始时间:</label>
|
|
81
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
82
|
+
style="width: 60%!important;"
|
|
83
|
+
v-model="model.startDate"
|
|
84
|
+
:value.sync="model.startDate"
|
|
85
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
86
|
+
:show-reset-button="true"
|
|
87
|
+
condition="f_apply_date >= '{}'">
|
|
88
|
+
</datepicker>
|
|
89
|
+
</div>
|
|
90
|
+
<div class="form-group col-sm-3">
|
|
91
|
+
<label for="endDate" class="font_normal_body">结束时间:</label>
|
|
92
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
93
|
+
style="width: 60%!important;"
|
|
94
|
+
v-model="model.endDate"
|
|
95
|
+
:value.sync="model.endDate"
|
|
96
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
97
|
+
:show-reset-button="true"
|
|
98
|
+
condition="f_apply_date <= '{}'">
|
|
99
|
+
</datepicker>
|
|
100
|
+
</div>
|
|
101
|
+
</div>
|
|
102
|
+
</div>
|
|
103
|
+
</criteria>
|
|
104
|
+
<data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy">
|
|
105
|
+
<template partial='head'>
|
|
106
|
+
<tr>
|
|
107
|
+
<th style="white-space: nowrap;">序号</th>
|
|
108
|
+
<th style="white-space: nowrap;">报建编号</th>
|
|
109
|
+
<th style="white-space: nowrap;">项目名称/客户名称/联系人</th>
|
|
110
|
+
<th style="white-space: nowrap;">合同编号</th>
|
|
111
|
+
<th style="white-space: nowrap;">电话</th>
|
|
112
|
+
<th style="white-space: nowrap;">地址</th>
|
|
113
|
+
<th style="white-space: nowrap;">报建类型</th>
|
|
114
|
+
<th style="white-space: nowrap;">办理环节</th>
|
|
115
|
+
<th style="white-space: nowrap;">流程状态</th>
|
|
116
|
+
<th style="white-space: nowrap;">报建日期</th>
|
|
117
|
+
</tr>
|
|
118
|
+
</template>
|
|
119
|
+
<template partial='body'>
|
|
120
|
+
<tr>
|
|
121
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
122
|
+
<nobr>{{$index+1}}</nobr>
|
|
123
|
+
</td>
|
|
124
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
125
|
+
<nobr>{{row.f_apply_num}}</nobr>
|
|
126
|
+
</td>
|
|
127
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
128
|
+
<nobr>{{row.f_entry_name}}/{{row.f_user_name}}/{{row.f_contact}}</nobr>
|
|
129
|
+
</td>
|
|
130
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
131
|
+
<nobr>{{row.f_contract_number}}</nobr>
|
|
132
|
+
</td>
|
|
133
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
134
|
+
<nobr>{{row.f_phone}}</nobr>
|
|
135
|
+
</td>
|
|
136
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
137
|
+
<nobr>{{row.f_address}}</nobr>
|
|
138
|
+
</td>
|
|
139
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
140
|
+
<nobr>{{row.f_apply_type}}</nobr>
|
|
141
|
+
</td>
|
|
142
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
143
|
+
<nobr>{{row.defname}}</nobr>
|
|
144
|
+
</td>
|
|
145
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
146
|
+
<nobr>{{row.f_sub_state}}</nobr>
|
|
147
|
+
</td>
|
|
148
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
149
|
+
<nobr>{{row.f_apply_date}}</nobr>
|
|
150
|
+
</td>
|
|
151
|
+
</tr>
|
|
152
|
+
</template>
|
|
153
|
+
</data-grid>
|
|
154
|
+
</criteria-paged>
|
|
155
|
+
</div>
|
|
156
|
+
</template>
|
|
157
|
+
<script>
|
|
158
|
+
import {PagedList} from 'vue-client'
|
|
159
|
+
import {HttpResetClass} from 'vue-client'
|
|
160
|
+
import {isEmpty} from '../../Util'
|
|
161
|
+
export default {
|
|
162
|
+
title: '勘探详情',
|
|
163
|
+
props: ['showData'],
|
|
164
|
+
data () {
|
|
165
|
+
return {
|
|
166
|
+
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
|
|
167
|
+
model: new PagedList('rs/sql/supervisory', 20, {
|
|
168
|
+
data: {
|
|
169
|
+
id: `${this.$login.f.name}`,
|
|
170
|
+
orgid: this.$login.f.f_orgids
|
|
171
|
+
}
|
|
172
|
+
}),
|
|
173
|
+
defnames: [{label: '全部', value: ''}], // 流程节点
|
|
174
|
+
criteriaShow: false
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
ready () {
|
|
178
|
+
// 调用查询
|
|
179
|
+
this.search()
|
|
180
|
+
},
|
|
181
|
+
events: {
|
|
182
|
+
},
|
|
183
|
+
methods: {
|
|
184
|
+
// 查询
|
|
185
|
+
search () {
|
|
186
|
+
this.$dispatch('search')
|
|
187
|
+
},
|
|
188
|
+
clear () {
|
|
189
|
+
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
190
|
+
this.$refs.cp.$refs.cri.model[key] = []
|
|
191
|
+
})
|
|
192
|
+
},
|
|
193
|
+
applyTypeChange () {
|
|
194
|
+
if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
|
|
195
|
+
let http = new HttpResetClass()
|
|
196
|
+
http.load('POST', 'rs/logic/getDefnameByType', {
|
|
197
|
+
f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type
|
|
198
|
+
}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
199
|
+
this.defnames = [{label: '全部', value: ''}, ...res.data]
|
|
200
|
+
})
|
|
201
|
+
} else {
|
|
202
|
+
this.defnames = [{label: '全部', value: ''}]
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
check (val) {
|
|
206
|
+
this.$dispatch('apply', val)
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
computed: {
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
</script>
|
|
213
|
+
<style scoped>
|
|
214
|
+
</style>
|