apply-clients 4.0.66 → 4.0.67
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 +186 -186
- package/src/components/product/Function/InstallInfoSelect.vue +239 -239
- package/src/components/product/ImageUpload1.vue +10 -6
- package/src/components/product/Process/ExplorationSelect.vue +463 -463
- package/src/components/product/Process/Processes/BatchItem.vue +507 -507
- package/src/components/product/Statistics/ApplyPaySearch/ApplyCheckBill.vue +420 -420
- package/src/components/product/Statistics/ApplyPaySearch/ApplyPaySearch.vue +363 -363
- package/src/components/product/Statistics/ApplyPaySearch/MaterialSummary.vue +373 -373
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +207 -207
- package/src/components/product/Supervisory/SupervisoryControl.vue +157 -157
- package/src/components/product/Supervisory/SupervisoryList.vue +450 -450
- package/.gradle/5.2.1/executionHistory/executionHistory.bin +0 -0
- package/.gradle/5.2.1/executionHistory/executionHistory.lock +0 -0
- package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/5.2.1/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/.gradle/vcs-1/gc.properties +0 -0
- package/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/gradle/wrapper/gradle-wrapper.properties +0 -5
- package/gradlew +0 -172
- package/gradlew.bat +0 -84
|
@@ -1,239 +1,239 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="d1 flex">
|
|
3
|
-
<div class="left col-sm-12" v-if="showfunction">
|
|
4
|
-
<criteria-paged :model="model" v-ref:cp>
|
|
5
|
-
<criteria partial='criteria' @condition-changed='search' v-ref:cri>
|
|
6
|
-
<form novalidate class="" partial>
|
|
7
|
-
<div class="col-sm-10">
|
|
8
|
-
<div class="col-sm-1">
|
|
9
|
-
<div class="col-sm-12">
|
|
10
|
-
<input type="text" class="form-control" v-model="model.f_user_name" v-on:keyup.enter="search"
|
|
11
|
-
condition="f_user_name like '%{}%'" placeholder="客户名称">
|
|
12
|
-
</div>
|
|
13
|
-
</div>
|
|
14
|
-
<div class="col-sm-1">
|
|
15
|
-
<div class="col-sm-12">
|
|
16
|
-
<input type="text" class="form-control" v-model="model.f_phone" v-on:keyup.enter="search"
|
|
17
|
-
condition="f_phone like '%{}%'" placeholder="电话号码">
|
|
18
|
-
</div>
|
|
19
|
-
</div>
|
|
20
|
-
<div class="col-sm-1">
|
|
21
|
-
<div class="col-sm-12">
|
|
22
|
-
<input type="text" class="form-control" v-model="model.f_apply_num" v-on:keyup.enter="search"
|
|
23
|
-
condition="f_apply_num like '%{}%'" placeholder="报建编号">
|
|
24
|
-
</div>
|
|
25
|
-
</div>
|
|
26
|
-
<div class="col-sm-2">
|
|
27
|
-
<!--<label class="col-sm-6"><nobr> 地址:</nobr></label>-->
|
|
28
|
-
<div class="col-sm-12">
|
|
29
|
-
<input type="text" placeholder="地址" class="form-control" v-model="model.f_address" v-on:keyup.enter="search"
|
|
30
|
-
condition="f_address like '%{}%'" >
|
|
31
|
-
</div>
|
|
32
|
-
</div>
|
|
33
|
-
<!--<div class="col-sm-2">-->
|
|
34
|
-
<!--<!–<label for="f_user_name" class="col-sm-6"><nobr> 小区:</nobr></label>–>-->
|
|
35
|
-
<!--<div class="col-sm-11">-->
|
|
36
|
-
<!--<input type="text" class="form-control" v-model="model.f_residential_area" v-on:keyup.enter="search"-->
|
|
37
|
-
<!--condition="f_residential_area like '%{}%'" placeholder="小区">-->
|
|
38
|
-
<!--</div>-->
|
|
39
|
-
<!--</div>-->
|
|
40
|
-
<div class="col-sm-2">
|
|
41
|
-
<!--<label for="f_user_name" class="col-sm-6"><nobr> 用户类型:</nobr></label>-->
|
|
42
|
-
<div class="col-sm-11" v-if="this.$login.f.f_fengongsi.includes('中燃')">
|
|
43
|
-
<v-select :options="$parent.$parent.fapplytype" placeholder='用气性质' condition="f_user_type = '{}'"
|
|
44
|
-
v-model="model.f_apply_type" :value.sync="model.f_apply_type" close-on-select>
|
|
45
|
-
</v-select>
|
|
46
|
-
</div>
|
|
47
|
-
<div class="col-sm-11" v-else>
|
|
48
|
-
<v-select :options="$parent.$parent.usertype" placeholder='用气性质' condition="f_gas_type like '%{}%'"
|
|
49
|
-
v-model="model.f_gas_type" :value.sync="model.f_gas_type" close-on-select>
|
|
50
|
-
</v-select>
|
|
51
|
-
</div>
|
|
52
|
-
</div>
|
|
53
|
-
<div class="col-sm-2 form-group form-input-group">
|
|
54
|
-
<label class="control-label">办理环节</label>
|
|
55
|
-
<v-select @change="$dispatch('setQueryCondition',model)" :options="$parent.$parent.defnames"
|
|
56
|
-
condition="defname = '{}'" placeholder='流程环节'
|
|
57
|
-
v-model="model.defname" :value.sync="model.defname" close-on-select>
|
|
58
|
-
</v-select>
|
|
59
|
-
</div>
|
|
60
|
-
<div class="col-sm-1 form-group">
|
|
61
|
-
<v-select :width ="'100%'" style="width: 100%" :options="$parent.$parent.f_is_gas" placeholder='现场勘察' condition="f_is_gas = '{}'"
|
|
62
|
-
v-model="model.f_is_gas" :value.sync="model.f_is_gas" close-on-select>
|
|
63
|
-
</v-select>
|
|
64
|
-
</div>
|
|
65
|
-
<!--<div class="col-sm-2">-->
|
|
66
|
-
<!--<!–<label for="f_user_type" class="col-sm-6"><nobr> 流程状态:</nobr></label>–>-->
|
|
67
|
-
<!--<div class="col-sm-12">-->
|
|
68
|
-
<!--<v-select :options="$parent.$parent.defnameType" placeholder='流程状态'-->
|
|
69
|
-
<!--condition="act.defname = '{}'"-->
|
|
70
|
-
<!--v-model="model.defname" :value.sync="model.defname" close-on-select>-->
|
|
71
|
-
<!--</v-select>-->
|
|
72
|
-
<!--</div>-->
|
|
73
|
-
<!--</div>-->
|
|
74
|
-
<!--<div class="col-sm-2">-->
|
|
75
|
-
<!--<!–<label for="f_user_name" class="col-sm-6"><nobr> 报建类型:</nobr></label>–>-->
|
|
76
|
-
<!--<div class="col-sm-12" v-if="!this.$login.f.f_fengongsi.includes('中燃')">-->
|
|
77
|
-
<!--<v-select :options="$parent.$parent.applytype" placeholder='报建类型' condition="f_apply_type like '%{}%'"-->
|
|
78
|
-
<!--v-model="model.f_apply_type" :value.sync="model.f_apply_type" close-on-select>-->
|
|
79
|
-
<!--</v-select>-->
|
|
80
|
-
<!--</div>-->
|
|
81
|
-
<!--</div>-->
|
|
82
|
-
</div>
|
|
83
|
-
|
|
84
|
-
<div class="col-sm-2">
|
|
85
|
-
<center>
|
|
86
|
-
<div class="col-sm-10 pull-right">
|
|
87
|
-
<button class="btn btn-primary btn-sm" type="button" @click="search(),$parent.$parent.showpager()">
|
|
88
|
-
<span class="glyphicon glyphicon-search"></span>{{$parent.$parent.buttonmsg=='查询'?'查询':'返回'}}</button>
|
|
89
|
-
</div>
|
|
90
|
-
</center>
|
|
91
|
-
</div>
|
|
92
|
-
</form>
|
|
93
|
-
</criteria>
|
|
94
|
-
<data-grid :model="model" partial='list' v-ref:grid class="data-grid" is-fixed='false' style="overflow-x:auto">
|
|
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>
|
|
116
|
-
<nobr>报建日期</nobr>
|
|
117
|
-
</th>
|
|
118
|
-
<!--<th>-->
|
|
119
|
-
<!--<nobr>申请户数</nobr>-->
|
|
120
|
-
<!--</th>-->
|
|
121
|
-
<th>
|
|
122
|
-
<nobr>操作</nobr>
|
|
123
|
-
</th>
|
|
124
|
-
</tr>
|
|
125
|
-
</template>
|
|
126
|
-
<template partial='body'>
|
|
127
|
-
<tr>
|
|
128
|
-
<td style="text-align: center;">
|
|
129
|
-
<nobr>{{$index+1}}</nobr>
|
|
130
|
-
</td>
|
|
131
|
-
<td style="text-align: center;">
|
|
132
|
-
<nobr>{{row.defname}}</nobr>
|
|
133
|
-
</td>
|
|
134
|
-
<td style="text-align: center;">
|
|
135
|
-
<nobr>{{row.f_user_name}}</nobr>
|
|
136
|
-
</td>
|
|
137
|
-
<td style="text-align: center;">
|
|
138
|
-
<nobr>{{$getJsonName(row.f_address)}}</nobr>
|
|
139
|
-
</td>
|
|
140
|
-
<td style="text-align: center;">
|
|
141
|
-
<nobr>{{row.f_gas_type}}</nobr>
|
|
142
|
-
</td>
|
|
143
|
-
<td style="text-align: center;">
|
|
144
|
-
<nobr>{{row.defname}}</nobr>
|
|
145
|
-
</td>
|
|
146
|
-
<td style="text-align: center;">
|
|
147
|
-
<nobr>{{row.f_apply_date}}</nobr>
|
|
148
|
-
</td>
|
|
149
|
-
<!--<td style="text-align: center;">-->
|
|
150
|
-
<!--<nobr>{{row.f_apply_count}}</nobr>-->
|
|
151
|
-
<!--</td>-->
|
|
152
|
-
<td style="text-align: center;">
|
|
153
|
-
<dropdown v-if="row.defname != '完工'">
|
|
154
|
-
<button type="button" data-toggle="dropdown" style="border: 0px;background: none;">
|
|
155
|
-
<span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
|
|
156
|
-
</button>
|
|
157
|
-
<ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right">
|
|
158
|
-
<li v-for="(index,func) in ($function_vue.functions?$function_vue.functions:functions)">
|
|
159
|
-
<a href="#" @click="$dispatch('func',func,row)">{{func.title}}</a>
|
|
160
|
-
</li>
|
|
161
|
-
</ul>
|
|
162
|
-
</dropdown>
|
|
163
|
-
</td>
|
|
164
|
-
</tr>
|
|
165
|
-
</template>
|
|
166
|
-
</data-grid>
|
|
167
|
-
</criteria-paged>
|
|
168
|
-
</div>
|
|
169
|
-
</div>
|
|
170
|
-
</template>
|
|
171
|
-
<script>
|
|
172
|
-
import {
|
|
173
|
-
PagedList
|
|
174
|
-
} from 'vue-client'
|
|
175
|
-
import {HttpResetClass} from 'vue-client'
|
|
176
|
-
export default {
|
|
177
|
-
title: '报建业务信息',
|
|
178
|
-
data() {
|
|
179
|
-
return {
|
|
180
|
-
defnames:[],
|
|
181
|
-
usertype: [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')],
|
|
182
|
-
defnameType: [{label: '全部', value: ''}, ...this.$appdata.getParam('流程状态')],
|
|
183
|
-
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
|
|
184
|
-
f_is_gas: [{label:"全部",value:''}, {label:"符合规范要求",value:'符合规范要求'}, {label:"不符合规范要求",value:'不符合规范要求'}],
|
|
185
|
-
//中燃 专用
|
|
186
|
-
fapplytype: this.$appdata.getParam('用户类型'),
|
|
187
|
-
showbtn: false,
|
|
188
|
-
model: new PagedList('rs/sql/checkuserfunction', 20, {
|
|
189
|
-
data: {
|
|
190
|
-
id: this.$login.f.id,
|
|
191
|
-
fengongsi: this.$login.f.f_fengongsi
|
|
192
|
-
}
|
|
193
|
-
}),
|
|
194
|
-
buttonmsg:'查询',
|
|
195
|
-
condition: '',
|
|
196
|
-
showfunction:true,
|
|
197
|
-
functions:[]
|
|
198
|
-
}
|
|
199
|
-
},
|
|
200
|
-
beforeCreate(){
|
|
201
|
-
this.defnameType = [{label: '全部', value: ''}, ...this.$appdata.getParam('流程状态')]
|
|
202
|
-
},
|
|
203
|
-
ready() {
|
|
204
|
-
let http = new HttpResetClass()
|
|
205
|
-
http.load('POST', 'rs/sql/getDefnamesForActivityins', {data: {}}, {
|
|
206
|
-
resolveMsg: null,
|
|
207
|
-
rejectMsg: null
|
|
208
|
-
}).then((res) => {
|
|
209
|
-
// 先获取所有流程环节
|
|
210
|
-
this.defnames = [{label: '全部', value: ''}]
|
|
211
|
-
for (let i = 0; i < res.data.length; i++) {
|
|
212
|
-
this.defnames.push({label: res.data[i].defname, value: res.data[i].defname})
|
|
213
|
-
}
|
|
214
|
-
})
|
|
215
|
-
this.$refs.cp.$refs.cri.search()
|
|
216
|
-
this.functions = [
|
|
217
|
-
{
|
|
218
|
-
"title": "终止报建"
|
|
219
|
-
}
|
|
220
|
-
]
|
|
221
|
-
this.showfunction =false
|
|
222
|
-
this.$nextTick(()=>{
|
|
223
|
-
this.showfunction =true
|
|
224
|
-
})
|
|
225
|
-
console.log('this.$appdata:',this.$appdata.getParam())
|
|
226
|
-
},
|
|
227
|
-
methods: {
|
|
228
|
-
clifun(row) {
|
|
229
|
-
this.$refs.cp.$refs.grid.model.rows = [row]
|
|
230
|
-
this.$refs.cp.pager = false
|
|
231
|
-
this.$dispatch('showbtn', row)
|
|
232
|
-
},
|
|
233
|
-
showpager() {
|
|
234
|
-
this.$refs.cp.pager = true
|
|
235
|
-
this.$dispatch('hiddenbtn')
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="d1 flex">
|
|
3
|
+
<div class="left col-sm-12" v-if="showfunction">
|
|
4
|
+
<criteria-paged :model="model" v-ref:cp>
|
|
5
|
+
<criteria partial='criteria' @condition-changed='search' v-ref:cri>
|
|
6
|
+
<form novalidate class="" partial>
|
|
7
|
+
<div class="col-sm-10">
|
|
8
|
+
<div class="col-sm-1">
|
|
9
|
+
<div class="col-sm-12">
|
|
10
|
+
<input type="text" class="form-control" v-model="model.f_user_name" v-on:keyup.enter="search"
|
|
11
|
+
condition="f_user_name like '%{}%'" placeholder="客户名称">
|
|
12
|
+
</div>
|
|
13
|
+
</div>
|
|
14
|
+
<div class="col-sm-1">
|
|
15
|
+
<div class="col-sm-12">
|
|
16
|
+
<input type="text" class="form-control" v-model="model.f_phone" v-on:keyup.enter="search"
|
|
17
|
+
condition="f_phone like '%{}%'" placeholder="电话号码">
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="col-sm-1">
|
|
21
|
+
<div class="col-sm-12">
|
|
22
|
+
<input type="text" class="form-control" v-model="model.f_apply_num" v-on:keyup.enter="search"
|
|
23
|
+
condition="f_apply_num like '%{}%'" placeholder="报建编号">
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
<div class="col-sm-2">
|
|
27
|
+
<!--<label class="col-sm-6"><nobr> 地址:</nobr></label>-->
|
|
28
|
+
<div class="col-sm-12">
|
|
29
|
+
<input type="text" placeholder="地址" class="form-control" v-model="model.f_address" v-on:keyup.enter="search"
|
|
30
|
+
condition="f_address like '%{}%'" >
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
<!--<div class="col-sm-2">-->
|
|
34
|
+
<!--<!–<label for="f_user_name" class="col-sm-6"><nobr> 小区:</nobr></label>–>-->
|
|
35
|
+
<!--<div class="col-sm-11">-->
|
|
36
|
+
<!--<input type="text" class="form-control" v-model="model.f_residential_area" v-on:keyup.enter="search"-->
|
|
37
|
+
<!--condition="f_residential_area like '%{}%'" placeholder="小区">-->
|
|
38
|
+
<!--</div>-->
|
|
39
|
+
<!--</div>-->
|
|
40
|
+
<div class="col-sm-2">
|
|
41
|
+
<!--<label for="f_user_name" class="col-sm-6"><nobr> 用户类型:</nobr></label>-->
|
|
42
|
+
<div class="col-sm-11" v-if="this.$login.f.f_fengongsi.includes('中燃')">
|
|
43
|
+
<v-select :options="$parent.$parent.fapplytype" placeholder='用气性质' condition="f_user_type = '{}'"
|
|
44
|
+
v-model="model.f_apply_type" :value.sync="model.f_apply_type" close-on-select>
|
|
45
|
+
</v-select>
|
|
46
|
+
</div>
|
|
47
|
+
<div class="col-sm-11" v-else>
|
|
48
|
+
<v-select :options="$parent.$parent.usertype" placeholder='用气性质' condition="f_gas_type like '%{}%'"
|
|
49
|
+
v-model="model.f_gas_type" :value.sync="model.f_gas_type" close-on-select>
|
|
50
|
+
</v-select>
|
|
51
|
+
</div>
|
|
52
|
+
</div>
|
|
53
|
+
<div class="col-sm-2 form-group form-input-group">
|
|
54
|
+
<label class="control-label">办理环节</label>
|
|
55
|
+
<v-select @change="$dispatch('setQueryCondition',model)" :options="$parent.$parent.defnames"
|
|
56
|
+
condition="defname = '{}'" placeholder='流程环节'
|
|
57
|
+
v-model="model.defname" :value.sync="model.defname" close-on-select>
|
|
58
|
+
</v-select>
|
|
59
|
+
</div>
|
|
60
|
+
<div class="col-sm-1 form-group">
|
|
61
|
+
<v-select :width ="'100%'" style="width: 100%" :options="$parent.$parent.f_is_gas" placeholder='现场勘察' condition="f_is_gas = '{}'"
|
|
62
|
+
v-model="model.f_is_gas" :value.sync="model.f_is_gas" close-on-select>
|
|
63
|
+
</v-select>
|
|
64
|
+
</div>
|
|
65
|
+
<!--<div class="col-sm-2">-->
|
|
66
|
+
<!--<!–<label for="f_user_type" class="col-sm-6"><nobr> 流程状态:</nobr></label>–>-->
|
|
67
|
+
<!--<div class="col-sm-12">-->
|
|
68
|
+
<!--<v-select :options="$parent.$parent.defnameType" placeholder='流程状态'-->
|
|
69
|
+
<!--condition="act.defname = '{}'"-->
|
|
70
|
+
<!--v-model="model.defname" :value.sync="model.defname" close-on-select>-->
|
|
71
|
+
<!--</v-select>-->
|
|
72
|
+
<!--</div>-->
|
|
73
|
+
<!--</div>-->
|
|
74
|
+
<!--<div class="col-sm-2">-->
|
|
75
|
+
<!--<!–<label for="f_user_name" class="col-sm-6"><nobr> 报建类型:</nobr></label>–>-->
|
|
76
|
+
<!--<div class="col-sm-12" v-if="!this.$login.f.f_fengongsi.includes('中燃')">-->
|
|
77
|
+
<!--<v-select :options="$parent.$parent.applytype" placeholder='报建类型' condition="f_apply_type like '%{}%'"-->
|
|
78
|
+
<!--v-model="model.f_apply_type" :value.sync="model.f_apply_type" close-on-select>-->
|
|
79
|
+
<!--</v-select>-->
|
|
80
|
+
<!--</div>-->
|
|
81
|
+
<!--</div>-->
|
|
82
|
+
</div>
|
|
83
|
+
|
|
84
|
+
<div class="col-sm-2">
|
|
85
|
+
<center>
|
|
86
|
+
<div class="col-sm-10 pull-right">
|
|
87
|
+
<button class="btn btn-primary btn-sm" type="button" @click="search(),$parent.$parent.showpager()">
|
|
88
|
+
<span class="glyphicon glyphicon-search"></span>{{$parent.$parent.buttonmsg=='查询'?'查询':'返回'}}</button>
|
|
89
|
+
</div>
|
|
90
|
+
</center>
|
|
91
|
+
</div>
|
|
92
|
+
</form>
|
|
93
|
+
</criteria>
|
|
94
|
+
<data-grid :model="model" partial='list' v-ref:grid class="data-grid" is-fixed='false' style="overflow-x:auto">
|
|
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>
|
|
116
|
+
<nobr>报建日期</nobr>
|
|
117
|
+
</th>
|
|
118
|
+
<!--<th>-->
|
|
119
|
+
<!--<nobr>申请户数</nobr>-->
|
|
120
|
+
<!--</th>-->
|
|
121
|
+
<th>
|
|
122
|
+
<nobr>操作</nobr>
|
|
123
|
+
</th>
|
|
124
|
+
</tr>
|
|
125
|
+
</template>
|
|
126
|
+
<template partial='body'>
|
|
127
|
+
<tr>
|
|
128
|
+
<td style="text-align: center;">
|
|
129
|
+
<nobr>{{$index+1}}</nobr>
|
|
130
|
+
</td>
|
|
131
|
+
<td style="text-align: center;">
|
|
132
|
+
<nobr>{{row.defname}}</nobr>
|
|
133
|
+
</td>
|
|
134
|
+
<td style="text-align: center;">
|
|
135
|
+
<nobr>{{row.f_user_name}}</nobr>
|
|
136
|
+
</td>
|
|
137
|
+
<td style="text-align: center;">
|
|
138
|
+
<nobr>{{$getJsonName(row.f_address)}}</nobr>
|
|
139
|
+
</td>
|
|
140
|
+
<td style="text-align: center;">
|
|
141
|
+
<nobr>{{row.f_gas_type}}</nobr>
|
|
142
|
+
</td>
|
|
143
|
+
<td style="text-align: center;">
|
|
144
|
+
<nobr>{{row.defname}}</nobr>
|
|
145
|
+
</td>
|
|
146
|
+
<td style="text-align: center;">
|
|
147
|
+
<nobr>{{row.f_apply_date}}</nobr>
|
|
148
|
+
</td>
|
|
149
|
+
<!--<td style="text-align: center;">-->
|
|
150
|
+
<!--<nobr>{{row.f_apply_count}}</nobr>-->
|
|
151
|
+
<!--</td>-->
|
|
152
|
+
<td style="text-align: center;">
|
|
153
|
+
<dropdown v-if="row.defname != '完工'">
|
|
154
|
+
<button type="button" data-toggle="dropdown" style="border: 0px;background: none;">
|
|
155
|
+
<span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
|
|
156
|
+
</button>
|
|
157
|
+
<ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right">
|
|
158
|
+
<li v-for="(index,func) in ($function_vue.functions?$function_vue.functions:functions)">
|
|
159
|
+
<a href="#" @click="$dispatch('func',func,row)">{{func.title}}</a>
|
|
160
|
+
</li>
|
|
161
|
+
</ul>
|
|
162
|
+
</dropdown>
|
|
163
|
+
</td>
|
|
164
|
+
</tr>
|
|
165
|
+
</template>
|
|
166
|
+
</data-grid>
|
|
167
|
+
</criteria-paged>
|
|
168
|
+
</div>
|
|
169
|
+
</div>
|
|
170
|
+
</template>
|
|
171
|
+
<script>
|
|
172
|
+
import {
|
|
173
|
+
PagedList
|
|
174
|
+
} from 'vue-client'
|
|
175
|
+
import {HttpResetClass} from 'vue-client'
|
|
176
|
+
export default {
|
|
177
|
+
title: '报建业务信息',
|
|
178
|
+
data() {
|
|
179
|
+
return {
|
|
180
|
+
defnames:[],
|
|
181
|
+
usertype: [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')],
|
|
182
|
+
defnameType: [{label: '全部', value: ''}, ...this.$appdata.getParam('流程状态')],
|
|
183
|
+
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
|
|
184
|
+
f_is_gas: [{label:"全部",value:''}, {label:"符合规范要求",value:'符合规范要求'}, {label:"不符合规范要求",value:'不符合规范要求'}],
|
|
185
|
+
//中燃 专用
|
|
186
|
+
fapplytype: this.$appdata.getParam('用户类型'),
|
|
187
|
+
showbtn: false,
|
|
188
|
+
model: new PagedList('rs/sql/checkuserfunction', 20, {
|
|
189
|
+
data: {
|
|
190
|
+
id: this.$login.f.id,
|
|
191
|
+
fengongsi: this.$login.f.f_fengongsi
|
|
192
|
+
}
|
|
193
|
+
}),
|
|
194
|
+
buttonmsg:'查询',
|
|
195
|
+
condition: '',
|
|
196
|
+
showfunction:true,
|
|
197
|
+
functions:[]
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
beforeCreate(){
|
|
201
|
+
this.defnameType = [{label: '全部', value: ''}, ...this.$appdata.getParam('流程状态')]
|
|
202
|
+
},
|
|
203
|
+
ready() {
|
|
204
|
+
let http = new HttpResetClass()
|
|
205
|
+
http.load('POST', 'rs/sql/getDefnamesForActivityins', {data: {}}, {
|
|
206
|
+
resolveMsg: null,
|
|
207
|
+
rejectMsg: null
|
|
208
|
+
}).then((res) => {
|
|
209
|
+
// 先获取所有流程环节
|
|
210
|
+
this.defnames = [{label: '全部', value: ''}]
|
|
211
|
+
for (let i = 0; i < res.data.length; i++) {
|
|
212
|
+
this.defnames.push({label: res.data[i].defname, value: res.data[i].defname})
|
|
213
|
+
}
|
|
214
|
+
})
|
|
215
|
+
this.$refs.cp.$refs.cri.search()
|
|
216
|
+
this.functions = [
|
|
217
|
+
{
|
|
218
|
+
"title": "终止报建"
|
|
219
|
+
}
|
|
220
|
+
]
|
|
221
|
+
this.showfunction =false
|
|
222
|
+
this.$nextTick(()=>{
|
|
223
|
+
this.showfunction =true
|
|
224
|
+
})
|
|
225
|
+
console.log('this.$appdata:',this.$appdata.getParam())
|
|
226
|
+
},
|
|
227
|
+
methods: {
|
|
228
|
+
clifun(row) {
|
|
229
|
+
this.$refs.cp.$refs.grid.model.rows = [row]
|
|
230
|
+
this.$refs.cp.pager = false
|
|
231
|
+
this.$dispatch('showbtn', row)
|
|
232
|
+
},
|
|
233
|
+
showpager() {
|
|
234
|
+
this.$refs.cp.pager = true
|
|
235
|
+
this.$dispatch('hiddenbtn')
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
</script>
|
|
@@ -241,7 +241,7 @@
|
|
|
241
241
|
上传
|
|
242
242
|
</button></div>
|
|
243
243
|
<div v-if="!showq">
|
|
244
|
-
<img :src="row.
|
|
244
|
+
<img :src="row.f_user_sure1" alt="图片加载失败" STYLE="height: 200px;width: 200px"/><hr>
|
|
245
245
|
<a class="btn btn-primary" target="_blank" :href="row.f_downloadURL25">预览</a>
|
|
246
246
|
<li class="btn btn-primary" @click="delet($index,row.f_downloadURL25,'f_downloadURL25')">删除</li>
|
|
247
247
|
</div>
|
|
@@ -255,7 +255,7 @@
|
|
|
255
255
|
上传
|
|
256
256
|
</button></div>
|
|
257
257
|
<div v-if="!showr">
|
|
258
|
-
<img :src="row.
|
|
258
|
+
<img :src="row.f_user_sure2" alt="图片加载失败" STYLE="height: 200px;width: 200px"/><hr>
|
|
259
259
|
<a class="btn btn-primary" target="_blank" :href="row.f_downloadURL26">预览</a>
|
|
260
260
|
<li class="btn btn-primary" @click="delet($index,row.f_downloadURL26,'f_downloadURL26')">删除</li>
|
|
261
261
|
</div>
|
|
@@ -304,7 +304,9 @@
|
|
|
304
304
|
f_process_2: null,
|
|
305
305
|
f_process_3: null
|
|
306
306
|
},
|
|
307
|
-
f_user_sure: null
|
|
307
|
+
f_user_sure: null,
|
|
308
|
+
f_user_sure1: null,
|
|
309
|
+
f_user_sure2: null
|
|
308
310
|
}
|
|
309
311
|
},
|
|
310
312
|
methods: {
|
|
@@ -405,11 +407,11 @@
|
|
|
405
407
|
}
|
|
406
408
|
condition = null
|
|
407
409
|
console.log("流程1:" + this.imageData.f_process_1 + "--------流程2:" + this.imageData.f_process_2)
|
|
408
|
-
if (this.imageData.f_process_1 != null && this.imageData.f_process_2 != null) {
|
|
410
|
+
if (this.imageData.f_process_1 != null && this.imageData.f_process_2 != null && this.imageData.f_process_3 != null) {
|
|
409
411
|
console.log("进来否???")
|
|
410
|
-
condition = `f_process_id = '${this.imageData.f_process_1}' or f_process_id = '${this.imageData.f_process_2}'`
|
|
411
|
-
}else if (this.imageData.f_process_1 != null && this.imageData.f_process_2 != null && this.imageData.f_process_3 != null) {
|
|
412
412
|
condition = `f_process_id = '${this.imageData.f_process_1}' or f_process_id = '${this.imageData.f_process_2}' or f_process_id = '${this.imageData.f_process_3}'`
|
|
413
|
+
}else if (this.imageData.f_process_1 != null && this.imageData.f_process_2 != null) {
|
|
414
|
+
condition = `f_process_id = '${this.imageData.f_process_1}' or f_process_id = '${this.imageData.f_process_2}'`
|
|
413
415
|
}else {
|
|
414
416
|
condition = `f_process_id = '${this.imageData.f_process_1}'`
|
|
415
417
|
}
|
|
@@ -542,12 +544,14 @@
|
|
|
542
544
|
let temp = row.f_picture
|
|
543
545
|
let URL = temp.substring(temp.lastIndexOf(":\\") + 2)
|
|
544
546
|
this.row.f_downloadURL25 = path +'' + URL
|
|
547
|
+
this.f_user_sure1 = this.row.f_downloadURL25
|
|
545
548
|
this.showq = false
|
|
546
549
|
}
|
|
547
550
|
if (row.f_type === '其他文件2') {
|
|
548
551
|
let temp = row.f_picture
|
|
549
552
|
let URL = temp.substring(temp.lastIndexOf(":\\") + 2)
|
|
550
553
|
this.row.f_downloadURL26 = path +'' + URL
|
|
554
|
+
this.f_user_sure2 = this.row.f_downloadURL26
|
|
551
555
|
this.showr = false
|
|
552
556
|
}
|
|
553
557
|
}
|