apply-clients 5.0.35-80 → 5.0.35-81
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 +1 -1
- package/src/apply.js +1 -0
- package/src/components/app_apply/ApplyToDoList.vue +2820 -2820
- package/src/components/app_apply/Gongcheng.vue +3631 -3631
- package/src/components/app_apply/ServiceControl.vue +736 -736
- package/src/components/app_apply/ezhou/ServiceView.vue +808 -808
- package/src/components/product/Common/PrintBill.vue +121 -121
- 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 +587 -587
- package/src/components/product/EngineeringSupervisory/EngineeringApplyStopInfo.vue +281 -281
- package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryControl.vue +1 -1
- package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryList.vue +7 -16
- package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryServiceControl.vue +486 -0
- 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/Process/Processes/Service/ServiceControl.vue +2155 -2155
- package/src/components/product/stopInfo/ApplyStopInfo.vue +281 -281
- package/src/ezhouAndroid.js +48 -48
|
@@ -1,281 +1,281 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="d1 flex">
|
|
3
|
-
<div class="left col-sm-12">
|
|
4
|
-
<criteria-paged :model="model" v-ref:cp>
|
|
5
|
-
<criteria partial='criteria' @condition-changed='search' v-ref:cri style="padding: 20px;background-color: #f6f6f6;">
|
|
6
|
-
<form novalidate class="" partial>
|
|
7
|
-
<div class="row">
|
|
8
|
-
<div class="col-sm-2">
|
|
9
|
-
<label class="col-sm-4 control-label ">联系人</label>
|
|
10
|
-
<div class="col-sm-8">
|
|
11
|
-
<input type="text" class="form-control" v-model="model.f_user_name" v-on:keyup.enter="search"
|
|
12
|
-
condition="u.f_user_name like '{}%'" placeholder="联系人">
|
|
13
|
-
</div>
|
|
14
|
-
</div>
|
|
15
|
-
<div class="col-sm-2">
|
|
16
|
-
<label class="col-sm-4 control-label ">项目名称</label>
|
|
17
|
-
<div class="col-sm-8">
|
|
18
|
-
<input type="text" class="form-control" v-model="model.f_entry_name" v-on:keyup.enter="search"
|
|
19
|
-
condition="u.f_entry_name like '{}%'" placeholder="项目名称">
|
|
20
|
-
</div>
|
|
21
|
-
</div>
|
|
22
|
-
<div class="col-sm-2">
|
|
23
|
-
<label class="col-sm-4 control-label ">报建编号</label>
|
|
24
|
-
<div class="col-sm-8">
|
|
25
|
-
<input type="text" class="form-control" v-model="model.f_apply_num" v-on:keyup.enter="search"
|
|
26
|
-
condition="u.f_apply_num like '{}%'" placeholder="报建编号">
|
|
27
|
-
</div>
|
|
28
|
-
</div>
|
|
29
|
-
|
|
30
|
-
<div class="col-sm-2">
|
|
31
|
-
<label class="col-sm-4 control-label ">小区</label>
|
|
32
|
-
<div class="col-sm-8">
|
|
33
|
-
<input type="text" class="form-control" v-model="model.f_residential_area" v-on:keyup.enter="search"
|
|
34
|
-
condition="f_residential_area like '{}%'" placeholder="小区">
|
|
35
|
-
</div>
|
|
36
|
-
</div>
|
|
37
|
-
<div class="col-sm-2 ">
|
|
38
|
-
<label class="col-sm-4 control-label ">开始日期</label>
|
|
39
|
-
<div class="col-sm-8">
|
|
40
|
-
<datepicker @change="$dispatch('setQueryCondition',model)" id="startDate" placeholder="开始日期"
|
|
41
|
-
style="display: block"
|
|
42
|
-
v-model="model.startDate"
|
|
43
|
-
:value.sync="model.startDate"
|
|
44
|
-
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
45
|
-
:show-reset-button="true"
|
|
46
|
-
condition="u.f_apply_date >= '{}'">
|
|
47
|
-
</datepicker>
|
|
48
|
-
</div>
|
|
49
|
-
</div>
|
|
50
|
-
</div>
|
|
51
|
-
<div class="row" style="margin-top:5px;">
|
|
52
|
-
<div class="col-sm-2">
|
|
53
|
-
<label class="col-sm-4 control-label ">终止日期</label>
|
|
54
|
-
<div class="col-sm-8">
|
|
55
|
-
<datepicker @change="$dispatch('setQueryCondition',model)" id="endDate" placeholder="终止日期"
|
|
56
|
-
style="display: block"
|
|
57
|
-
v-model="model.endDate"
|
|
58
|
-
:value.sync="model.endDate"
|
|
59
|
-
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
60
|
-
:show-reset-button="true"
|
|
61
|
-
condition="u.f_apply_date <= '{}'">
|
|
62
|
-
</datepicker>
|
|
63
|
-
</div>
|
|
64
|
-
</div>
|
|
65
|
-
|
|
66
|
-
<div class="col-sm-2">
|
|
67
|
-
<label class="col-sm-4 control-label ">用户类型</label>
|
|
68
|
-
<div class="col-sm-8">
|
|
69
|
-
<v-select :options="$parent.$parent.usertype" placeholder='用户类型' condition="f_user_type like '{}'"
|
|
70
|
-
:width="100" style="width:100%"
|
|
71
|
-
v-model="model.f_user_type" :value.sync="model.f_user_type" close-on-select>
|
|
72
|
-
</v-select>
|
|
73
|
-
</div>
|
|
74
|
-
</div>
|
|
75
|
-
|
|
76
|
-
<div class="col-sm-2">
|
|
77
|
-
<label class="col-sm-4 control-label ">报建类型</label>
|
|
78
|
-
<div class="col-sm-8">
|
|
79
|
-
<v-select :options="$parent.$parent.applytype" placeholder='报建类型' condition="f_apply_type like '{}%'"
|
|
80
|
-
:width="100"
|
|
81
|
-
v-model="model.f_apply_type" :value.sync="model.f_apply_type" style="width: 100%" close-on-select>
|
|
82
|
-
</v-select>
|
|
83
|
-
</div>
|
|
84
|
-
</div>
|
|
85
|
-
<div class="col-sm-4">
|
|
86
|
-
<button class="btn btn-primary btn-sm" type="button" @click="search(),$parent.$parent.showpager()" style="margin-left:10%">
|
|
87
|
-
<span class="glyphicon glyphicon-search"></span>查询</button>
|
|
88
|
-
<button class="btn-primary btn btn-sm" @click.prevent="$parent.$parent.clear()">清空</button>
|
|
89
|
-
</div>
|
|
90
|
-
</div>
|
|
91
|
-
|
|
92
|
-
</form>
|
|
93
|
-
</criteria>
|
|
94
|
-
<data-grid :model="model" partial='list' v-ref:grid class="list_area" is-fixed='false'>
|
|
95
|
-
<template partial='head'>
|
|
96
|
-
<tr class="title">
|
|
97
|
-
<th>
|
|
98
|
-
<nobr>序号</nobr>
|
|
99
|
-
</th>
|
|
100
|
-
<th>
|
|
101
|
-
<nobr>项目名称</nobr>
|
|
102
|
-
</th>
|
|
103
|
-
<th>
|
|
104
|
-
<nobr>终止流程</nobr>
|
|
105
|
-
</th>
|
|
106
|
-
<th>
|
|
107
|
-
<nobr>报建编号</nobr>
|
|
108
|
-
</th>
|
|
109
|
-
<th>
|
|
110
|
-
<nobr>联系人</nobr>
|
|
111
|
-
</th>
|
|
112
|
-
<th>
|
|
113
|
-
<nobr>小区</nobr>
|
|
114
|
-
</th>
|
|
115
|
-
<th v-if="!this.$login.f.f_fengongsi.includes('中燃')">
|
|
116
|
-
<nobr>用户类型</nobr>
|
|
117
|
-
</th>
|
|
118
|
-
<th>
|
|
119
|
-
<nobr>报建类型</nobr>
|
|
120
|
-
</th>
|
|
121
|
-
<th>
|
|
122
|
-
<nobr>报建日期</nobr>
|
|
123
|
-
</th>
|
|
124
|
-
<th>
|
|
125
|
-
<nobr>终止日期</nobr>
|
|
126
|
-
</th>
|
|
127
|
-
<th>
|
|
128
|
-
<nobr>项目状态</nobr>
|
|
129
|
-
</th>
|
|
130
|
-
<th>
|
|
131
|
-
<nobr>终止人</nobr>
|
|
132
|
-
</th>
|
|
133
|
-
<th>
|
|
134
|
-
<nobr>终止原因</nobr>
|
|
135
|
-
</th>
|
|
136
|
-
</tr>
|
|
137
|
-
</template>
|
|
138
|
-
<template partial='body'>
|
|
139
|
-
<tr>
|
|
140
|
-
<td style="text-align: center;">
|
|
141
|
-
<nobr>{{$index+1}}</nobr>
|
|
142
|
-
</td>
|
|
143
|
-
<td style="text-align: center;">
|
|
144
|
-
<nobr>{{row.f_entry_name}}</nobr>
|
|
145
|
-
</td>
|
|
146
|
-
<td style="text-align: center;">
|
|
147
|
-
<nobr>{{row.f_apply_num}}</nobr>
|
|
148
|
-
</td>
|
|
149
|
-
<td style="text-align: center;">
|
|
150
|
-
<nobr>{{row.defname}}</nobr>
|
|
151
|
-
</td>
|
|
152
|
-
<td style="text-align: center;">
|
|
153
|
-
<nobr>{{row.f_user_name}}</nobr>
|
|
154
|
-
</td>
|
|
155
|
-
|
|
156
|
-
<td style="text-align: center;">
|
|
157
|
-
<nobr>{{row.f_residential_area}}</nobr>
|
|
158
|
-
</td>
|
|
159
|
-
<td style="text-align: center;" v-if="!this.$login.f.f_fengongsi.includes('中燃')">
|
|
160
|
-
<nobr>{{row.f_user_type}}</nobr>
|
|
161
|
-
</td>
|
|
162
|
-
<td style="text-align: center;">
|
|
163
|
-
<nobr>{{row.f_apply_type}}</nobr>
|
|
164
|
-
</td>
|
|
165
|
-
<td style="text-align: center;">
|
|
166
|
-
<nobr>{{row.f_apply_date}}</nobr>
|
|
167
|
-
</td>
|
|
168
|
-
<td style="text-align: center;">
|
|
169
|
-
<nobr>{{row.f_date}}</nobr>
|
|
170
|
-
</td>
|
|
171
|
-
<td style="text-align: center;">
|
|
172
|
-
<nobr>{{row.f_sub_state}}</nobr>
|
|
173
|
-
</td>
|
|
174
|
-
<td style="text-align: center;">
|
|
175
|
-
<nobr>{{row.f_operator}}</nobr>
|
|
176
|
-
</td>
|
|
177
|
-
<td style="text-align: center;">
|
|
178
|
-
<nobr><button @click="$parent.$parent.$parent.stopinfoshow($index)">查看终止原因</button></nobr>
|
|
179
|
-
</td>
|
|
180
|
-
|
|
181
|
-
</tr>
|
|
182
|
-
</template>
|
|
183
|
-
</data-grid>
|
|
184
|
-
</criteria-paged>
|
|
185
|
-
</div>
|
|
186
|
-
<modal :show.sync="showstopinfoflag" v-ref:modal backdrop="false">
|
|
187
|
-
<header slot="modal-header" class="modal-header">
|
|
188
|
-
<button type="button" class="close" @click="closestopinfo"><span>×</span></button>
|
|
189
|
-
<h4 class="modal-title">终止原因</h4>
|
|
190
|
-
</header>
|
|
191
|
-
<article slot="modal-body" class="modal-body">
|
|
192
|
-
<p >{{stopremarks}}</p>
|
|
193
|
-
</article>
|
|
194
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
195
|
-
</footer>
|
|
196
|
-
</modal>
|
|
197
|
-
</div>
|
|
198
|
-
</template>
|
|
199
|
-
<script>
|
|
200
|
-
Date.prototype.Format = function (fmt) {
|
|
201
|
-
var o = {
|
|
202
|
-
"M+": this.getMonth() + 1, //月份
|
|
203
|
-
"d+": this.getDate(), //日
|
|
204
|
-
"H+": this.getHours(), //小时
|
|
205
|
-
"m+": this.getMinutes(), //分
|
|
206
|
-
"s+": this.getSeconds(), //秒
|
|
207
|
-
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
|
|
208
|
-
"S": this.getMilliseconds() //毫秒
|
|
209
|
-
};
|
|
210
|
-
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
|
|
211
|
-
for (var k in o)
|
|
212
|
-
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
|
|
213
|
-
return fmt;
|
|
214
|
-
}
|
|
215
|
-
import {
|
|
216
|
-
PagedList
|
|
217
|
-
} from 'vue-client'
|
|
218
|
-
import * as Util from '../../Util'
|
|
219
|
-
|
|
220
|
-
export default {
|
|
221
|
-
title: '工程终止查询',
|
|
222
|
-
data() {
|
|
223
|
-
return {
|
|
224
|
-
usertype: this.$appdata.getParam('用户类型'),
|
|
225
|
-
defnameType: this.$appdata.getParam('流程状态'),
|
|
226
|
-
applytype: this.$appdata.getParam('报建类型'),
|
|
227
|
-
//中燃 专用
|
|
228
|
-
fapplytype: this.$appdata.getParam('用户类型'),
|
|
229
|
-
showbtn: false,
|
|
230
|
-
model: new PagedList('rs/sql/checkproduceStop', 20, {
|
|
231
|
-
data: {
|
|
232
|
-
id: this.$login.f.id,
|
|
233
|
-
fengongsi: this.$login.f.f_fengongsi,
|
|
234
|
-
f_product_id: 1
|
|
235
|
-
}
|
|
236
|
-
}),
|
|
237
|
-
condition: '',
|
|
238
|
-
showstopinfoflag:false,
|
|
239
|
-
stopremarks:""
|
|
240
|
-
}
|
|
241
|
-
},
|
|
242
|
-
ready() {
|
|
243
|
-
this.$refs.cp.$refs.cri.model.startDate = Util.toStandardDateString() + ' 00:00:00'
|
|
244
|
-
this.$refs.cp.$refs.cri.model.endDate = Util.toStandardDateString() + ' 23:59:59'
|
|
245
|
-
this.$refs.cp.$refs.cri.search()
|
|
246
|
-
},
|
|
247
|
-
methods: {
|
|
248
|
-
clear(){
|
|
249
|
-
this.$refs.cp.$refs.cri.model = {}
|
|
250
|
-
},
|
|
251
|
-
stopinfoshow(index){
|
|
252
|
-
this.showstopinfoflag = true;
|
|
253
|
-
let remakrs = this.model.rows[index].f_stop_remarks;
|
|
254
|
-
console.log(JSON.stringify(remakrs))
|
|
255
|
-
console.log(remakrs)
|
|
256
|
-
|
|
257
|
-
this.stopremarks= remakrs;
|
|
258
|
-
},
|
|
259
|
-
clifun(row) {
|
|
260
|
-
this.$refs.cp.$refs.grid.model.rows = [row]
|
|
261
|
-
this.$refs.cp.pager = false
|
|
262
|
-
this.$dispatch('showbtn', row)
|
|
263
|
-
},
|
|
264
|
-
showpager() {
|
|
265
|
-
this.$refs.cp.pager = true
|
|
266
|
-
this.$dispatch('hiddenbtn')
|
|
267
|
-
},
|
|
268
|
-
closestopinfo(){
|
|
269
|
-
this.showstopinfoflag = close;
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
</script>
|
|
274
|
-
<style scoped>
|
|
275
|
-
label {
|
|
276
|
-
display: flex;
|
|
277
|
-
justify-content:center;
|
|
278
|
-
align-items:Center;
|
|
279
|
-
padding-top: 8px;
|
|
280
|
-
}
|
|
281
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="d1 flex">
|
|
3
|
+
<div class="left col-sm-12">
|
|
4
|
+
<criteria-paged :model="model" v-ref:cp>
|
|
5
|
+
<criteria partial='criteria' @condition-changed='search' v-ref:cri style="padding: 20px;background-color: #f6f6f6;">
|
|
6
|
+
<form novalidate class="" partial>
|
|
7
|
+
<div class="row">
|
|
8
|
+
<div class="col-sm-2">
|
|
9
|
+
<label class="col-sm-4 control-label ">联系人</label>
|
|
10
|
+
<div class="col-sm-8">
|
|
11
|
+
<input type="text" class="form-control" v-model="model.f_user_name" v-on:keyup.enter="search"
|
|
12
|
+
condition="u.f_user_name like '{}%'" placeholder="联系人">
|
|
13
|
+
</div>
|
|
14
|
+
</div>
|
|
15
|
+
<div class="col-sm-2">
|
|
16
|
+
<label class="col-sm-4 control-label ">项目名称</label>
|
|
17
|
+
<div class="col-sm-8">
|
|
18
|
+
<input type="text" class="form-control" v-model="model.f_entry_name" v-on:keyup.enter="search"
|
|
19
|
+
condition="u.f_entry_name like '{}%'" placeholder="项目名称">
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
<div class="col-sm-2">
|
|
23
|
+
<label class="col-sm-4 control-label ">报建编号</label>
|
|
24
|
+
<div class="col-sm-8">
|
|
25
|
+
<input type="text" class="form-control" v-model="model.f_apply_num" v-on:keyup.enter="search"
|
|
26
|
+
condition="u.f_apply_num like '{}%'" placeholder="报建编号">
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
<div class="col-sm-2">
|
|
31
|
+
<label class="col-sm-4 control-label ">小区</label>
|
|
32
|
+
<div class="col-sm-8">
|
|
33
|
+
<input type="text" class="form-control" v-model="model.f_residential_area" v-on:keyup.enter="search"
|
|
34
|
+
condition="f_residential_area like '{}%'" placeholder="小区">
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
<div class="col-sm-2 ">
|
|
38
|
+
<label class="col-sm-4 control-label ">开始日期</label>
|
|
39
|
+
<div class="col-sm-8">
|
|
40
|
+
<datepicker @change="$dispatch('setQueryCondition',model)" id="startDate" placeholder="开始日期"
|
|
41
|
+
style="display: block"
|
|
42
|
+
v-model="model.startDate"
|
|
43
|
+
:value.sync="model.startDate"
|
|
44
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
45
|
+
:show-reset-button="true"
|
|
46
|
+
condition="u.f_apply_date >= '{}'">
|
|
47
|
+
</datepicker>
|
|
48
|
+
</div>
|
|
49
|
+
</div>
|
|
50
|
+
</div>
|
|
51
|
+
<div class="row" style="margin-top:5px;">
|
|
52
|
+
<div class="col-sm-2">
|
|
53
|
+
<label class="col-sm-4 control-label ">终止日期</label>
|
|
54
|
+
<div class="col-sm-8">
|
|
55
|
+
<datepicker @change="$dispatch('setQueryCondition',model)" id="endDate" placeholder="终止日期"
|
|
56
|
+
style="display: block"
|
|
57
|
+
v-model="model.endDate"
|
|
58
|
+
:value.sync="model.endDate"
|
|
59
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
60
|
+
:show-reset-button="true"
|
|
61
|
+
condition="u.f_apply_date <= '{}'">
|
|
62
|
+
</datepicker>
|
|
63
|
+
</div>
|
|
64
|
+
</div>
|
|
65
|
+
|
|
66
|
+
<div class="col-sm-2">
|
|
67
|
+
<label class="col-sm-4 control-label ">用户类型</label>
|
|
68
|
+
<div class="col-sm-8">
|
|
69
|
+
<v-select :options="$parent.$parent.usertype" placeholder='用户类型' condition="f_user_type like '{}'"
|
|
70
|
+
:width="100" style="width:100%"
|
|
71
|
+
v-model="model.f_user_type" :value.sync="model.f_user_type" close-on-select>
|
|
72
|
+
</v-select>
|
|
73
|
+
</div>
|
|
74
|
+
</div>
|
|
75
|
+
|
|
76
|
+
<div class="col-sm-2">
|
|
77
|
+
<label class="col-sm-4 control-label ">报建类型</label>
|
|
78
|
+
<div class="col-sm-8">
|
|
79
|
+
<v-select :options="$parent.$parent.applytype" placeholder='报建类型' condition="f_apply_type like '{}%'"
|
|
80
|
+
:width="100"
|
|
81
|
+
v-model="model.f_apply_type" :value.sync="model.f_apply_type" style="width: 100%" close-on-select>
|
|
82
|
+
</v-select>
|
|
83
|
+
</div>
|
|
84
|
+
</div>
|
|
85
|
+
<div class="col-sm-4">
|
|
86
|
+
<button class="btn btn-primary btn-sm" type="button" @click="search(),$parent.$parent.showpager()" style="margin-left:10%">
|
|
87
|
+
<span class="glyphicon glyphicon-search"></span>查询</button>
|
|
88
|
+
<button class="btn-primary btn btn-sm" @click.prevent="$parent.$parent.clear()">清空</button>
|
|
89
|
+
</div>
|
|
90
|
+
</div>
|
|
91
|
+
|
|
92
|
+
</form>
|
|
93
|
+
</criteria>
|
|
94
|
+
<data-grid :model="model" partial='list' v-ref:grid class="list_area" is-fixed='false'>
|
|
95
|
+
<template partial='head'>
|
|
96
|
+
<tr class="title">
|
|
97
|
+
<th>
|
|
98
|
+
<nobr>序号</nobr>
|
|
99
|
+
</th>
|
|
100
|
+
<th>
|
|
101
|
+
<nobr>项目名称</nobr>
|
|
102
|
+
</th>
|
|
103
|
+
<th>
|
|
104
|
+
<nobr>终止流程</nobr>
|
|
105
|
+
</th>
|
|
106
|
+
<th>
|
|
107
|
+
<nobr>报建编号</nobr>
|
|
108
|
+
</th>
|
|
109
|
+
<th>
|
|
110
|
+
<nobr>联系人</nobr>
|
|
111
|
+
</th>
|
|
112
|
+
<th>
|
|
113
|
+
<nobr>小区</nobr>
|
|
114
|
+
</th>
|
|
115
|
+
<th v-if="!this.$login.f.f_fengongsi.includes('中燃')">
|
|
116
|
+
<nobr>用户类型</nobr>
|
|
117
|
+
</th>
|
|
118
|
+
<th>
|
|
119
|
+
<nobr>报建类型</nobr>
|
|
120
|
+
</th>
|
|
121
|
+
<th>
|
|
122
|
+
<nobr>报建日期</nobr>
|
|
123
|
+
</th>
|
|
124
|
+
<th>
|
|
125
|
+
<nobr>终止日期</nobr>
|
|
126
|
+
</th>
|
|
127
|
+
<th>
|
|
128
|
+
<nobr>项目状态</nobr>
|
|
129
|
+
</th>
|
|
130
|
+
<th>
|
|
131
|
+
<nobr>终止人</nobr>
|
|
132
|
+
</th>
|
|
133
|
+
<th>
|
|
134
|
+
<nobr>终止原因</nobr>
|
|
135
|
+
</th>
|
|
136
|
+
</tr>
|
|
137
|
+
</template>
|
|
138
|
+
<template partial='body'>
|
|
139
|
+
<tr>
|
|
140
|
+
<td style="text-align: center;">
|
|
141
|
+
<nobr>{{$index+1}}</nobr>
|
|
142
|
+
</td>
|
|
143
|
+
<td style="text-align: center;">
|
|
144
|
+
<nobr>{{row.f_entry_name}}</nobr>
|
|
145
|
+
</td>
|
|
146
|
+
<td style="text-align: center;">
|
|
147
|
+
<nobr>{{row.f_apply_num}}</nobr>
|
|
148
|
+
</td>
|
|
149
|
+
<td style="text-align: center;">
|
|
150
|
+
<nobr>{{row.defname}}</nobr>
|
|
151
|
+
</td>
|
|
152
|
+
<td style="text-align: center;">
|
|
153
|
+
<nobr>{{row.f_user_name}}</nobr>
|
|
154
|
+
</td>
|
|
155
|
+
|
|
156
|
+
<td style="text-align: center;">
|
|
157
|
+
<nobr>{{row.f_residential_area}}</nobr>
|
|
158
|
+
</td>
|
|
159
|
+
<td style="text-align: center;" v-if="!this.$login.f.f_fengongsi.includes('中燃')">
|
|
160
|
+
<nobr>{{row.f_user_type}}</nobr>
|
|
161
|
+
</td>
|
|
162
|
+
<td style="text-align: center;">
|
|
163
|
+
<nobr>{{row.f_apply_type}}</nobr>
|
|
164
|
+
</td>
|
|
165
|
+
<td style="text-align: center;">
|
|
166
|
+
<nobr>{{row.f_apply_date}}</nobr>
|
|
167
|
+
</td>
|
|
168
|
+
<td style="text-align: center;">
|
|
169
|
+
<nobr>{{row.f_date}}</nobr>
|
|
170
|
+
</td>
|
|
171
|
+
<td style="text-align: center;">
|
|
172
|
+
<nobr>{{row.f_sub_state}}</nobr>
|
|
173
|
+
</td>
|
|
174
|
+
<td style="text-align: center;">
|
|
175
|
+
<nobr>{{row.f_operator}}</nobr>
|
|
176
|
+
</td>
|
|
177
|
+
<td style="text-align: center;">
|
|
178
|
+
<nobr><button @click="$parent.$parent.$parent.stopinfoshow($index)">查看终止原因</button></nobr>
|
|
179
|
+
</td>
|
|
180
|
+
|
|
181
|
+
</tr>
|
|
182
|
+
</template>
|
|
183
|
+
</data-grid>
|
|
184
|
+
</criteria-paged>
|
|
185
|
+
</div>
|
|
186
|
+
<modal :show.sync="showstopinfoflag" v-ref:modal backdrop="false">
|
|
187
|
+
<header slot="modal-header" class="modal-header">
|
|
188
|
+
<button type="button" class="close" @click="closestopinfo"><span>×</span></button>
|
|
189
|
+
<h4 class="modal-title">终止原因</h4>
|
|
190
|
+
</header>
|
|
191
|
+
<article slot="modal-body" class="modal-body">
|
|
192
|
+
<p >{{stopremarks}}</p>
|
|
193
|
+
</article>
|
|
194
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
195
|
+
</footer>
|
|
196
|
+
</modal>
|
|
197
|
+
</div>
|
|
198
|
+
</template>
|
|
199
|
+
<script>
|
|
200
|
+
Date.prototype.Format = function (fmt) {
|
|
201
|
+
var o = {
|
|
202
|
+
"M+": this.getMonth() + 1, //月份
|
|
203
|
+
"d+": this.getDate(), //日
|
|
204
|
+
"H+": this.getHours(), //小时
|
|
205
|
+
"m+": this.getMinutes(), //分
|
|
206
|
+
"s+": this.getSeconds(), //秒
|
|
207
|
+
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
|
|
208
|
+
"S": this.getMilliseconds() //毫秒
|
|
209
|
+
};
|
|
210
|
+
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
|
|
211
|
+
for (var k in o)
|
|
212
|
+
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
|
|
213
|
+
return fmt;
|
|
214
|
+
}
|
|
215
|
+
import {
|
|
216
|
+
PagedList
|
|
217
|
+
} from 'vue-client'
|
|
218
|
+
import * as Util from '../../Util'
|
|
219
|
+
|
|
220
|
+
export default {
|
|
221
|
+
title: '工程终止查询',
|
|
222
|
+
data() {
|
|
223
|
+
return {
|
|
224
|
+
usertype: this.$appdata.getParam('用户类型'),
|
|
225
|
+
defnameType: this.$appdata.getParam('流程状态'),
|
|
226
|
+
applytype: this.$appdata.getParam('报建类型'),
|
|
227
|
+
//中燃 专用
|
|
228
|
+
fapplytype: this.$appdata.getParam('用户类型'),
|
|
229
|
+
showbtn: false,
|
|
230
|
+
model: new PagedList('rs/sql/checkproduceStop', 20, {
|
|
231
|
+
data: {
|
|
232
|
+
id: this.$login.f.id,
|
|
233
|
+
fengongsi: this.$login.f.f_fengongsi,
|
|
234
|
+
f_product_id: 1
|
|
235
|
+
}
|
|
236
|
+
}),
|
|
237
|
+
condition: '',
|
|
238
|
+
showstopinfoflag:false,
|
|
239
|
+
stopremarks:""
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
ready() {
|
|
243
|
+
this.$refs.cp.$refs.cri.model.startDate = Util.toStandardDateString() + ' 00:00:00'
|
|
244
|
+
this.$refs.cp.$refs.cri.model.endDate = Util.toStandardDateString() + ' 23:59:59'
|
|
245
|
+
this.$refs.cp.$refs.cri.search()
|
|
246
|
+
},
|
|
247
|
+
methods: {
|
|
248
|
+
clear(){
|
|
249
|
+
this.$refs.cp.$refs.cri.model = {}
|
|
250
|
+
},
|
|
251
|
+
stopinfoshow(index){
|
|
252
|
+
this.showstopinfoflag = true;
|
|
253
|
+
let remakrs = this.model.rows[index].f_stop_remarks;
|
|
254
|
+
console.log(JSON.stringify(remakrs))
|
|
255
|
+
console.log(remakrs)
|
|
256
|
+
|
|
257
|
+
this.stopremarks= remakrs;
|
|
258
|
+
},
|
|
259
|
+
clifun(row) {
|
|
260
|
+
this.$refs.cp.$refs.grid.model.rows = [row]
|
|
261
|
+
this.$refs.cp.pager = false
|
|
262
|
+
this.$dispatch('showbtn', row)
|
|
263
|
+
},
|
|
264
|
+
showpager() {
|
|
265
|
+
this.$refs.cp.pager = true
|
|
266
|
+
this.$dispatch('hiddenbtn')
|
|
267
|
+
},
|
|
268
|
+
closestopinfo(){
|
|
269
|
+
this.showstopinfoflag = close;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
</script>
|
|
274
|
+
<style scoped>
|
|
275
|
+
label {
|
|
276
|
+
display: flex;
|
|
277
|
+
justify-content:center;
|
|
278
|
+
align-items:Center;
|
|
279
|
+
padding-top: 8px;
|
|
280
|
+
}
|
|
281
|
+
</style>
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
<div class="col-sm-9">
|
|
11
11
|
<tabset v-ref:tabs :close="false">
|
|
12
12
|
<tab :header='header'>
|
|
13
|
-
<
|
|
13
|
+
<engineer-service-control :selectdata="selectdata" ></engineer-service-control>
|
|
14
14
|
</tab>
|
|
15
15
|
<!-- <tab header='档案信息'>
|
|
16
16
|
<record-message v-ref:record :selectdata="selectdata" :key="tittle1" :edit = "false"></record-message>
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
</div>
|
|
16
16
|
|
|
17
17
|
<div class="col-sm-2 ">
|
|
18
|
-
<label class="col-sm-4 control-label"
|
|
18
|
+
<label class="col-sm-4 control-label">工程编号</label>
|
|
19
19
|
<div class="col-sm-8">
|
|
20
20
|
<input type="text" class="form-control" placeholder='报建编号' v-model="model.f_phone"
|
|
21
21
|
v-on:keyup.enter="search"
|
|
@@ -65,15 +65,6 @@
|
|
|
65
65
|
</v-select>
|
|
66
66
|
</div>
|
|
67
67
|
</div>
|
|
68
|
-
<div class="col-sm-2" >
|
|
69
|
-
<label class="col-sm-4 control-label">业务类型</label>
|
|
70
|
-
<div class="col-sm-8">
|
|
71
|
-
<v-select style="min-width: 100%;" @change="$dispatch('setQueryCondition',model)" :options="[{label:'全部',value:''},{label:'新报装',value:'新报装'},{label:'改管',value:'改管'}]"
|
|
72
|
-
condition="f_work_type = '{}'" placeholder='业务类型'
|
|
73
|
-
v-model="model.f_work_type" :value.sync="model.f_work_type" close-on-select>
|
|
74
|
-
</v-select>
|
|
75
|
-
</div>
|
|
76
|
-
</div>
|
|
77
68
|
<div class="col-sm-2">
|
|
78
69
|
<label for="startDate" class="col-sm-4 control-label">开始日期</label>
|
|
79
70
|
<div class="col-sm-8">
|
|
@@ -111,10 +102,10 @@
|
|
|
111
102
|
</div>
|
|
112
103
|
</div>
|
|
113
104
|
<div class="col-sm-2" style="float: left">
|
|
114
|
-
<label class="col-sm-4 control-label"
|
|
105
|
+
<label class="col-sm-4 control-label">工程来源</label>
|
|
115
106
|
<div class="col-sm-8">
|
|
116
|
-
<v-select style="min-width: 100%;" @change="$dispatch('setQueryCondition',model)" :options="[{label:'全部',value:''}
|
|
117
|
-
condition="f_apply_source = '{}'" placeholder='
|
|
107
|
+
<v-select style="min-width: 100%;" @change="$dispatch('setQueryCondition',model)" :options="[{label:'全部',value:''},...this.$appdata.getParam('报装来源')]"
|
|
108
|
+
condition="f_apply_source = '{}'" placeholder='工程来源'
|
|
118
109
|
v-model="model.f_apply_source" :value.sync="model.f_apply_source" close-on-select>
|
|
119
110
|
</v-select>
|
|
120
111
|
</div>
|
|
@@ -252,7 +243,7 @@
|
|
|
252
243
|
}),
|
|
253
244
|
condition: '',
|
|
254
245
|
select: '',
|
|
255
|
-
alloptions:[]
|
|
246
|
+
alloptions:[{label:"踏勘",value:"踏勘"},{label:"施工",value:"施工"},{label:"施工验收",value:"施工验收"},{label:"通气转单",value:"通气转单"}]
|
|
256
247
|
}
|
|
257
248
|
},
|
|
258
249
|
ready() {
|
|
@@ -267,7 +258,7 @@
|
|
|
267
258
|
this.$refs.cp.$refs.cri.model[key] = []
|
|
268
259
|
})
|
|
269
260
|
},
|
|
270
|
-
getapplyName(datas){
|
|
261
|
+
/*getapplyName(datas){
|
|
271
262
|
console.log("开始获取所有名")
|
|
272
263
|
let str = datas
|
|
273
264
|
console.log("开始获取所有名"+JSON.stringify(str))
|
|
@@ -281,7 +272,7 @@
|
|
|
281
272
|
})
|
|
282
273
|
this.alloptions = param;
|
|
283
274
|
|
|
284
|
-
}
|
|
275
|
+
},*/
|
|
285
276
|
async getConfig(){
|
|
286
277
|
let http = new HttpResetClass()
|
|
287
278
|
await http.load('POST','rs/logic/ApplyGetConfigs', {data:this.$login.f}, {resolveMsg: null, rejectMsg: null}
|