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,340 +1,221 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="
|
|
3
|
-
<
|
|
4
|
-
<criteria
|
|
5
|
-
<
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
<
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
<div class="col-sm-1">
|
|
33
|
-
<!--<label class="col-sm-6"> 报建类型:</label>-->
|
|
34
|
-
<div class="col-sm-12" v-if="!this.$login.f.f_fengongsi.includes('中燃')">
|
|
35
|
-
<v-select :width ="'100%'" style="width: 100%" :options="$parent.$parent.applytype" placeholder='报建类型' condition="f_apply_type like '%{}%'"
|
|
36
|
-
v-model="model.f_apply_type" :value.sync="model.f_apply_type" close-on-select>
|
|
37
|
-
</v-select>
|
|
38
|
-
</div>
|
|
39
|
-
</div>
|
|
40
|
-
<div class="col-sm-1">
|
|
41
|
-
<div class="col-sm-12">
|
|
42
|
-
<v-select :width ="'100%'" style="width: 100%" :options="this.state" placeholder='当前状态' condition="f_sub_state = '{}'"
|
|
43
|
-
v-model="model.f_sub_state" :value.sync="model.f_sub_state" close-on-select>
|
|
44
|
-
</v-select>
|
|
45
|
-
</div>
|
|
46
|
-
</div>
|
|
47
|
-
<div class="col-sm-2">
|
|
48
|
-
<!-- <label class="col-sm-6">办理环节:</label>-->
|
|
49
|
-
<div class="col-sm-6">
|
|
50
|
-
<v-select :width ="'90%'" @change="$dispatch('setQueryCondition',model)" :options="$parent.$parent.defnames"
|
|
51
|
-
condition="defname = '{}'" placeholder='办理环节'
|
|
52
|
-
v-model="model.defname" :value.sync="model.defname" close-on-select>
|
|
53
|
-
</v-select>
|
|
54
|
-
</div>
|
|
55
|
-
</div>
|
|
56
|
-
<div class="col-sm-1">
|
|
57
|
-
<input type="text" class="form-control" placeholder='经办人' v-model="model.f_survey_name"
|
|
58
|
-
v-on:keyup.enter="search"
|
|
59
|
-
condition=" (f_apply_kefu_employee like '%{}%' or f_survey_name like '%{}%') ">
|
|
60
|
-
</div>
|
|
61
|
-
<div class="col-sm-1">
|
|
62
|
-
<button class="btn btn-primary btn-sm" type="button" @click="search(),$parent.$parent.close()">
|
|
63
|
-
<span class="glyphicon glyphicon-search"></span>查询
|
|
64
|
-
</button>
|
|
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_entry_name"
|
|
10
|
+
v-on:keyup.enter="search" condition=" f_entry_name 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 like '%{}%'">
|
|
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 like '%{}%'">
|
|
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
|
+
<div
|
|
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">
|
|
65
32
|
</div>
|
|
66
33
|
</div>
|
|
67
|
-
</
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
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
|
-
<
|
|
108
|
-
|
|
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
|
-
|
|
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
|
+
<v-select
|
|
39
|
+
v-model="model.f_apply_type"
|
|
40
|
+
placeholder='报建类型'
|
|
41
|
+
condition="f_apply_type like '%{}%'"
|
|
42
|
+
:value.sync="model.f_apply_type"
|
|
43
|
+
:options='$parent.$parent.applytype'
|
|
44
|
+
class="select select_list"
|
|
45
|
+
:value-single="true"
|
|
46
|
+
@change="$parent.$parent.applyTypeChange()"
|
|
47
|
+
close-on-select ></v-select>
|
|
48
|
+
</div>
|
|
49
|
+
<div class="form-group col-sm-3">
|
|
50
|
+
<label class="font_normal_body">办理环节:</label>
|
|
51
|
+
<v-select
|
|
52
|
+
v-model="model.defname"
|
|
53
|
+
placeholder='办理环节'
|
|
54
|
+
condition="defname = '{}'"
|
|
55
|
+
:value.sync="model.defname"
|
|
56
|
+
:options='$parent.$parent.defnames'
|
|
57
|
+
class="select select_list"
|
|
58
|
+
:value-single="true"
|
|
59
|
+
close-on-select ></v-select>
|
|
60
|
+
</div>
|
|
61
|
+
<div class="form-group col-sm-3">
|
|
62
|
+
<label class="font_normal_body">流程状态:</label>
|
|
63
|
+
<v-select
|
|
64
|
+
v-model="model.f_sub_state"
|
|
65
|
+
placeholder='流程状态'
|
|
66
|
+
condition="f_sub_state = '{}'"
|
|
67
|
+
:value.sync="model.f_sub_state"
|
|
68
|
+
:options='$parent.$parent.f_sub_state'
|
|
69
|
+
class="select select_list"
|
|
70
|
+
:value-single="true"
|
|
71
|
+
close-on-select ></v-select>
|
|
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_phone"-->
|
|
76
|
+
<!-- v-on:keyup.enter="search"-->
|
|
77
|
+
<!-- condition="f_phone like '%{}%'">-->
|
|
78
|
+
<!-- </div>-->
|
|
79
|
+
<!-- <div class="form-group col-sm-3">-->
|
|
80
|
+
<!-- <label class="font_normal_body">用户地址:</label>-->
|
|
81
|
+
<!-- <input type="text" class="input_search" placeholder='用户地址' v-model="model.f_address"-->
|
|
82
|
+
<!-- v-on:keyup.enter="search"-->
|
|
83
|
+
<!-- condition="f_address like '%{}%'">-->
|
|
84
|
+
<!-- </div>-->
|
|
85
|
+
<div class="form-group col-sm-3">
|
|
86
|
+
<label for="startDate" class="font_normal_body">开始时间:</label>
|
|
87
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
88
|
+
style="width: 60%!important;"
|
|
89
|
+
v-model="model.startDate"
|
|
90
|
+
:value.sync="model.startDate"
|
|
91
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
92
|
+
:show-reset-button="true"
|
|
93
|
+
condition="f_apply_date >= '{}'">
|
|
94
|
+
</datepicker>
|
|
95
|
+
</div>
|
|
96
|
+
<div class="form-group col-sm-3">
|
|
97
|
+
<label for="endDate" class="font_normal_body">结束时间:</label>
|
|
98
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
99
|
+
style="width: 60%!important;"
|
|
100
|
+
v-model="model.endDate"
|
|
101
|
+
:value.sync="model.endDate"
|
|
102
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
103
|
+
:show-reset-button="true"
|
|
104
|
+
condition="f_apply_date <= '{}'">
|
|
105
|
+
</datepicker>
|
|
106
|
+
</div>
|
|
107
|
+
</div>
|
|
108
|
+
</div>
|
|
109
|
+
</criteria>
|
|
110
|
+
<data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy">
|
|
111
|
+
<template partial='head'>
|
|
112
|
+
<tr>
|
|
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
|
+
<!-- <th style="white-space: nowrap;">电话</th>-->
|
|
118
|
+
<!-- <th style="white-space: nowrap;">地址</th>-->
|
|
119
|
+
<th style="white-space: nowrap;">报建类型</th>
|
|
120
|
+
<th style="white-space: nowrap;">办理环节</th>
|
|
121
|
+
<th style="white-space: nowrap;">流程状态</th>
|
|
122
|
+
<th style="white-space: nowrap;">报建日期</th>
|
|
123
|
+
</tr>
|
|
124
|
+
</template>
|
|
125
|
+
<template partial='body'>
|
|
126
|
+
<tr>
|
|
127
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
128
|
+
<nobr>{{$index+1}}</nobr>
|
|
129
|
+
</td>
|
|
130
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
131
|
+
<nobr>{{row.f_apply_num}}</nobr>
|
|
132
|
+
</td>
|
|
133
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
134
|
+
<nobr>{{row.f_entry_name}}</nobr>
|
|
135
|
+
</td>
|
|
136
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
137
|
+
<nobr>{{row.f_contract_number}}</nobr>
|
|
138
|
+
</td>
|
|
139
|
+
<!-- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">-->
|
|
140
|
+
<!-- <nobr>{{row.f_phone}}</nobr>-->
|
|
141
|
+
<!-- </td>-->
|
|
142
|
+
<!-- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">-->
|
|
143
|
+
<!-- <nobr>{{row.f_address}}</nobr>-->
|
|
144
|
+
<!-- </td>-->
|
|
145
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
146
|
+
<nobr>{{row.f_apply_type}}</nobr>
|
|
147
|
+
</td>
|
|
148
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
149
|
+
<nobr>{{row.defname}}</nobr>
|
|
150
|
+
</td>
|
|
151
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
152
|
+
<nobr>{{row.f_sub_state}}</nobr>
|
|
153
|
+
</td>
|
|
154
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
155
|
+
<nobr>{{row.f_apply_date}}</nobr>
|
|
156
|
+
</td>
|
|
157
|
+
</tr>
|
|
158
|
+
</template>
|
|
159
|
+
</data-grid>
|
|
160
|
+
</criteria-paged>
|
|
145
161
|
</div>
|
|
146
162
|
</template>
|
|
147
163
|
<script>
|
|
148
|
-
import
|
|
149
|
-
import PagedListLogic from '../../../stores/PagedListLogic'
|
|
150
|
-
import getNowDate from '../../getNowDate.js'
|
|
164
|
+
import {PagedList} from 'vue-client'
|
|
151
165
|
import {HttpResetClass} from 'vue-client'
|
|
152
|
-
|
|
166
|
+
import {isEmpty} from '../../Util'
|
|
153
167
|
export default {
|
|
154
168
|
title: '勘探详情',
|
|
155
|
-
|
|
169
|
+
props: ['showData'],
|
|
170
|
+
data () {
|
|
156
171
|
return {
|
|
157
|
-
applytype: this.$appdata.getParam('报建类型'),
|
|
158
|
-
model: new
|
|
172
|
+
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
|
|
173
|
+
model: new PagedList('rs/sql/supervisory', 20, {
|
|
159
174
|
data: {
|
|
160
175
|
id: `${this.$login.f.name}`,
|
|
161
|
-
|
|
176
|
+
orgid: this.$login.f.orgid
|
|
162
177
|
}
|
|
163
178
|
}),
|
|
164
|
-
|
|
165
|
-
defnames:[],
|
|
166
|
-
|
|
167
|
-
select: '',
|
|
168
|
-
state: []
|
|
179
|
+
f_sub_state: [{label: '全部', value: ''}, {label: '完工', value: '完工'}, {label: '正在进行', value: '正在进行'}],
|
|
180
|
+
defnames: [{label: '全部', value: ''}, ...this.$appdata.getParam('办理环节')], // 流程节点
|
|
181
|
+
criteriaShow: false
|
|
169
182
|
}
|
|
170
183
|
},
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
resolveMsg: null,
|
|
175
|
-
rejectMsg: null
|
|
176
|
-
}).then((res)=>{
|
|
177
|
-
// 先获取所有流程环节
|
|
178
|
-
this.defnames = [{label: '全部', value: ''}]
|
|
179
|
-
for(let i=0;i<res.data.length;i++){
|
|
180
|
-
this.defnames.push({label:res.data[i].defname,value:res.data[i].defname})
|
|
181
|
-
}
|
|
182
|
-
})
|
|
183
|
-
|
|
184
|
-
let http = new HttpResetClass()
|
|
185
|
-
let data = {
|
|
186
|
-
columnname: 'id,name',
|
|
187
|
-
tablename: 't_user',
|
|
188
|
-
condition: '1=1'
|
|
189
|
-
}
|
|
190
|
-
let res = await http.load('POST','rs/sql/singleTable',{data:data}, {
|
|
191
|
-
resolveMsg: null,
|
|
192
|
-
rejectMsg: '获取人员失败'
|
|
193
|
-
})
|
|
194
|
-
this.users = res.data
|
|
195
|
-
this.$refs.cp.$refs.cri.search()
|
|
196
|
-
this.applytype = [{label: '散户报装', value: '散户报装'},{label: '庭院报装', value: '庭院报装'}]
|
|
197
|
-
this.state = [{label: '进行中', value: '进行中'},{label: '已办结', value: '已办结'},{label: '已终止', value: '已终止'}]
|
|
184
|
+
ready () {
|
|
185
|
+
// 调用查询
|
|
186
|
+
this.search()
|
|
198
187
|
},
|
|
199
188
|
events: {
|
|
200
|
-
async dataGrid() {
|
|
201
|
-
// //获取购货方信息
|
|
202
|
-
// let data = {
|
|
203
|
-
// tablename: 't_user',
|
|
204
|
-
// condition: `1=1`
|
|
205
|
-
// }
|
|
206
|
-
// let buyerinfos = await this.$resetpost('rs/sql/singleTable', {data: data}, {
|
|
207
|
-
// resolveMsg: null,
|
|
208
|
-
// rejectMsg: '获取user失败'
|
|
209
|
-
// })
|
|
210
|
-
// let users = buyerinfos.data
|
|
211
|
-
if (!this.$refs.cp.$refs.grid.model.rows) return
|
|
212
|
-
let rows = this.$refs.cp.$refs.grid.model.rows
|
|
213
|
-
for (let i = 0; i < rows.length; i++) {
|
|
214
|
-
let expe = rows[i].actorexpression
|
|
215
|
-
if(expe.includes('getChildren')||expe.includes('getChildByName')){//{source:'this.getParentByType($organization$).getChildByName($客户服务部门$).getChildByName($客户服务部负责人$).getChildren()','userid':'12290'
|
|
216
|
-
let arr = expe.split('$')
|
|
217
|
-
this.$refs.cp.$refs.grid.model.rows[i].applysite = arr[arr.length - 2]
|
|
218
|
-
}else{ //{source: 'this', userid: '12290'}
|
|
219
|
-
let arr = expe.split('\'')
|
|
220
|
-
let userid = arr[arr.length - 2]
|
|
221
|
-
for(let j =0;j<this.users.length;j++){
|
|
222
|
-
if(this.users[j].id == userid){
|
|
223
|
-
this.$refs.cp.$refs.grid.model.rows[i].applysite = this.users[j].name
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
//
|
|
231
|
-
// if (expe.indexOf("'this'") == -1) {
|
|
232
|
-
// let arr = expe.split('$')
|
|
233
|
-
// this.$refs.cp.$refs.grid.model.rows[i].applysite = arr[arr.length - 2]
|
|
234
|
-
// } else if (rows[i].f_survey_name && typeof rows[i].f_survey_name == 'string' && rows[i].f_survey_name.includes("\"")) {
|
|
235
|
-
// // 如果是属于工程技术部的就给工程技术部
|
|
236
|
-
// let flag = ''
|
|
237
|
-
// let str = this.$appdata.getSingleValue("客户服务部")
|
|
238
|
-
// let str2 = this.$appdata.getSingleValue("工程技术部")
|
|
239
|
-
// let arr = str.split(",")
|
|
240
|
-
// let arr2 = str2.split(",")
|
|
241
|
-
// for (let p = 0; p < arr.length; p++) {
|
|
242
|
-
// if (arr[p] == rows[i].f_apply_type) {
|
|
243
|
-
// flag = '客户服务部'
|
|
244
|
-
// console.log(rows[i].f_apply_num, flag)
|
|
245
|
-
// break
|
|
246
|
-
// }
|
|
247
|
-
// }
|
|
248
|
-
// for (let p = 0; p < arr2.length; p++) {
|
|
249
|
-
// if (arr2[p] == rows[i].f_apply_type) {
|
|
250
|
-
// flag = '工程技术部'
|
|
251
|
-
// console.log(rows[i].f_apply_num, flag)
|
|
252
|
-
// break
|
|
253
|
-
// }
|
|
254
|
-
// }
|
|
255
|
-
//
|
|
256
|
-
// if (flag == '工程技术部') {
|
|
257
|
-
// let js = JSON.parse(rows[i].f_survey_name)
|
|
258
|
-
// this.$refs.cp.$refs.grid.model.rows[i].applysite = js.name
|
|
259
|
-
// } else if (flag == '客户服务部') {
|
|
260
|
-
// let rows2 = this.$refs.cp.$refs.grid.model.rows
|
|
261
|
-
// for (let i = 0; i < rows2.length; i++) {
|
|
262
|
-
// if (!this.$refs.cp.$refs.grid.model.rows[i].applysite) {
|
|
263
|
-
// if (rows2[i].f_apply_kefu_employee) {
|
|
264
|
-
// if (rows2[i].f_apply_kefu_employee.startsWith("{")) {
|
|
265
|
-
// let obj = JSON.parse(rows2[i].f_apply_kefu_employee)
|
|
266
|
-
// this.$refs.cp.$refs.grid.model.rows[i].applysite = obj.name
|
|
267
|
-
// } else {
|
|
268
|
-
// this.$refs.cp.$refs.grid.model.rows[i].applysite = rows2[i].f_apply_kefu_employee
|
|
269
|
-
// }
|
|
270
|
-
// }
|
|
271
|
-
// }
|
|
272
|
-
// }
|
|
273
|
-
// }
|
|
274
|
-
// }
|
|
275
|
-
// let numReg = /^[0-9]+$/
|
|
276
|
-
// let numRe = new RegExp(numReg)
|
|
277
|
-
// if (numRe.test(this.$refs.cp.$refs.grid.model.rows[i].applysite)) {
|
|
278
|
-
// let querydata = {
|
|
279
|
-
// tablename: 't_user',
|
|
280
|
-
// condition: `id = ${this.$refs.cp.$refs.grid.model.rows[i].applysite}`
|
|
281
|
-
// }
|
|
282
|
-
// let http = new HttpResetClass()
|
|
283
|
-
// http.load('POST','rs/sql/singleTable', {data: querydata}, {
|
|
284
|
-
// resolveMsg: null,
|
|
285
|
-
// rejectMsg: '获取人员失败'
|
|
286
|
-
// }).then((res)=>{
|
|
287
|
-
// this.$refs.cp.$refs.grid.model.rows[i].applysite = res.data[0].name
|
|
288
|
-
// })
|
|
289
|
-
// }
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
}
|
|
293
189
|
},
|
|
294
190
|
methods: {
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
var r = (d + Math.random() * 16) % 16 | 0
|
|
299
|
-
d = Math.floor(d / 16)
|
|
300
|
-
return (c === 'x' ? r : (r & 0x3 | 0x8)).toString(16)
|
|
301
|
-
})
|
|
302
|
-
return uuid
|
|
191
|
+
// 查询
|
|
192
|
+
search () {
|
|
193
|
+
this.$dispatch('search')
|
|
303
194
|
},
|
|
304
|
-
|
|
305
|
-
this.$
|
|
195
|
+
clear () {
|
|
196
|
+
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
197
|
+
this.$refs.cp.$refs.cri.model[key] = []
|
|
198
|
+
})
|
|
306
199
|
},
|
|
307
|
-
|
|
308
|
-
this.$
|
|
200
|
+
applyTypeChange () {
|
|
201
|
+
if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
|
|
202
|
+
let http = new HttpResetClass()
|
|
203
|
+
http.load('POST', 'rs/logic/getDefnameByType', {
|
|
204
|
+
f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type
|
|
205
|
+
}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
206
|
+
this.defnames = [{label: '全部', value: ''}, ...res.data]
|
|
207
|
+
})
|
|
208
|
+
} else {
|
|
209
|
+
this.defnames = [{label: '全部', value: ''}, ...this.$appdata.getParam('办理环节')]
|
|
210
|
+
}
|
|
309
211
|
},
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
console.log('完工', val)
|
|
313
|
-
return false
|
|
212
|
+
check (val) {
|
|
213
|
+
this.$dispatch('apply', val)
|
|
314
214
|
}
|
|
315
215
|
},
|
|
316
216
|
computed: {
|
|
317
|
-
date() {
|
|
318
|
-
return getNowDate()
|
|
319
|
-
},
|
|
320
|
-
selected() {
|
|
321
|
-
return this.$refs.cp.$refs.grid.selected
|
|
322
|
-
},
|
|
323
|
-
usertype() {
|
|
324
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
325
|
-
},
|
|
326
|
-
defnameType() {
|
|
327
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('流程状态')]
|
|
328
|
-
},
|
|
329
|
-
applytype() {
|
|
330
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')]
|
|
331
|
-
}
|
|
332
217
|
}
|
|
333
218
|
}
|
|
334
219
|
</script>
|
|
335
|
-
<style>
|
|
336
|
-
tr.title {
|
|
337
|
-
background-color: #6666ff;
|
|
338
|
-
}
|
|
339
|
-
|
|
220
|
+
<style scoped>
|
|
340
221
|
</style>
|