sale-client 4.2.6 → 4.2.7
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/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +1 -1
- package/build/dev-server.js +4 -4
- package/package.json +1 -1
- package/src/filiale/jinhuang/WebHand.vue +1026 -1026
- package/src/filiale/ronghao/uploadFilesHistory.vue +5 -24
- package/src/filiale/yuncheng/FilesManage/MeterinfoTest.vue +1 -1
- package/src/main.js +1 -1
- package/src/components/FilesManage/addressts/FileUserFilests.vue +0 -671
- package/src/components/FilesManage/ncUserinfoList.vue +0 -315
- package/src/components/SellGasCharge/MeterCharge/CardDataRewrite.vue +0 -107
- package/src/components/SendCard/SendCardData.vue +0 -208
- package/src/components/accounts/accountAdd.vue +0 -276
- package/src/components/accounts/accountsList.vue +0 -183
- package/src/components/accounts/accountsManage.vue +0 -87
- package/src/components/common/chargeinfo/chargeinfo.vue +0 -55
- package/src/components/common/userinfo_detail/config/exportConfig.js +0 -85
- package/src/components/ncarchives/ncArchivesAdd.vue +0 -468
- package/src/components/ncarchives/ncArchivesList.vue +0 -159
- package/src/components/ncarchives/ncUserfilesList.vue +0 -373
- package/src/components/ncarchives/ncarchivesmanage.vue +0 -80
- package/src/components/revenue/IOTArrears/arrears.vue +0 -323
- package/src/components/revenue/IOTArrears/iotRechargeAudit.vue +0 -369
- package/src/components/revenue/base/rightview/carddetail/cardiotfeeChangeDetail.vue +0 -59
- package/src/components/revenue/base/rightview/carddetail/reduceChangeDetail.vue +0 -59
- package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchCancellationts.vue +0 -73
- package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchEnablets.vue +0 -73
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/ReduceAddGas.vue +0 -199
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionManage.vue +0 -24
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionYSManage.vue +0 -24
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeDeduction.vue +0 -185
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeYSDeduction.vue +0 -185
- package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/ChangeFlowMeter.vue +0 -356
- package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/CorrectionMeter.vue +0 -148
- package/src/components/revenue/comprehen/SpecialUser/BlackList/BlackUserList.vue +0 -136
- package/src/components/revenue/recordMainten/sellinggas/AddWarehousemain.vue +0 -65
- package/src/components/revenue/recordMainten/sellinggas/MeterOperateAdd.vue +0 -483
- package/src/components/revenue/recordMainten/sellinggas/MeterOperatemain.vue +0 -279
- package/src/components/revenue/recordMainten/sellinggas/MeterOperatemainImport.vue +0 -265
- package/src/components/thirdapply/thirdAdd.vue +0 -289
- package/src/components/thirdapply/thirdList.vue +0 -162
- package/src/components/thirdapply/thirdManage.vue +0 -74
- package/src/components/webMeter/InstructQuery.vue +0 -414
- package/src/components/webMeter/ParamSet/ParamSet.vue +0 -556
- package/src/components/webMeter/ParamSet/ParamSetForm.vue +0 -296
- package/src/components/webMeter/WebUserHand.vue +0 -483
- package/src/components/webMeter/instructionView/NewQueryInstruct.vue +0 -509
- package/src/components/webMeter/instructionView/NewQueryInstructMain.vue +0 -48
- package/src/components/webMeter/webManage/NewMeterList.vue +0 -461
- package/src/plugins/FileManageServicets.js +0 -214
- package/src/plugins/GetImg.js +0 -53
|
@@ -1,509 +0,0 @@
|
|
|
1
|
-
<template >
|
|
2
|
-
<div class="flex-row">
|
|
3
|
-
<div @keyup.enter="search1" class="basic-main">
|
|
4
|
-
<criteria-paged :model="model" v-ref:paged>
|
|
5
|
-
<criteria @condition-changed='$parent.search' partial='criteria' v-ref:criteria>
|
|
6
|
-
<div class="form-horizontal select-overspread container-fluid auto" novalidate partial>
|
|
7
|
-
<div class="row">
|
|
8
|
-
<div class="col-sm-3 form-group" style="width: 27%;margin-right: -6%;">
|
|
9
|
-
<label class="font_normal_body">公  司</label>
|
|
10
|
-
<right-tree @re-res="$parent.$parent.getorg"
|
|
11
|
-
:initresid='initres.org'></right-tree>
|
|
12
|
-
</div>
|
|
13
|
-
<div class="col-sm-2 form-group" style="margin-right:-2%">
|
|
14
|
-
<label class="font_normal_body">指令时间</label>
|
|
15
|
-
<datepicker :format="'yyyy-MM-dd HH:mm:ss'" :value.sync="model.f_start_date"
|
|
16
|
-
condition="f_instruct_date >= '{}'"
|
|
17
|
-
placeholder="起始时间"
|
|
18
|
-
style="width:66%"
|
|
19
|
-
v-model="model.f_start_date"
|
|
20
|
-
></datepicker>
|
|
21
|
-
</div>
|
|
22
|
-
<div class="col-sm-2 form-group">
|
|
23
|
-
<label class="font_normal_body"> 至 </label>
|
|
24
|
-
<datepicker :format="'yyyy-MM-dd HH:mm:ss'" :value.sync="model.f_end_date"
|
|
25
|
-
condition="f_instruct_date <= '{}'"
|
|
26
|
-
placeholder="结束时间"
|
|
27
|
-
style="width:66%"
|
|
28
|
-
v-model="model.f_end_date"
|
|
29
|
-
></datepicker>
|
|
30
|
-
</div>
|
|
31
|
-
<div class="col-sm-2 form-group ">
|
|
32
|
-
<label class="font_normal_body">客户编号</label>
|
|
33
|
-
<input :size="model.f_userinfo_code ? model.f_userinfo_code.length : 6"
|
|
34
|
-
class="input_search" condition="f_userinfo_code like '{}%'"
|
|
35
|
-
placeholder='客户编号'
|
|
36
|
-
style="width:60%"
|
|
37
|
-
type="text"
|
|
38
|
-
v-model="model.f_userinfo_code">
|
|
39
|
-
</div>
|
|
40
|
-
|
|
41
|
-
<div class="col-sm-2 form-group" v-if="$parent.$parent.clientWidth>1600">
|
|
42
|
-
<label class="font_normal_body">公  司</label>
|
|
43
|
-
<right-tree :initresid='$parent.$parent.org'
|
|
44
|
-
@re-res="$parent.$parent.getorg"></right-tree>
|
|
45
|
-
</div>
|
|
46
|
-
|
|
47
|
-
<div style="float:right">
|
|
48
|
-
<button @click="search()" class="button_search" v-el:cba>查询</button>
|
|
49
|
-
<button @click="$parent.$parent.clearmsg" class="button_clear">清空</button>
|
|
50
|
-
<export-excel
|
|
51
|
-
:choose-col="true"
|
|
52
|
-
:data="$parent.$parent.getconditions"
|
|
53
|
-
:defaultselect="$parent.$parent.selectfields"
|
|
54
|
-
:field="$parent.$parent.excelHeaders" sql-name="iot_getNewQueryInstruct" sqlurl="rs/logic/saleExport"
|
|
55
|
-
template-name='指令查看'></export-excel>
|
|
56
|
-
<div
|
|
57
|
-
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
58
|
-
@click="$parent.$parent.hidden()" class="button_spacing" style="float: right"></div>
|
|
59
|
-
</div>
|
|
60
|
-
</div>
|
|
61
|
-
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
62
|
-
|
|
63
|
-
<div class="col-sm-2 form-group">
|
|
64
|
-
<label class="font_normal_body">客户地址</label>
|
|
65
|
-
<input :size="model.f_address ? model.f_address.length : 6" class="input_search"
|
|
66
|
-
condition="f_address like '%{}%'"
|
|
67
|
-
placeholder='客户地址'
|
|
68
|
-
style="width:60%"
|
|
69
|
-
type="text"
|
|
70
|
-
v-model="model.f_address"
|
|
71
|
-
>
|
|
72
|
-
</div>
|
|
73
|
-
<div class="col-sm-2 form-group">
|
|
74
|
-
<label class="font_normal_body">客户名称</label>
|
|
75
|
-
<input :size="model.f_user_name ? model.f_user_name.length : 6"
|
|
76
|
-
class="input_search" condition="f_user_name like '%{}%'"
|
|
77
|
-
placeholder='客户名称'
|
|
78
|
-
style="width:60%"
|
|
79
|
-
type="text"
|
|
80
|
-
v-model="model.f_user_name"
|
|
81
|
-
>
|
|
82
|
-
</div>
|
|
83
|
-
<div class="col-sm-2 form-group">
|
|
84
|
-
<label class="font_normal_body">表    号</label>
|
|
85
|
-
<input :size="model.f_meternumber ? model.f_meternumber.length : 6"
|
|
86
|
-
class="input_search" condition="f_meternumber like '%{}%'"
|
|
87
|
-
placeholder='表号'
|
|
88
|
-
style="width:60%"
|
|
89
|
-
type="text"
|
|
90
|
-
v-model="model.f_meternumber">
|
|
91
|
-
</div>
|
|
92
|
-
<div class="col-sm-2 form-group" v-if="$parent.$parent.clientWidth<1600">
|
|
93
|
-
<label class="font_normal_body">公  司</label>
|
|
94
|
-
<right-tree :initresid='$parent.$parent.org'
|
|
95
|
-
@re-res="$parent.$parent.getorg"></right-tree>
|
|
96
|
-
</div>
|
|
97
|
-
|
|
98
|
-
<!-- <div class="col-sm-2 form-group">-->
|
|
99
|
-
<!-- <label class="font_normal_body">客户类型</label>-->
|
|
100
|
-
<!-- <v-select style="width:60%" :value.sync="model.f_user_type" v-model="model.f_user_type"-->
|
|
101
|
-
<!-- placeholder='客户类型'-->
|
|
102
|
-
<!-- value-single="true"-->
|
|
103
|
-
<!-- :options='$parent.$parent.userType'-->
|
|
104
|
-
<!-- close-on-select-->
|
|
105
|
-
<!-- condition="f_user_type ='{}'"-->
|
|
106
|
-
<!-- ></v-select>-->
|
|
107
|
-
<!-- </div>-->
|
|
108
|
-
<!-- <div class="col-sm-2 form-group">-->
|
|
109
|
-
<!-- <label class="font_normal_body">用气性质</label>-->
|
|
110
|
-
<!-- <v-select style="width:60%" :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"-->
|
|
111
|
-
<!-- placeholder='用气性质'-->
|
|
112
|
-
<!-- value-single="true"-->
|
|
113
|
-
<!-- :options='$parent.$parent.Gasproperties'-->
|
|
114
|
-
<!-- close-on-select-->
|
|
115
|
-
<!-- condition="f_gasproperties = '{}'"-->
|
|
116
|
-
<!-- ></v-select>-->
|
|
117
|
-
<!-- </div>-->
|
|
118
|
-
|
|
119
|
-
<div class="col-sm-2 form-group">
|
|
120
|
-
<label class="font_normal_body">气表品牌</label>
|
|
121
|
-
<v-select
|
|
122
|
-
:options='$parent.$parent.meterbrand'
|
|
123
|
-
|
|
124
|
-
:value.sync="model.f_gasbrand"
|
|
125
|
-
close-on-select
|
|
126
|
-
condition="f_meter_brand='{}'"
|
|
127
|
-
placeholder='气表品牌'
|
|
128
|
-
style="width:60%"
|
|
129
|
-
v-model="model.f_gasbrand">
|
|
130
|
-
</v-select>
|
|
131
|
-
</div>
|
|
132
|
-
<div class="col-sm-2 form-group">
|
|
133
|
-
<label class="font_normal_body">指令类型</label>
|
|
134
|
-
<v-select :options='$parent.$parent.instructtype' :value.sync="model.f_instruct_type" close-on-select
|
|
135
|
-
condition="f_instruct_type='{}'"
|
|
136
|
-
placeholder='指令类型'
|
|
137
|
-
style="width:60%"
|
|
138
|
-
v-model="model.f_instruct_type"></v-select>
|
|
139
|
-
</div>
|
|
140
|
-
<div class="col-sm-2 form-group">
|
|
141
|
-
<label class="font_normal_body">执行状态</label>
|
|
142
|
-
<v-select :options='$parent.$parent.instructstate' :value.sync="model.f_instruct_state" close-on-select
|
|
143
|
-
condition="f_instruct_state='{}'"
|
|
144
|
-
placeholder='执行状态'
|
|
145
|
-
style="width:60%"
|
|
146
|
-
v-model="model.f_instruct_state"
|
|
147
|
-
></v-select>
|
|
148
|
-
</div>
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
</div>
|
|
152
|
-
</div>
|
|
153
|
-
</criteria>
|
|
154
|
-
<data-grid :model="model" class="list_area table_sy" id="queryinstruct" partial='list' v-ref:grid>
|
|
155
|
-
<template partial='head'>
|
|
156
|
-
<tr>
|
|
157
|
-
<th style="text-align:center">
|
|
158
|
-
<nobr>序号</nobr>
|
|
159
|
-
</th>
|
|
160
|
-
<th style="text-align:center">
|
|
161
|
-
<nobr>客户编号</nobr>
|
|
162
|
-
</th>
|
|
163
|
-
<th style="text-align:center">
|
|
164
|
-
<nobr>客户名称</nobr>
|
|
165
|
-
</th>
|
|
166
|
-
<th style="text-align:center">
|
|
167
|
-
<nobr>客户地址</nobr>
|
|
168
|
-
</th>
|
|
169
|
-
<th style="text-align:center">
|
|
170
|
-
<nobr>表号</nobr>
|
|
171
|
-
</th>
|
|
172
|
-
<th style="text-align:center">
|
|
173
|
-
<nobr>气表品牌</nobr>
|
|
174
|
-
</th>
|
|
175
|
-
<th style="text-align:center">
|
|
176
|
-
<nobr>指令类型</nobr>
|
|
177
|
-
</th>
|
|
178
|
-
<th style="text-align:center">
|
|
179
|
-
<nobr>指令标题</nobr>
|
|
180
|
-
</th>
|
|
181
|
-
<th style="text-align:center">
|
|
182
|
-
<nobr>执行状态</nobr>
|
|
183
|
-
</th>
|
|
184
|
-
<th style="text-align:center"><nobr>执行结果</nobr></th>
|
|
185
|
-
<th style="text-align:center"><nobr>指令生成时间</nobr></th>
|
|
186
|
-
<th style="text-align:center"><nobr>指令发送时间</nobr></th>
|
|
187
|
-
<th style="text-align:center"><nobr>上表时间</nobr></th>
|
|
188
|
-
<th style="text-align:center">
|
|
189
|
-
<nobr>操作内容</nobr>
|
|
190
|
-
</th>
|
|
191
|
-
<th style="text-align:center">
|
|
192
|
-
<nobr>操作人(记录)</nobr>
|
|
193
|
-
</th>
|
|
194
|
-
<th style="text-align:center">
|
|
195
|
-
<nobr>操作时间(记录)</nobr>
|
|
196
|
-
</th>
|
|
197
|
-
<th style="text-align:center">
|
|
198
|
-
<nobr>操作类型</nobr>
|
|
199
|
-
</th>
|
|
200
|
-
<th style="text-align:center">
|
|
201
|
-
<nobr>记录状态</nobr>
|
|
202
|
-
</th>
|
|
203
|
-
<th style="text-align:center"><nobr>组织机构</nobr></th>
|
|
204
|
-
<th v-if="$parent.$parent.$parent.changeshow" style="text-align:center"><nobr>操作</nobr></th>
|
|
205
|
-
</tr>
|
|
206
|
-
</template>
|
|
207
|
-
<template partial='body'>
|
|
208
|
-
<tr>
|
|
209
|
-
<td style="text-align:center">
|
|
210
|
-
<nobr>{{$index+1}}</nobr>
|
|
211
|
-
</td>
|
|
212
|
-
<td style="text-align:center">
|
|
213
|
-
<span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
|
|
214
|
-
</td>
|
|
215
|
-
<td style="text-align:center">
|
|
216
|
-
<nobr>{{row.f_user_name}}</nobr>
|
|
217
|
-
</td>
|
|
218
|
-
<td style="text-align:center">
|
|
219
|
-
<nobr>{{row.f_address}}</nobr>
|
|
220
|
-
</td>
|
|
221
|
-
<td style="text-align:center">
|
|
222
|
-
<nobr>{{row.f_meternumber}}</nobr>
|
|
223
|
-
</td>
|
|
224
|
-
<td style="text-align:center">
|
|
225
|
-
<nobr>{{row.f_meter_brand}}</nobr>
|
|
226
|
-
</td>
|
|
227
|
-
<td style="text-align:center">
|
|
228
|
-
<nobr>{{row.f_instruct_type}}</nobr>
|
|
229
|
-
</td>
|
|
230
|
-
<td style="text-align:center">
|
|
231
|
-
<nobr>{{row.f_instruct_title}}</nobr>
|
|
232
|
-
</td>
|
|
233
|
-
<td style="text-align:center">
|
|
234
|
-
<nobr>{{row.f_instruct_state}}</nobr>
|
|
235
|
-
</td>
|
|
236
|
-
<td style="text-align:center">
|
|
237
|
-
<nobr>{{row.f_receive_state}}</nobr>
|
|
238
|
-
</td>
|
|
239
|
-
<td style="text-align:center">
|
|
240
|
-
<nobr>{{row.f_instruct_date}}</nobr>
|
|
241
|
-
</td>
|
|
242
|
-
<td style="text-align:center"><nobr>{{row.f_send_date}}</nobr></td>
|
|
243
|
-
<td style="text-align:center"><nobr>{{row.f_callback_date}}</nobr></td>
|
|
244
|
-
<td style="text-align:center">
|
|
245
|
-
<nobr>{{row.note}}</nobr>
|
|
246
|
-
</td>
|
|
247
|
-
<td style="text-align:center">
|
|
248
|
-
<nobr>{{row.f_operator}}</nobr>
|
|
249
|
-
</td>
|
|
250
|
-
<td style="text-align:center">
|
|
251
|
-
<nobr>{{row.f_operate_date}}</nobr>
|
|
252
|
-
</td>
|
|
253
|
-
<td style="text-align:center">
|
|
254
|
-
<nobr>{{row.f_operate_type}}</nobr>
|
|
255
|
-
</td>
|
|
256
|
-
<td style="text-align:center">
|
|
257
|
-
<nobr>{{row.f_state}}</nobr>
|
|
258
|
-
</td>
|
|
259
|
-
<td style="text-align:center">
|
|
260
|
-
<nobr>{{row.f_orgname}}</nobr>
|
|
261
|
-
</td>
|
|
262
|
-
<td v-if="$parent.$parent.$parent.changeshow"><button type="button" name="button" class="btn btn-link" v-if="row.f_instruct_state.includes('失败')"
|
|
263
|
-
@click.stop="$parent.$parent.$parent.modifyInstructState(row)">指令重发</button>
|
|
264
|
-
</td>
|
|
265
|
-
</tr>
|
|
266
|
-
</template>
|
|
267
|
-
</data-grid>
|
|
268
|
-
</criteria-paged>
|
|
269
|
-
</div>
|
|
270
|
-
</div>
|
|
271
|
-
</template>
|
|
272
|
-
<script>
|
|
273
|
-
import {PagedList} from 'vue-client'
|
|
274
|
-
import co from 'co'
|
|
275
|
-
import * as Util from '../../../Util'
|
|
276
|
-
import getLodop from '../../../plugins/LodopFuncs'
|
|
277
|
-
import {HttpResetClass} from 'vue-client'
|
|
278
|
-
|
|
279
|
-
let readyGen = async function (self) {
|
|
280
|
-
await self.$LoadParams.loadParam()
|
|
281
|
-
self.initQueryParam()
|
|
282
|
-
self.getinstructtype()
|
|
283
|
-
self.getinstructstate()
|
|
284
|
-
// self.reflash()
|
|
285
|
-
}
|
|
286
|
-
export default {
|
|
287
|
-
title: '指令查看',
|
|
288
|
-
data () {
|
|
289
|
-
return {
|
|
290
|
-
model: new PagedList('rs/sql/iot_getNewQueryInstruct', 50),
|
|
291
|
-
row: null,
|
|
292
|
-
isLoading: true,
|
|
293
|
-
searchshow: true,
|
|
294
|
-
criteriaShow:false,
|
|
295
|
-
Gasproperties:[],
|
|
296
|
-
meterbrand: [],
|
|
297
|
-
userType:[],
|
|
298
|
-
initres: {
|
|
299
|
-
org:[this.$login.f.orgid]
|
|
300
|
-
},
|
|
301
|
-
instructtype:[],
|
|
302
|
-
instructstate:[],
|
|
303
|
-
org:[this.$login.f.orgid],
|
|
304
|
-
orgcondition:' and f_filialeid = ' + this.$login.f.orgid,
|
|
305
|
-
show: false,
|
|
306
|
-
condition:'',
|
|
307
|
-
getfield: {},
|
|
308
|
-
selectfields:[],
|
|
309
|
-
excelHeaders: {
|
|
310
|
-
'f_userinfo_code': '客户编号','f_address': '客户地址','f_user_name': '客户姓名',
|
|
311
|
-
'f_meternumber': '表号','f_meter_brand': '气表品牌','f_instruct_type': '指令类型',
|
|
312
|
-
'f_instruct_state': '执行状态','f_receive_state': '执行结果','f_instruct_date': '指令时间',
|
|
313
|
-
'note':'操作内容','f_operator':'操作人(记录)','f_operate_date':'操作时间(记录)','f_operate_type':'操作类型','f_state':'操作状态',
|
|
314
|
-
'f_orgname': '组织机构',
|
|
315
|
-
},
|
|
316
|
-
f_orgid_new:this.$login.f.orgid,
|
|
317
|
-
changeshow:false,
|
|
318
|
-
}
|
|
319
|
-
},
|
|
320
|
-
ready () {
|
|
321
|
-
for(var item in this.excelHeaders){
|
|
322
|
-
this.selectfields.push(item)
|
|
323
|
-
}
|
|
324
|
-
if(this.$login.r.includes('指令重发')){
|
|
325
|
-
this.changeshow = true;
|
|
326
|
-
}
|
|
327
|
-
readyGen(this)
|
|
328
|
-
this.$refs.paged.$refs.criteria.model.f_start_date = Util.toStandardDateString() + ' 00:00:00'
|
|
329
|
-
this.$refs.paged.$refs.criteria.model.f_end_date = Util.toStandardDateString() + ' 23:59:59'
|
|
330
|
-
this.$refs.paged.$refs.criteria.search()
|
|
331
|
-
},
|
|
332
|
-
methods: {
|
|
333
|
-
hidden(){
|
|
334
|
-
this.criteriaShow = !this.criteriaShow
|
|
335
|
-
},
|
|
336
|
-
getorg(obj) {
|
|
337
|
-
if (obj.resids.length > 0) {
|
|
338
|
-
this.orgcondition = " and f_filialeid in " + this.$login.convertToIn(obj.resids)
|
|
339
|
-
if(obj.resids instanceof Array){
|
|
340
|
-
this.f_orgid_new = obj.resids[0]
|
|
341
|
-
}else{
|
|
342
|
-
this.f_orgid_new = obj.resids
|
|
343
|
-
}
|
|
344
|
-
} else {
|
|
345
|
-
this.orgcondition = " and f_filialeid = " + this.$login.f.orgid
|
|
346
|
-
}
|
|
347
|
-
},
|
|
348
|
-
initQueryParam () {
|
|
349
|
-
let arr = []
|
|
350
|
-
this.$GetSaleParam.getGasbrand().forEach((item) => {
|
|
351
|
-
let temp = {}
|
|
352
|
-
if(item.value.f_meter_type==='物联网表'){
|
|
353
|
-
temp.label = item.label
|
|
354
|
-
temp.value = item.value.f_meter_brand
|
|
355
|
-
arr.push(temp )
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
})
|
|
359
|
-
this.meterbrand = [{label: '全部', value: ''}, ...arr]
|
|
360
|
-
},
|
|
361
|
-
getinstructtype(){
|
|
362
|
-
this.instructtype=[]
|
|
363
|
-
let load = new HttpResetClass()
|
|
364
|
-
load.load('POST', 'rs/sql/querySingleTable', {
|
|
365
|
-
data: {
|
|
366
|
-
items:'f_instruct_type',
|
|
367
|
-
tablename:'t_instruct',
|
|
368
|
-
condition:'f_instruct_type is not null group by f_instruct_type'
|
|
369
|
-
}
|
|
370
|
-
},{warnMsg:null,resolveMsg:null}).then((res) => {
|
|
371
|
-
this.instructtype.push({label: '全部', value: ''})
|
|
372
|
-
res.data.forEach((item) => {
|
|
373
|
-
this.instructtype.push({label: item.f_instruct_type, value: item.f_instruct_type})
|
|
374
|
-
})
|
|
375
|
-
})
|
|
376
|
-
|
|
377
|
-
},
|
|
378
|
-
getinstructstate(){
|
|
379
|
-
this.instructstate=[]
|
|
380
|
-
let load = new HttpResetClass()
|
|
381
|
-
load.load('POST', 'rs/sql/querySingleTable', {
|
|
382
|
-
data: {
|
|
383
|
-
items:'f_instruct_state',
|
|
384
|
-
tablename:'t_instruct',
|
|
385
|
-
condition:'f_instruct_state is not null group by f_instruct_state'
|
|
386
|
-
}
|
|
387
|
-
},{warnMsg:null,resolveMsg:null}).then((res) => {
|
|
388
|
-
this.instructstate.push({label: '全部', value: ''})
|
|
389
|
-
res.data.forEach((item) => {
|
|
390
|
-
this.instructstate.push({label: item.f_instruct_state, value: item.f_instruct_state})
|
|
391
|
-
})
|
|
392
|
-
})
|
|
393
|
-
|
|
394
|
-
},
|
|
395
|
-
clearmsg () {
|
|
396
|
-
this.$refs.paged.$refs.criteria.model = {}
|
|
397
|
-
},
|
|
398
|
-
clickshow () {
|
|
399
|
-
this.searchshow = !this.searchshow
|
|
400
|
-
},
|
|
401
|
-
dealmsg (val) {
|
|
402
|
-
val.model = this.model.model
|
|
403
|
-
this.$emit('deal-msg', val)
|
|
404
|
-
},
|
|
405
|
-
async search (args) {
|
|
406
|
-
// this.obj.resids = this.obj.resids.replace(/\./g, ''),
|
|
407
|
-
args.condition = `${args.condition}`+this.orgcondition
|
|
408
|
-
console.log(args.condition+"args.condition")
|
|
409
|
-
this.condition = args.condition
|
|
410
|
-
if( this.$refs.paged.$refs.criteria.model.f_start_date!=null && this.$refs.paged.$refs.criteria.model.f_start_date!=''){
|
|
411
|
-
this.model.params.f_start_date = `'${this.$refs.paged.$refs.criteria.model.f_start_date}'`;
|
|
412
|
-
}else{
|
|
413
|
-
this.model.params.f_start_date = '';
|
|
414
|
-
}
|
|
415
|
-
if( this.$refs.paged.$refs.criteria.model.f_end_date!=null && this.$refs.paged.$refs.criteria.model.f_end_date!=''){
|
|
416
|
-
this.model.params.f_end_date = `'${this.$refs.paged.$refs.criteria.model.f_end_date}'`;
|
|
417
|
-
}else{
|
|
418
|
-
this.model.params.f_end_date = "";
|
|
419
|
-
}
|
|
420
|
-
if(this.f_orgid_new == '' || this.f_orgid_new == null){
|
|
421
|
-
this.model.params.f_orgid = `'${this.$login.f.orgid}'`;
|
|
422
|
-
await this.$LoadParams.loadParam(this.$login.f.orgid)
|
|
423
|
-
}else{
|
|
424
|
-
this.model.params.f_orgid = `'${this.f_orgid_new}'`;
|
|
425
|
-
await this.$LoadParams.loadParam(this.f_orgid_new)
|
|
426
|
-
}
|
|
427
|
-
// this.condition =
|
|
428
|
-
this.model.search(args.condition, args.model)
|
|
429
|
-
this.initQueryParam();
|
|
430
|
-
},
|
|
431
|
-
modifyInstructState(row) {
|
|
432
|
-
let insructrestdata = {
|
|
433
|
-
f_userinfo_id: row.f_userinfo_id,
|
|
434
|
-
f_user_name: row.f_user_name,
|
|
435
|
-
f_operator: this.$login.f.name,
|
|
436
|
-
f_operatorid: this.$login.f.id,
|
|
437
|
-
f_orgid: this.$login.f.orgid,
|
|
438
|
-
f_orgname: this.$login.f.orgs,
|
|
439
|
-
f_depid: this.$login.f.depids,
|
|
440
|
-
f_depname: this.$login.f.deps,
|
|
441
|
-
f_meternumber: row.f_meternumber,
|
|
442
|
-
f_userfiles_id: row.f_userfiles_id,
|
|
443
|
-
f_instruct_state_old: row.f_instruct_state,
|
|
444
|
-
f_receive_state: row.f_receive_state,
|
|
445
|
-
state: '待发送',
|
|
446
|
-
id: row.id
|
|
447
|
-
};
|
|
448
|
-
|
|
449
|
-
this.$showMessage('确认要重置执行状态吗?', ['confirm', 'cancel']).then(
|
|
450
|
-
(response) => {
|
|
451
|
-
if (response === 'confirm') {
|
|
452
|
-
this.$resetpost('rs/logic/iot_changeInstructState', {
|
|
453
|
-
data: insructrestdata
|
|
454
|
-
})
|
|
455
|
-
.then(() => {
|
|
456
|
-
this.model.search(this.condition)
|
|
457
|
-
})
|
|
458
|
-
}
|
|
459
|
-
}
|
|
460
|
-
)
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
},
|
|
464
|
-
computed: {
|
|
465
|
-
userType() {
|
|
466
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
467
|
-
},
|
|
468
|
-
Gasproperties() {
|
|
469
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
|
|
470
|
-
},
|
|
471
|
-
|
|
472
|
-
getconditions(){
|
|
473
|
-
let param = {
|
|
474
|
-
condition: `${this.$refs.paged.$refs.criteria.condition}` +this.orgcondition
|
|
475
|
-
}
|
|
476
|
-
if( this.$refs.paged.$refs.criteria.model.f_start_date!=null && this.$refs.paged.$refs.criteria.model.f_start_date!=''){
|
|
477
|
-
param.f_start_date = `'${this.$refs.paged.$refs.criteria.model.f_start_date}'`;
|
|
478
|
-
}else{
|
|
479
|
-
param.f_start_date = '';
|
|
480
|
-
}
|
|
481
|
-
if( this.$refs.paged.$refs.criteria.model.f_end_date!=null && this.$refs.paged.$refs.criteria.model.f_end_date!=''){
|
|
482
|
-
param.f_end_date = `'${this.$refs.paged.$refs.criteria.model.f_end_date}'`;
|
|
483
|
-
}else{
|
|
484
|
-
param.f_end_date = "";
|
|
485
|
-
}
|
|
486
|
-
if(this.f_orgid_new == '' || this.f_orgid_new == null){
|
|
487
|
-
param.f_orgid = `'${this.$login.f.orgid}'`;
|
|
488
|
-
}else{
|
|
489
|
-
param.f_orgid = `'${this.f_orgid_new}'`;
|
|
490
|
-
}
|
|
491
|
-
return param;
|
|
492
|
-
},
|
|
493
|
-
}
|
|
494
|
-
|
|
495
|
-
}
|
|
496
|
-
</script>
|
|
497
|
-
<style>
|
|
498
|
-
.form-input-group label {
|
|
499
|
-
text-align: right;
|
|
500
|
-
width: auto;
|
|
501
|
-
}
|
|
502
|
-
.datapanel {
|
|
503
|
-
color: #333;
|
|
504
|
-
background-color: white;
|
|
505
|
-
box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px ;
|
|
506
|
-
padding: 10px 30px 10px 30px;
|
|
507
|
-
border-radius:15px;
|
|
508
|
-
}
|
|
509
|
-
</style>
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="row" style="overflow:hidden;">
|
|
3
|
-
<div v-show="listpage">
|
|
4
|
-
<new-query-instruct @deal-msg="dealMsg"></new-query-instruct>
|
|
5
|
-
</div>
|
|
6
|
-
<div v-if="!listpage">
|
|
7
|
-
<user-info-detail-manage :f_userinfo_id="rowData.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>
|
|
8
|
-
</div>
|
|
9
|
-
</div>
|
|
10
|
-
</template>
|
|
11
|
-
|
|
12
|
-
<script>
|
|
13
|
-
|
|
14
|
-
export default {
|
|
15
|
-
title: '指令查看',
|
|
16
|
-
name: 'instruct-Manage',
|
|
17
|
-
data () {
|
|
18
|
-
return {
|
|
19
|
-
// 页面开关
|
|
20
|
-
listpage: true,
|
|
21
|
-
width: {
|
|
22
|
-
left: "100%",
|
|
23
|
-
right: "0%"
|
|
24
|
-
},
|
|
25
|
-
rowData: {}
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
ready () {
|
|
29
|
-
|
|
30
|
-
},
|
|
31
|
-
methods: {
|
|
32
|
-
dealMsg (obj) {
|
|
33
|
-
this.listpage = false
|
|
34
|
-
this.rowData = obj
|
|
35
|
-
},
|
|
36
|
-
cancel () {
|
|
37
|
-
this.listpage = true
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
watch: {
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
</script>
|
|
45
|
-
|
|
46
|
-
<style scoped>
|
|
47
|
-
|
|
48
|
-
</style>
|