apply-clients 3.5.5-8 → 3.5.5-80
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/build/dev-server.js +5 -13
- package/package.json +6 -4
- package/src/App.vue +25 -25
- package/src/apply.js +141 -141
- package/src/components/QXClient.js +333 -0
- package/src/components/SignTools.js +65 -0
- package/src/components/android/Process/AppChargeList.vue +8 -0
- package/src/components/android/Process/AppExplorationUser.vue +1 -2
- package/src/components/product/Function/Service/FunctionServiceControl.vue +497 -497
- package/src/components/product/Install/ContractCharge.vue +3 -3
- package/src/components/product/MaterialsManage/MaterialsBase.vue +181 -181
- package/src/components/product/MaterialsManage/MaterialsManage.vue +60 -60
- package/src/components/product/Process/Processes/contractModel.vue +436 -424
- package/src/components/product/Supervisory/SupervisoryList.vue +452 -452
- package/src/filiale/baiyin/android/ByAddMaterialScience.vue +2 -0
- package/src/filiale/dingcheng/pc/SupervisoryList.vue +441 -441
- package/src/filiale/fugou/android/AppAddMaterialScience.vue +20 -16
- package/src/filiale/fugou/android/AppAddReplacement.vue +512 -341
- package/src/filiale/fugou/android/AppDevicesManagement.vue +3 -1
- package/src/filiale/fugou/android/AppExplorationUser.vue +3 -3
- package/src/filiale/fugou/android/AppInstallationDetails.vue +2 -1
- package/src/filiale/fugou/android/AppServiceControl.vue +11 -7
- package/src/filiale/fugou/android/AppZhihuanManagement.vue +3 -1
- package/src/filiale/fugou/pc/AddReplacement.vue +511 -340
- package/src/filiale/fugou/pc/ApplyChargeList.vue +487 -480
- package/src/filiale/fugou/pc/Applybatchdispatch.vue +754 -0
- package/src/filiale/fugou/pc/ExplorationSelect.vue +3 -4
- package/src/filiale/fugou/pc/ServiceControl.vue +1720 -1705
- package/src/filiale/fugou/pc/StopApplyList.vue +291 -0
- package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +1 -1
- package/src/filiale/fugou/pc/chargeReport.vue +87 -15
- package/src/filiale/fugou/pc/devicesManagement.vue +1 -0
- package/src/filiale/fugou/pc.js +19 -17
- package/src/filiale/gongyi/android/AppDisclosurerecord.vue +214 -214
- package/src/filiale/gongyi/android/AppInstallationDetails.vue +500 -500
- package/src/filiale/gongyi/android/AppLegacyIssues.vue +309 -309
- package/src/filiale/gongyi/android/AppSign.vue +170 -170
- package/src/filiale/gongyi/android/AppSupplementalAgreement.vue +298 -298
- package/src/filiale/gongyi/android.js +18 -18
- package/src/filiale/gongyi/pc/ApplyUpload.vue +371 -371
- package/src/filiale/gongyi/pc/PcAddLogs.vue +221 -221
- package/src/filiale/gongyi/pc/PcDisclosurerecord.vue +218 -218
- package/src/filiale/gongyi/pc/PcLegacyIssues.vue +309 -309
- package/src/filiale/gongyi/pc/SupervisoryServiceControl.vue +894 -894
- package/src/filiale/gongyi/pc/SupervisoryServiceView.vue +1005 -1005
- package/src/filiale/gongyi/pc/addMaterialScience.vue +575 -575
- package/src/filiale/gongyi/pc/chargeManagement.vue +765 -765
- package/src/filiale/gongyi/pc/supplementalAgreement.vue +277 -277
- package/src/filiale/gongyi/pc.js +24 -24
- package/src/filiale/hongda/pc/SupervisoryList.vue +422 -422
- package/src/filiale/jingyang/pc/SupervisoryList.vue +459 -459
- package/src/filiale/jinhuang/android/AppAddMaterialScience.vue +635 -0
- package/src/filiale/jinhuang/android.js +6 -0
- package/src/filiale/jinhuang/pc/ContractList.vue +220 -0
- package/src/filiale/jinhuang/pc/ExplorationSelect.vue +523 -0
- package/src/filiale/jinhuang/pc/ServiceControl.vue +7 -0
- package/src/filiale/jinhuang/pc/addMaterialScience.vue +638 -0
- package/src/filiale/jinhuang/pc/addressAndUserinfoManagement.vue +41 -1
- package/src/filiale/jinhuang/pc.js +3 -0
- package/src/filiale/qianneng/android/AppServiceView.vue +13 -13
- package/src/filiale/qianneng/pc/ApplyMaterialDetailed.vue +1 -1
- package/src/filiale/qianneng/pc/Applybatchdispatch.vue +8 -5
- package/src/filiale/qianneng/pc/Applydetail.vue +1 -1
- package/src/filiale/qianneng/pc/FunctionServiceControl.vue +10 -3
- package/src/filiale/qianneng/pc/ServiceControl.vue +8 -3
- package/src/filiale/ruihua/pc/ServiceControl.vue +2 -1
- package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +11 -4
- package/src/filiale/yangchunboneng/android/AppContractCharge.vue +3 -3
- package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +72 -5
- package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +30 -1
- package/src/filiale/yangchunboneng/android/AppProcessSupervisory.vue +331 -0
- package/src/filiale/yangchunboneng/android/AppServiceControl.vue +219 -43
- package/src/filiale/yangchunboneng/android/MaterIialOne.vue +21 -1
- package/src/filiale/yangchunboneng/android.js +2 -1
- package/src/filiale/yangchunboneng/pc/ApplyChargeList.vue +32 -4
- package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +3 -3
- package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +114 -49
- package/src/filiale/yangchunboneng/pc/ServiceControl.vue +4 -2
- package/src/filiale/yangchunboneng/pc/StopApplyList.vue +294 -0
- package/src/filiale/yangchunboneng/pc/SupervisoryControl.vue +141 -0
- package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +54 -42
- package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +5 -1
- package/src/filiale/yangchunboneng/pc/SupervisoryServiceView.vue +1 -1
- package/src/filiale/yangchunboneng/pc/buildOrderList.vue +411 -0
- package/src/filiale/yangchunboneng/pc/chargeManagement.vue +5 -1
- package/src/filiale/yangchunboneng/pc/constructionInfo.vue +84 -0
- package/src/filiale/yangchunboneng/pc/printBuildOrder.vue +175 -0
- package/src/filiale/yangchunboneng/pc.js +6 -1
- package/src/main.js +1 -1
- package/~/chatbot/main.py +0 -57
|
@@ -0,0 +1,291 @@
|
|
|
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
|
+
|
|
8
|
+
<div class="form-group col-sm-3">
|
|
9
|
+
<label class="font_normal_body">工程编号:</label>
|
|
10
|
+
<input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
|
|
11
|
+
v-on:keyup.enter="search"
|
|
12
|
+
condition="f_apply_num like '%{}%'">
|
|
13
|
+
</div>
|
|
14
|
+
<div class="form-group col-sm-3">
|
|
15
|
+
<label class="font_normal_body">客户名称:</label>
|
|
16
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
17
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="a.f_user_name like '%{}%'" placeholder='客户名称'>
|
|
18
|
+
</div>
|
|
19
|
+
<div class="form-group col-sm-3">
|
|
20
|
+
<label class="font_normal_body">用户地址:</label>
|
|
21
|
+
<input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
|
|
22
|
+
v-on:keyup.enter="search"
|
|
23
|
+
condition="f_address like '%{}%'">
|
|
24
|
+
</div>
|
|
25
|
+
<div class="form-group col-sm-2 button-range">
|
|
26
|
+
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
27
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
28
|
+
<div
|
|
29
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
30
|
+
@click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
|
|
31
|
+
class="button_spacing"
|
|
32
|
+
style="float: right">
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
37
|
+
<div class="form-group col-sm-3">
|
|
38
|
+
<label class="font_normal_body">组织机构:</label>
|
|
39
|
+
<res-select
|
|
40
|
+
restype='organization'
|
|
41
|
+
:initresid='$parent.$parent.curorgid'
|
|
42
|
+
@res-select="$parent.$parent.getorg"
|
|
43
|
+
is-mul="false"
|
|
44
|
+
></res-select>
|
|
45
|
+
</div>
|
|
46
|
+
<div class="form-group col-sm-3">
|
|
47
|
+
<label class="font_normal_body">用户编号:</label>
|
|
48
|
+
<input type="text" style="width:60%" class="input_search" placeholder='用户编号' v-model="model.f_userinfo_code"
|
|
49
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
50
|
+
condition="f_userinfo_code like '%{}%'">
|
|
51
|
+
</div>
|
|
52
|
+
<div class="form-group col-sm-3">
|
|
53
|
+
<label class="font_normal_body">联系电话:</label>
|
|
54
|
+
<input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
|
|
55
|
+
v-on:keyup.enter="search"
|
|
56
|
+
condition="f_phone like '%{}%'">
|
|
57
|
+
</div>
|
|
58
|
+
<div class="form-group col-sm-3">
|
|
59
|
+
<label class="font_normal_body">合同编号:</label>
|
|
60
|
+
<input type="text" style="width:60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
|
|
61
|
+
v-on:keyup.enter="search"
|
|
62
|
+
condition="f_contract_number = '{}'">
|
|
63
|
+
</div>
|
|
64
|
+
<div class="form-group col-sm-3">
|
|
65
|
+
<label class="font_normal_body">报建类型:</label>
|
|
66
|
+
<v-select
|
|
67
|
+
v-model="model.f_apply_type"
|
|
68
|
+
placeholder='报建类型'
|
|
69
|
+
condition="f_apply_type = '{}'"
|
|
70
|
+
:value.sync="model.f_apply_type"
|
|
71
|
+
:options='$parent.$parent.applytype'
|
|
72
|
+
class="select select_list"
|
|
73
|
+
:value-single="true"
|
|
74
|
+
@change="$parent.$parent.applyTypeChange()"
|
|
75
|
+
close-on-select ></v-select>
|
|
76
|
+
</div>
|
|
77
|
+
<div class="form-group col-sm-3">
|
|
78
|
+
<label class="font_normal_body">类型:</label>
|
|
79
|
+
<v-select
|
|
80
|
+
v-model="model.f_type"
|
|
81
|
+
placeholder='报建类型'
|
|
82
|
+
condition="f_type = '{}'"
|
|
83
|
+
:value.sync="model.f_type"
|
|
84
|
+
:options='$parent.$parent.types'
|
|
85
|
+
class="select select_list"
|
|
86
|
+
:value-single="true"
|
|
87
|
+
close-on-select ></v-select>
|
|
88
|
+
</div>
|
|
89
|
+
<div class="form-group col-sm-3">
|
|
90
|
+
<label class="font_normal_body">办理环节:</label>
|
|
91
|
+
<v-select
|
|
92
|
+
v-model="model.defname"
|
|
93
|
+
placeholder='办理环节'
|
|
94
|
+
condition="defname = '{}'"
|
|
95
|
+
:value.sync="model.defname"
|
|
96
|
+
:options='$parent.$parent.defnames'
|
|
97
|
+
class="select select_list"
|
|
98
|
+
:value-single="true"
|
|
99
|
+
close-on-select ></v-select>
|
|
100
|
+
</div>
|
|
101
|
+
<div class="form-group col-sm-3">
|
|
102
|
+
<label class="font_normal_body">报建性质:</label>
|
|
103
|
+
<v-select
|
|
104
|
+
v-model="model.f_apply_nature"
|
|
105
|
+
placeholder='报建性质'
|
|
106
|
+
condition="f_apply_nature = '{}'"
|
|
107
|
+
:value.sync="model.f_apply_nature"
|
|
108
|
+
:options='$parent.$parent.applyNatures'
|
|
109
|
+
class="select select_list"
|
|
110
|
+
:value-single="true"
|
|
111
|
+
close-on-select ></v-select>
|
|
112
|
+
</div>
|
|
113
|
+
<div class="form-group col-sm-3">
|
|
114
|
+
<label for="startDate" class="font_normal_body">开始时间:</label>
|
|
115
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
116
|
+
style="width: 60%!important;"
|
|
117
|
+
v-model="model.startDate"
|
|
118
|
+
:value.sync="model.startDate"
|
|
119
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
120
|
+
:show-reset-button="true"
|
|
121
|
+
condition="f_stop_date >= '{}'">
|
|
122
|
+
</datepicker>
|
|
123
|
+
</div>
|
|
124
|
+
<div class="form-group col-sm-3">
|
|
125
|
+
<label for="endDate" class="font_normal_body">结束时间:</label>
|
|
126
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
127
|
+
style="width: 60%!important;"
|
|
128
|
+
v-model="model.endDate"
|
|
129
|
+
:value.sync="model.endDate"
|
|
130
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
131
|
+
:show-reset-button="true"
|
|
132
|
+
condition="f_stop_date <= '{}'">
|
|
133
|
+
</datepicker>
|
|
134
|
+
</div>
|
|
135
|
+
</div>
|
|
136
|
+
</div>
|
|
137
|
+
</criteria>
|
|
138
|
+
<data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
|
|
139
|
+
<template partial='head'>
|
|
140
|
+
<tr>
|
|
141
|
+
<th style="white-space: nowrap;">序号</th>
|
|
142
|
+
<th style="white-space: nowrap;">操作</th>
|
|
143
|
+
<th style="white-space: nowrap;">报建编号</th>
|
|
144
|
+
<th style="white-space: nowrap;">客户名称</th>
|
|
145
|
+
<th style="white-space: nowrap;">联系人</th>
|
|
146
|
+
<th style="white-space: nowrap;">电话</th>
|
|
147
|
+
<th style="white-space: nowrap;">报建类型</th>
|
|
148
|
+
<th style="white-space: nowrap;">办理环节</th>
|
|
149
|
+
<th style="white-space: nowrap;">类型</th>
|
|
150
|
+
<th style="white-space: nowrap;">状态</th>
|
|
151
|
+
<th style="white-space: nowrap;">终止原因</th>
|
|
152
|
+
<th style="white-space: nowrap;">终止时间</th>
|
|
153
|
+
<th style="white-space: nowrap;">终止人</th>
|
|
154
|
+
<th style="white-space: nowrap;">撤销原因</th>
|
|
155
|
+
<th style="white-space: nowrap;">撤销时间</th>
|
|
156
|
+
<th style="white-space: nowrap;">撤销人</th>
|
|
157
|
+
</tr>
|
|
158
|
+
</template>
|
|
159
|
+
<template partial='body'>
|
|
160
|
+
<tr>
|
|
161
|
+
<td style="text-align: center;">
|
|
162
|
+
<nobr>{{$index+1}}</nobr>
|
|
163
|
+
</td>
|
|
164
|
+
<td style="text-align: center;">
|
|
165
|
+
<dropdown v-if="row.f_type === '暂停报建' && row.f_state === '有效'">
|
|
166
|
+
<button type="button" data-toggle="dropdown" style="border: 0px;background: none;">
|
|
167
|
+
<span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
|
|
168
|
+
</button>
|
|
169
|
+
<ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-left">
|
|
170
|
+
<li>
|
|
171
|
+
<a href="#" @click="$parent.$parent.$parent.click(row)">撤销</a>
|
|
172
|
+
</li>
|
|
173
|
+
</ul>
|
|
174
|
+
</dropdown>
|
|
175
|
+
</td>
|
|
176
|
+
<td style="text-align: center;">
|
|
177
|
+
<nobr>{{row.f_apply_num}}</nobr>
|
|
178
|
+
</td>
|
|
179
|
+
<td style="text-align: center;">
|
|
180
|
+
<nobr>{{row.f_user_name}}</nobr>
|
|
181
|
+
</td>
|
|
182
|
+
<td style="text-align: center;">
|
|
183
|
+
<nobr>{{row.f_contact}}</nobr>
|
|
184
|
+
</td>
|
|
185
|
+
<td style="text-align: center;">
|
|
186
|
+
<nobr>{{row.f_phone}}</nobr>
|
|
187
|
+
</td>
|
|
188
|
+
<td style="text-align: center;">
|
|
189
|
+
<nobr>{{row.f_apply_type}}</nobr>
|
|
190
|
+
</td>
|
|
191
|
+
<td style="text-align: center;">
|
|
192
|
+
<nobr>{{row.defname}}</nobr>
|
|
193
|
+
</td>
|
|
194
|
+
<td style="text-align: center;">
|
|
195
|
+
<nobr>{{row.f_type}}</nobr>
|
|
196
|
+
</td>
|
|
197
|
+
<td style="text-align: center;">
|
|
198
|
+
<nobr>{{row.f_state}}</nobr>
|
|
199
|
+
</td>
|
|
200
|
+
<td style="text-align: center;">
|
|
201
|
+
<nobr>{{row.f_stop_reason}}</nobr>
|
|
202
|
+
</td>
|
|
203
|
+
<td style="text-align: center;">
|
|
204
|
+
<nobr>{{row.f_stop_date}}</nobr>
|
|
205
|
+
</td>
|
|
206
|
+
<td style="text-align: center;">
|
|
207
|
+
<nobr>{{row.f_operator}}</nobr>
|
|
208
|
+
</td>
|
|
209
|
+
<td style="text-align: center;">
|
|
210
|
+
<nobr>{{row.f_cancel_reason}}</nobr>
|
|
211
|
+
</td>
|
|
212
|
+
<td style="text-align: center;">
|
|
213
|
+
<nobr>{{row.f_cancel_date}}</nobr>
|
|
214
|
+
</td>
|
|
215
|
+
<td style="text-align: center;">
|
|
216
|
+
<nobr>{{row.f_cancel_operator}}</nobr>
|
|
217
|
+
</td>
|
|
218
|
+
</tr>
|
|
219
|
+
</template>
|
|
220
|
+
</data-grid>
|
|
221
|
+
</criteria-paged>
|
|
222
|
+
</div>
|
|
223
|
+
</template>
|
|
224
|
+
<script>
|
|
225
|
+
import {PagedList} from 'vue-client'
|
|
226
|
+
import {isEmpty} from '../../../components/Util'
|
|
227
|
+
export default {
|
|
228
|
+
title: '勘探详情',
|
|
229
|
+
data () {
|
|
230
|
+
return {
|
|
231
|
+
model: new PagedList('rs/sql/getStopApply', 20, {
|
|
232
|
+
data: {
|
|
233
|
+
orgid: this.$login.f.orgid
|
|
234
|
+
}
|
|
235
|
+
}),
|
|
236
|
+
curorgid: [this.$login.f.orgid],
|
|
237
|
+
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
|
|
238
|
+
types: [{label: '全部', value: ''},{label: '暂停报建', value: '暂停报建'}, {label: '终止报建', value: '终止报建'}],
|
|
239
|
+
defnames: [{label: '全部', value: ''}], // 流程节点
|
|
240
|
+
applyNatures: [{label: '全部', value: ''}], // 报建性质
|
|
241
|
+
criteriaShow: false
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
ready () {
|
|
245
|
+
// 调用查询
|
|
246
|
+
this.search()
|
|
247
|
+
},
|
|
248
|
+
events: {
|
|
249
|
+
},
|
|
250
|
+
methods: {
|
|
251
|
+
// 查询
|
|
252
|
+
search () {
|
|
253
|
+
this.$dispatch('search')
|
|
254
|
+
},
|
|
255
|
+
click (row) {
|
|
256
|
+
this.$dispatch('cancelStopApply', row)
|
|
257
|
+
},
|
|
258
|
+
async applyTypeChange () {
|
|
259
|
+
if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
|
|
260
|
+
let res = await this.$resetpost('rs/logic/getDefnameByType',
|
|
261
|
+
{ f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
|
|
262
|
+
{resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
|
|
263
|
+
)
|
|
264
|
+
|
|
265
|
+
this.defnames = [{label: '全部', value: ''}, ...res.data]
|
|
266
|
+
|
|
267
|
+
this.applyNatures = isEmpty(this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)]
|
|
268
|
+
} else {
|
|
269
|
+
this.defnames = [{label: '全部', value: ''}]
|
|
270
|
+
|
|
271
|
+
this.applyNatures = [{label: '全部', value: ''}]
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
clear () {
|
|
275
|
+
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
276
|
+
this.$refs.cp.$refs.cri.model[key] = null
|
|
277
|
+
})
|
|
278
|
+
},
|
|
279
|
+
getorg (val) {
|
|
280
|
+
if (val.length <= 0) {
|
|
281
|
+
return
|
|
282
|
+
}
|
|
283
|
+
this.model.params.data.orgid = val[0]
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
computed: {
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
</script>
|
|
290
|
+
<style scoped>
|
|
291
|
+
</style>
|
|
@@ -4,6 +4,45 @@
|
|
|
4
4
|
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
|
|
5
5
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
|
|
6
6
|
<div class="row">
|
|
7
|
+
<div class="col-sm-2">
|
|
8
|
+
<label class="font_normal_body">组织机构:</label>
|
|
9
|
+
<res-select
|
|
10
|
+
restype='organization'
|
|
11
|
+
:initresid='$parent.$parent.curorgid'
|
|
12
|
+
@res-select="$parent.$parent.getorg"
|
|
13
|
+
:is-mul="false"
|
|
14
|
+
></res-select>
|
|
15
|
+
</div>
|
|
16
|
+
<div class="col-sm-2">
|
|
17
|
+
<label class="font_normal_body">部  门:</label>
|
|
18
|
+
<res-select
|
|
19
|
+
restype='department'
|
|
20
|
+
:parentresid="$parent.$parent.curorgid"
|
|
21
|
+
:initresid='$parent.$parent.curdepid'
|
|
22
|
+
@res-select="$parent.$parent.getdep"
|
|
23
|
+
:is-mul="true"
|
|
24
|
+
></res-select>
|
|
25
|
+
</div>
|
|
26
|
+
<div class="col-sm-2">
|
|
27
|
+
<label class="font_normal_body">人  员:</label>
|
|
28
|
+
<res-select
|
|
29
|
+
restype='user'
|
|
30
|
+
:parentresid="$parent.$parent.curdepid"
|
|
31
|
+
:initresid='$parent.$parent.curuserid'
|
|
32
|
+
@res-select="$parent.$parent.getuser"
|
|
33
|
+
:is-mul="true"></res-select>
|
|
34
|
+
</div>
|
|
35
|
+
<div class="col-sm-2" >
|
|
36
|
+
<label class="font_normal_body" for="startDate">分组项:</label>
|
|
37
|
+
<v-select
|
|
38
|
+
:value.sync="model.f_public_group1"
|
|
39
|
+
v-model="model.f_public_group1"
|
|
40
|
+
v-ref:groupone
|
|
41
|
+
:options='$parent.$parent.group1'
|
|
42
|
+
placeholder='请选择'
|
|
43
|
+
close-on-select
|
|
44
|
+
></v-select>
|
|
45
|
+
</div>
|
|
7
46
|
<div class="col-sm-2" >
|
|
8
47
|
<label class="font_normal_body" for="startDate">开始日期:</label>
|
|
9
48
|
<datepicker id="startDate" placeholder="开始日期" style="width: 60%"
|
|
@@ -54,7 +93,7 @@
|
|
|
54
93
|
</th>
|
|
55
94
|
</tr>
|
|
56
95
|
<tr>
|
|
57
|
-
<th :colspan='$
|
|
96
|
+
<th :colspan='$par ent.spans' style="font-weight: normal; text-align: center;">
|
|
58
97
|
<div>
|
|
59
98
|
<span v-show="$parent.orgname.trim()!=''">公司:{{$parent.orgname}}</span>
|
|
60
99
|
<span v-show="$parent.depname.trim()!=''"> 部门:{{$parent.depname}}</span>
|
|
@@ -70,9 +109,9 @@
|
|
|
70
109
|
</tr>
|
|
71
110
|
<tfoot>
|
|
72
111
|
</tfoot>
|
|
73
|
-
|
|
112
|
+
</table>
|
|
74
113
|
</div>
|
|
75
|
-
</criteria-
|
|
114
|
+
</criteria-page d>
|
|
76
115
|
</div>
|
|
77
116
|
</template>
|
|
78
117
|
<script>
|
|
@@ -83,6 +122,9 @@ export default {
|
|
|
83
122
|
data () {
|
|
84
123
|
return {
|
|
85
124
|
printTime: this.$login.toStandardTimeString(),
|
|
125
|
+
curorgid: [this.$login.f.orgid],
|
|
126
|
+
curdepid: [],
|
|
127
|
+
curuserid: [],
|
|
86
128
|
depresid: [],
|
|
87
129
|
userresid: [],
|
|
88
130
|
f_orgid: this.$login.f.orgid,
|
|
@@ -98,40 +140,70 @@ export default {
|
|
|
98
140
|
orgCondtionStr: '1=1',
|
|
99
141
|
model: new DataModel('rs/report/fgChargeRecord', {
|
|
100
142
|
startDate: 'this.model.startDate', endDate: 'this.model.endDate',
|
|
101
|
-
f_orgid: 'this.model.f_orgid'
|
|
143
|
+
f_orgid: 'this.model.f_orgid',
|
|
144
|
+
f_public_group1: 'this.model.f_public_group1[0]',
|
|
145
|
+
group1Name: 'this.model.group1Name'
|
|
102
146
|
}),
|
|
103
147
|
reportStr: null,
|
|
104
148
|
spans: 0,
|
|
149
|
+
f_public_group1: '',
|
|
150
|
+
group1Name: ''
|
|
105
151
|
}
|
|
106
152
|
},
|
|
107
153
|
ready () {
|
|
108
154
|
this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
|
|
109
155
|
this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
|
|
110
|
-
this.searchData()
|
|
111
156
|
},
|
|
112
157
|
created () {
|
|
113
158
|
},
|
|
114
159
|
methods: {
|
|
115
|
-
searchData () {
|
|
116
|
-
this.$refs.paged.$refs.criteria.search()
|
|
117
|
-
},
|
|
118
160
|
selfSearch(args) {
|
|
119
|
-
|
|
161
|
+
this.$refs.paged.$refs.criteria.model.group1Name = this.$refs.paged.$refs.criteria.$refs.groupone.selectedItems
|
|
162
|
+
if (this.curuserid.length > 0) {
|
|
163
|
+
args.condition = args.condition + ` and cr.f_charge_collectors_id in (${this.curuserid})`
|
|
164
|
+
}
|
|
120
165
|
let orgcondition = 'f_orgid in (' + this.f_orgid + ')'
|
|
166
|
+
let name1 = args.model.f_public_group1
|
|
167
|
+
if (name1 == null || name1 == ''){
|
|
168
|
+
alert("请选择分组项!!!")
|
|
169
|
+
return
|
|
170
|
+
}
|
|
121
171
|
this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
|
|
122
172
|
this.$refs.paged.search(args)
|
|
123
173
|
},
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
174
|
+
getuser (val) {
|
|
175
|
+
if (val.length <= 0) {
|
|
176
|
+
return
|
|
177
|
+
}
|
|
178
|
+
this.curuserid = val
|
|
179
|
+
},
|
|
180
|
+
getdep (val) {
|
|
181
|
+
if (val.length <= 0) {
|
|
182
|
+
return
|
|
183
|
+
}
|
|
184
|
+
this.curdepid = val
|
|
185
|
+
this.curuserid = []
|
|
186
|
+
},
|
|
187
|
+
getorg (val) {
|
|
188
|
+
if (val.length <= 0) {
|
|
189
|
+
return
|
|
190
|
+
}
|
|
191
|
+
this.curorgid = val
|
|
192
|
+
this.curdepid = []
|
|
193
|
+
this.curuserid = []
|
|
194
|
+
},
|
|
195
|
+
searchData () {
|
|
196
|
+
this.$refs.paged.$refs.criteria.search()
|
|
127
197
|
}
|
|
128
198
|
},
|
|
199
|
+
computed: {
|
|
200
|
+
group1() {
|
|
201
|
+
return [{label:'报建类型', value:'f_apply_type'}, {label:'报建性质', value:'f_apply_nature'}]
|
|
202
|
+
}
|
|
203
|
+
},
|
|
129
204
|
watch: {
|
|
130
205
|
'model.data' (val) {
|
|
131
206
|
this.spans = val.split('</tr>').map(item => item.split('</td>').length - 1).reduce((x, y) => x > y ? x : y)
|
|
132
|
-
},
|
|
133
|
-
'this.$refs.paged.$refs.criteria.model.f_insurance_company' (val) {
|
|
134
|
-
console.log(val)
|
|
135
207
|
}
|
|
136
208
|
}
|
|
137
209
|
}
|
package/src/filiale/fugou/pc.js
CHANGED
|
@@ -1,17 +1,19 @@
|
|
|
1
|
-
import Vue from 'vue'
|
|
2
|
-
|
|
3
|
-
let specialComp = {
|
|
4
|
-
'service-control': (resolve) => { require(['./pc/ServiceControl'], resolve) },
|
|
5
|
-
'exploration-select': (resolve) => { require(['./pc/ExplorationSelect'], resolve) },
|
|
6
|
-
'installation-details': (resolve) => { require(['./pc/InstallationDetails'], resolve) },
|
|
7
|
-
'add-material-science': (resolve) => { require(['./pc/addMaterialScience'], resolve) },
|
|
8
|
-
'apply-address-userinfo-management': (resolve) => { require(['./pc/addressAndUserinfoManagement'], resolve) },
|
|
9
|
-
'apply-replacement': (resolve) => { require(['./pc/AddReplacement'], resolve) },
|
|
10
|
-
'apply-devices-management': (resolve) => { require(['./pc/devicesManagement'], resolve) },
|
|
11
|
-
'apply-charge-report': (resolve) => { require(['./pc/chargeReport'], resolve) },
|
|
12
|
-
'service-view': (resolve) => { require(['./pc/serviceview'], resolve) },
|
|
13
|
-
'apply-charge-list': (resolve) => { require(['./pc/ApplyChargeList'], resolve) },
|
|
14
|
-
'apply-print-chargepc': (resolve) => { require(['./pc/printChargepc'], resolve) },
|
|
15
|
-
'
|
|
16
|
-
}
|
|
17
|
-
|
|
1
|
+
import Vue from 'vue'
|
|
2
|
+
|
|
3
|
+
let specialComp = {
|
|
4
|
+
'service-control': (resolve) => { require(['./pc/ServiceControl'], resolve) },
|
|
5
|
+
'exploration-select': (resolve) => { require(['./pc/ExplorationSelect'], resolve) },
|
|
6
|
+
'installation-details': (resolve) => { require(['./pc/InstallationDetails'], resolve) },
|
|
7
|
+
'add-material-science': (resolve) => { require(['./pc/addMaterialScience'], resolve) },
|
|
8
|
+
'apply-address-userinfo-management': (resolve) => { require(['./pc/addressAndUserinfoManagement'], resolve) },
|
|
9
|
+
'apply-replacement': (resolve) => { require(['./pc/AddReplacement'], resolve) },
|
|
10
|
+
'apply-devices-management': (resolve) => { require(['./pc/devicesManagement'], resolve) },
|
|
11
|
+
'apply-charge-report': (resolve) => { require(['./pc/chargeReport'], resolve) },
|
|
12
|
+
'service-view': (resolve) => { require(['./pc/serviceview'], resolve) },
|
|
13
|
+
'apply-charge-list': (resolve) => { require(['./pc/ApplyChargeList'], resolve) },
|
|
14
|
+
'apply-print-chargepc': (resolve) => { require(['./pc/printChargepc'], resolve) },
|
|
15
|
+
'stop-apply-list': (resolve) => { require(['./pc/StopApplyList'], resolve) },
|
|
16
|
+
'supervisory-service-control': (resolve) => { require(['./pc/SupervisoryServiceControl'], resolve) },
|
|
17
|
+
'apply-batch-dispatch': (resolve) => { require(['./pc/Applybatchdispatch'], resolve) }
|
|
18
|
+
}
|
|
19
|
+
exports.specialComp = specialComp
|