apply-clients 3.0.5-17 → 3.0.5-18
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/components/product/Function/InstallInfoSelect.vue +230 -222
- package/src/components/product/Process/ExplorationSelect.vue +562 -557
- package/src/components/product/Process/ExplorationUser.vue +197 -197
- package/src/components/product/Supervisory/SupervisoryControl.vue +194 -194
- package/src/components/product/Supervisory/SupervisoryList.vue +348 -348
package/package.json
CHANGED
|
@@ -1,222 +1,230 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="d1 flex">
|
|
3
|
-
<div class="left col-sm-12" v-if="refreshed">
|
|
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="col-sm-12">
|
|
8
|
-
<div class="form-group col-sm-4">
|
|
9
|
-
<label class=" col-sm-6" style="padding-top: 8px">联系人/项目名称/用户名称:</label>
|
|
10
|
-
<div class="col-sm-6">
|
|
11
|
-
<input type="text" class="form-control" v-model="model.f_user_name"
|
|
12
|
-
condition=" (f_user_name like '%{}%' or f_entry_name like '%{}%' or f_company_name like '%{}%') " placeholder='三选一输入'>
|
|
13
|
-
</div>
|
|
14
|
-
</div>
|
|
15
|
-
<div class="col-sm-1">
|
|
16
|
-
<!--<label class="col-sm-6">合同编号</label>-->
|
|
17
|
-
<div class="col-sm-12">
|
|
18
|
-
<input type="text" class="form-control" placeholder='合同编号' v-model="model.f_contract_number"
|
|
19
|
-
v-on:keyup.enter="search"
|
|
20
|
-
condition="f_contract_number like '%{}%'">
|
|
21
|
-
</div>
|
|
22
|
-
</div>
|
|
23
|
-
<div class="col-sm-1">
|
|
24
|
-
<!--<label class="col-sm-6">用户地址</label>-->
|
|
25
|
-
<div class="col-sm-12">
|
|
26
|
-
<input type="text" class="form-control" placeholder='用户地址' v-model="model.f_address"
|
|
27
|
-
v-on:keyup.enter="search"
|
|
28
|
-
condition="f_address like '%{}%'">
|
|
29
|
-
</div>
|
|
30
|
-
</div>
|
|
31
|
-
<div class="col-sm-1">
|
|
32
|
-
<!--<label class="col-sm-6"> 报建类型:</label>-->
|
|
33
|
-
<div class="col-sm-12" v-if="!this.$login.f.f_fengongsi.includes('中燃')">
|
|
34
|
-
<v-select :width ="'100%'" style="width: 100%" :options="$parent.$parent.applytype" placeholder='报建类型' condition="f_apply_type like '%{}%'"
|
|
35
|
-
v-model="model.f_apply_type" :value.sync="model.f_apply_type" close-on-select>
|
|
36
|
-
</v-select>
|
|
37
|
-
</div>
|
|
38
|
-
</div>
|
|
39
|
-
<div class="col-sm-2">
|
|
40
|
-
<label class="col-sm-6">办理环节:</label>
|
|
41
|
-
<div class="col-sm-6">
|
|
42
|
-
<v-select :width ="'90%'" @change="$dispatch('setQueryCondition',model)" :options="$parent.$parent.defnames"
|
|
43
|
-
condition="defname = '{}'" placeholder='办理环节'
|
|
44
|
-
v-model="model.defname" :value.sync="model.defname" close-on-select>
|
|
45
|
-
</v-select>
|
|
46
|
-
</div>
|
|
47
|
-
</div>
|
|
48
|
-
<div class="col-sm-1">
|
|
49
|
-
<input type="text" class="form-control" placeholder='经办人' v-model="model.f_survey_name"
|
|
50
|
-
v-on:keyup.enter="search"
|
|
51
|
-
condition=" (f_apply_kefu_employee like '%{}%' or f_survey_name like '%{}%') ">
|
|
52
|
-
</div>
|
|
53
|
-
<div class="col-sm-1">
|
|
54
|
-
<button class="btn btn-primary btn-sm" type="button" @click="search(),$parent.$parent.showpager()">
|
|
55
|
-
<span class="glyphicon glyphicon-search"></span>查询
|
|
56
|
-
</button>
|
|
57
|
-
</div>
|
|
58
|
-
</div>
|
|
59
|
-
</form>
|
|
60
|
-
</criteria>
|
|
61
|
-
<data-grid :model="model" partial='list' v-ref:grid class="data-grid" is-fixed='false' style="overflow-x:auto">
|
|
62
|
-
<template partial='head'>
|
|
63
|
-
<tr class="title">
|
|
64
|
-
<th>
|
|
65
|
-
<nobr>序号</nobr>
|
|
66
|
-
</th>
|
|
67
|
-
<th>
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
<th>
|
|
72
|
-
<nobr
|
|
73
|
-
</th>
|
|
74
|
-
<th>
|
|
75
|
-
<nobr
|
|
76
|
-
</th>
|
|
77
|
-
<th>
|
|
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
|
-
|
|
108
|
-
<td
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
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
|
-
|
|
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
|
-
this.
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
this
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div class="d1 flex">
|
|
3
|
+
<div class="left col-sm-12" v-if="refreshed">
|
|
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="col-sm-12">
|
|
8
|
+
<div class="form-group col-sm-4">
|
|
9
|
+
<label class=" col-sm-6" style="padding-top: 8px">联系人/项目名称/用户名称:</label>
|
|
10
|
+
<div class="col-sm-6">
|
|
11
|
+
<input type="text" class="form-control" v-model="model.f_user_name"
|
|
12
|
+
condition=" (f_user_name like '%{}%' or f_entry_name like '%{}%' or f_company_name like '%{}%') " placeholder='三选一输入'>
|
|
13
|
+
</div>
|
|
14
|
+
</div>
|
|
15
|
+
<div class="col-sm-1">
|
|
16
|
+
<!--<label class="col-sm-6">合同编号</label>-->
|
|
17
|
+
<div class="col-sm-12">
|
|
18
|
+
<input type="text" class="form-control" placeholder='合同编号' v-model="model.f_contract_number"
|
|
19
|
+
v-on:keyup.enter="search"
|
|
20
|
+
condition="f_contract_number like '%{}%'">
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
<div class="col-sm-1">
|
|
24
|
+
<!--<label class="col-sm-6">用户地址</label>-->
|
|
25
|
+
<div class="col-sm-12">
|
|
26
|
+
<input type="text" class="form-control" placeholder='用户地址' v-model="model.f_address"
|
|
27
|
+
v-on:keyup.enter="search"
|
|
28
|
+
condition="f_address like '%{}%'">
|
|
29
|
+
</div>
|
|
30
|
+
</div>
|
|
31
|
+
<div class="col-sm-1">
|
|
32
|
+
<!--<label class="col-sm-6"> 报建类型:</label>-->
|
|
33
|
+
<div class="col-sm-12" v-if="!this.$login.f.f_fengongsi.includes('中燃')">
|
|
34
|
+
<v-select :width ="'100%'" style="width: 100%" :options="$parent.$parent.applytype" placeholder='报建类型' condition="f_apply_type like '%{}%'"
|
|
35
|
+
v-model="model.f_apply_type" :value.sync="model.f_apply_type" close-on-select>
|
|
36
|
+
</v-select>
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
|
+
<div class="col-sm-2">
|
|
40
|
+
<label class="col-sm-6">办理环节:</label>
|
|
41
|
+
<div class="col-sm-6">
|
|
42
|
+
<v-select :width ="'90%'" @change="$dispatch('setQueryCondition',model)" :options="$parent.$parent.defnames"
|
|
43
|
+
condition="defname = '{}'" placeholder='办理环节'
|
|
44
|
+
v-model="model.defname" :value.sync="model.defname" close-on-select>
|
|
45
|
+
</v-select>
|
|
46
|
+
</div>
|
|
47
|
+
</div>
|
|
48
|
+
<div class="col-sm-1">
|
|
49
|
+
<input type="text" class="form-control" placeholder='经办人' v-model="model.f_survey_name"
|
|
50
|
+
v-on:keyup.enter="search"
|
|
51
|
+
condition=" (f_apply_kefu_employee like '%{}%' or f_survey_name like '%{}%') ">
|
|
52
|
+
</div>
|
|
53
|
+
<div class="col-sm-1">
|
|
54
|
+
<button class="btn btn-primary btn-sm" type="button" @click="search(),$parent.$parent.showpager()">
|
|
55
|
+
<span class="glyphicon glyphicon-search"></span>查询
|
|
56
|
+
</button>
|
|
57
|
+
</div>
|
|
58
|
+
</div>
|
|
59
|
+
</form>
|
|
60
|
+
</criteria>
|
|
61
|
+
<data-grid :model="model" partial='list' v-ref:grid class="data-grid" is-fixed='false' style="overflow-x:auto">
|
|
62
|
+
<template partial='head'>
|
|
63
|
+
<tr class="title">
|
|
64
|
+
<th>
|
|
65
|
+
<nobr>序号</nobr>
|
|
66
|
+
</th>
|
|
67
|
+
<th>
|
|
68
|
+
</th>
|
|
69
|
+
<th>
|
|
70
|
+
</th>
|
|
71
|
+
<th>
|
|
72
|
+
<nobr>操作</nobr>
|
|
73
|
+
</th>
|
|
74
|
+
<th>
|
|
75
|
+
<nobr>当前环节</nobr>
|
|
76
|
+
</th>
|
|
77
|
+
<th><nobr>联系人/项目名称/用户名称</nobr></th>
|
|
78
|
+
<th>
|
|
79
|
+
<nobr>合同编号</nobr>
|
|
80
|
+
</th>
|
|
81
|
+
<th>
|
|
82
|
+
<nobr>电话</nobr>
|
|
83
|
+
</th>
|
|
84
|
+
<th style="width: 250px">
|
|
85
|
+
<nobr >地址</nobr>
|
|
86
|
+
</th>
|
|
87
|
+
<th v-if="!this.$login.f.f_fengongsi.includes('中燃')">
|
|
88
|
+
<nobr>用户类型</nobr>
|
|
89
|
+
</th>
|
|
90
|
+
<th>
|
|
91
|
+
<nobr>报建类型</nobr>
|
|
92
|
+
</th>
|
|
93
|
+
<th>
|
|
94
|
+
<nobr>报建日期</nobr>
|
|
95
|
+
</th>
|
|
96
|
+
<!--<th>-->
|
|
97
|
+
<!--<nobr>申请户数</nobr>-->
|
|
98
|
+
<!--</th>-->
|
|
99
|
+
|
|
100
|
+
</tr>
|
|
101
|
+
</template>
|
|
102
|
+
<template partial='body'>
|
|
103
|
+
<tr>
|
|
104
|
+
<td style="text-align: center;">
|
|
105
|
+
<nobr>{{$index+1}}</nobr>
|
|
106
|
+
</td>
|
|
107
|
+
<td></td>
|
|
108
|
+
<td></td>
|
|
109
|
+
<td style="text-align: center;">
|
|
110
|
+
<dropdown v-if="row.defname != '完工'" >
|
|
111
|
+
<button @click="$dispatch('checkfuncs',row)" type="button" data-toggle="dropdown" style="border: 0px;background: none;">
|
|
112
|
+
<span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
|
|
113
|
+
</button>
|
|
114
|
+
<ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right">
|
|
115
|
+
<li v-for="(index,func) in $parent.$parent.$parent.funcs">
|
|
116
|
+
<a href="#" @click="$dispatch('func',func,row)">{{func.title}}</a>
|
|
117
|
+
</li>
|
|
118
|
+
</ul>
|
|
119
|
+
</dropdown>
|
|
120
|
+
</td>
|
|
121
|
+
<td style="text-align: center;">
|
|
122
|
+
<nobr>{{row.defname}}</nobr>
|
|
123
|
+
</td>
|
|
124
|
+
<td style="text-align: center;">
|
|
125
|
+
<nobr>{{row.f_user_name}}/{{row.f_entry_name}}/{{row.f_company_name}}</nobr>
|
|
126
|
+
</td>
|
|
127
|
+
<td style="text-align: center;">
|
|
128
|
+
<nobr>{{row.f_contract_number}}</nobr>
|
|
129
|
+
</td>
|
|
130
|
+
<td style="text-align: center;">
|
|
131
|
+
<nobr>{{row.f_phone}}</nobr>
|
|
132
|
+
</td>
|
|
133
|
+
<td style="width: 250px; white-space: normal;">
|
|
134
|
+
{{row.f_address}}
|
|
135
|
+
</td>
|
|
136
|
+
<td style="text-align: center;" v-if="!this.$login.f.f_fengongsi.includes('中燃')">
|
|
137
|
+
<nobr>{{row.f_user_type}}</nobr>
|
|
138
|
+
</td>
|
|
139
|
+
<td style="text-align: center;">
|
|
140
|
+
<nobr>{{row.f_apply_type}}</nobr>
|
|
141
|
+
</td>
|
|
142
|
+
<td style="text-align: center;">
|
|
143
|
+
<nobr>{{row.f_apply_date}}</nobr>
|
|
144
|
+
</td>
|
|
145
|
+
<!--<td style="text-align: center;">-->
|
|
146
|
+
<!--<nobr>{{row.f_apply_count}}</nobr>-->
|
|
147
|
+
<!--</td>-->
|
|
148
|
+
|
|
149
|
+
</tr>
|
|
150
|
+
</template>
|
|
151
|
+
</data-grid>
|
|
152
|
+
</criteria-paged>
|
|
153
|
+
</div>
|
|
154
|
+
</div>
|
|
155
|
+
</template>
|
|
156
|
+
<script>
|
|
157
|
+
import {HttpResetClass} from 'vue-client'
|
|
158
|
+
import {
|
|
159
|
+
PagedList
|
|
160
|
+
} from 'vue-client'
|
|
161
|
+
|
|
162
|
+
export default {
|
|
163
|
+
title: '报建业务信息',
|
|
164
|
+
data() {
|
|
165
|
+
return {
|
|
166
|
+
refreshed:true,
|
|
167
|
+
usertype: this.$appdata.getParam('用户类型'),
|
|
168
|
+
defnameType: this.$appdata.getParam('流程状态'),
|
|
169
|
+
applytype: this.$appdata.getParam('报建类型'),
|
|
170
|
+
//中燃 专用
|
|
171
|
+
fapplytype: this.$appdata.getParam('用户类型'),
|
|
172
|
+
funcs:[],
|
|
173
|
+
defnames:[],
|
|
174
|
+
showbtn: false,
|
|
175
|
+
model: new PagedList('rs/sql/checkuserfunction', 20, {
|
|
176
|
+
data: {
|
|
177
|
+
id: this.$login.f.id,
|
|
178
|
+
fengongsi: this.$login.f.f_fengongsi,
|
|
179
|
+
f_filialeid: this.$login.f.f_orgids
|
|
180
|
+
}
|
|
181
|
+
}),
|
|
182
|
+
condition: ''
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
ready() {
|
|
186
|
+
this.$refs.cp.$refs.cri.search()
|
|
187
|
+
let http = new HttpResetClass()
|
|
188
|
+
http.load('POST', 'rs/sql/getDefnamesForActivityins', {data:{}}, {
|
|
189
|
+
resolveMsg: null,
|
|
190
|
+
rejectMsg: null
|
|
191
|
+
}).then((res)=>{
|
|
192
|
+
// 先获取所有流程环节
|
|
193
|
+
this.defnames = [{label: '全部', value: ''}]
|
|
194
|
+
for(let i=0;i<res.data.length;i++){
|
|
195
|
+
this.defnames.push({label:res.data[i].defname,value:res.data[i].defname})
|
|
196
|
+
}
|
|
197
|
+
})
|
|
198
|
+
},
|
|
199
|
+
events:{
|
|
200
|
+
async checkfuncs(row){
|
|
201
|
+
if(row.defname =='报装申请'||row.defname =='任务分配'||row.defname =='勘察初设'||row.defname =='合同信息'||row.defname =='合同审核'){
|
|
202
|
+
let temp = JSON.parse(JSON.stringify(this.$function_vue.functions))
|
|
203
|
+
delete temp[0]
|
|
204
|
+
this.funcs = temp // test.splice(1, 1);
|
|
205
|
+
// this.update()
|
|
206
|
+
}else {
|
|
207
|
+
this.funcs = this.$function_vue.functions
|
|
208
|
+
// this.update()z
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
methods: {
|
|
213
|
+
update(){
|
|
214
|
+
this.refreshed = false
|
|
215
|
+
this.$nextTick(()=>{
|
|
216
|
+
this.refreshed = true
|
|
217
|
+
})
|
|
218
|
+
},
|
|
219
|
+
clifun(row) {
|
|
220
|
+
this.$refs.cp.$refs.grid.model.rows = [row]
|
|
221
|
+
this.$refs.cp.pager = false
|
|
222
|
+
this.$dispatch('showbtn', row)
|
|
223
|
+
},
|
|
224
|
+
showpager() {
|
|
225
|
+
this.$refs.cp.pager = true
|
|
226
|
+
this.$dispatch('hiddenbtn')
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
</script>
|