sale-client 3.7.55 → 3.7.56
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/fileChanges/last-build.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/5.2.1/gc.properties +0 -0
- package/.gradle/8.10/checksums/checksums.lock +0 -0
- package/.gradle/8.10/dependencies-accessors/gc.properties +0 -0
- package/.gradle/8.10/executionHistory/executionHistory.bin +0 -0
- package/.gradle/8.10/executionHistory/executionHistory.lock +0 -0
- package/.gradle/8.10/fileChanges/last-build.bin +0 -0
- package/.gradle/8.10/fileHashes/fileHashes.bin +0 -0
- package/.gradle/8.10/fileHashes/fileHashes.lock +0 -0
- package/.gradle/8.10/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/.gradle/file-system.probe +0 -0
- package/.gradle/vcs-1/gc.properties +0 -0
- package/build/dev-server.js +18 -63
- package/kdn +44 -0
- package/package.json +1 -1
- package/src/filiale/jingwei/sale.js +1 -5
- package/src/filiale/qingtongxia/MeterDisable/DisableManage.vue +105 -0
- package/src/filiale/qingtongxia/MeterEnable/EnableManage.vue +190 -0
- package/src/filiale/qingtongxia/UserBaseInfoNew.vue +1 -1
- package/src/filiale/qingtongxia/sale.js +4 -0
- package/src/main.js +1 -1
- package/src/filiale/jingwei/CustQueryEticket.vue +0 -338
- package/src/filiale/jingwei/EticketRecordList.vue +0 -432
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
package/build/dev-server.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var path = require('path')
|
|
2
2
|
var checkVersion = require('./versionCheck.js')
|
|
3
3
|
checkVersion()
|
|
4
|
-
const [ serverRul, localUrl, v4Url ] = ['
|
|
4
|
+
const [ serverRul, localUrl, v4Url ] = ['https://www.qtxbnrq.cn:6300/', 'http://localhost:8080/', 'https://www.qtxbnrq.cn:6300/']
|
|
5
5
|
var merge = require('webpack-merge')
|
|
6
6
|
var baseConfig = require('./webpack.dev.conf')
|
|
7
7
|
var devConfig = {
|
|
@@ -20,14 +20,15 @@ var devConfig = {
|
|
|
20
20
|
},
|
|
21
21
|
proxy: {
|
|
22
22
|
|
|
23
|
-
'/rs/file': {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
},
|
|
23
|
+
// '/rs/file': {
|
|
24
|
+
// pathRewrite: {
|
|
25
|
+
// '^/rs/file/': '/api/af-revenue/file/'
|
|
26
|
+
// },
|
|
27
|
+
// target: serverRul
|
|
28
|
+
// },
|
|
29
29
|
'/api': {
|
|
30
|
-
target: v4Url
|
|
30
|
+
target: v4Url,
|
|
31
|
+
ws: true
|
|
31
32
|
},
|
|
32
33
|
'/sketch': {
|
|
33
34
|
target: serverRul,
|
|
@@ -46,7 +47,8 @@ var devConfig = {
|
|
|
46
47
|
target: serverRul
|
|
47
48
|
},
|
|
48
49
|
'/rs/sql/singleTable': {
|
|
49
|
-
target:
|
|
50
|
+
target: serverRul,
|
|
51
|
+
ws: true
|
|
50
52
|
},
|
|
51
53
|
'/invoice': {
|
|
52
54
|
// pathRewrite: {
|
|
@@ -60,65 +62,18 @@ var devConfig = {
|
|
|
60
62
|
|
|
61
63
|
// 查找资源服务数据
|
|
62
64
|
'/rs/search': {
|
|
63
|
-
target: serverRul
|
|
65
|
+
target: serverRul,
|
|
66
|
+
ws: true
|
|
64
67
|
},
|
|
65
68
|
// 查找资源服务数据
|
|
66
69
|
'/rs/logic/getLogin': {
|
|
67
|
-
target: serverRul
|
|
68
|
-
|
|
69
|
-
// 查找资源服务数据
|
|
70
|
-
'/rs/logic/getInitData': {
|
|
71
|
-
target: serverRul
|
|
72
|
-
},
|
|
73
|
-
'/rs/logic/getSaleInitData': {
|
|
74
|
-
target: localUrl
|
|
75
|
-
},
|
|
76
|
-
// 用户登录服务地址
|
|
77
|
-
'/rs/user': {
|
|
78
|
-
target: serverRul
|
|
79
|
-
},
|
|
80
|
-
'/rs/path': {
|
|
81
|
-
target: serverRul
|
|
82
|
-
},
|
|
83
|
-
'/rs/data': {
|
|
84
|
-
target: serverRul
|
|
85
|
-
},
|
|
86
|
-
'/rs/license': {
|
|
87
|
-
target: serverRul
|
|
88
|
-
},
|
|
89
|
-
'/rs/db': {
|
|
90
|
-
target: serverRul
|
|
91
|
-
},
|
|
92
|
-
'/excel': {
|
|
93
|
-
target: serverRul
|
|
94
|
-
},
|
|
95
|
-
'/rs/config': {
|
|
96
|
-
target: serverRul
|
|
97
|
-
},
|
|
98
|
-
'/rs/report': {
|
|
99
|
-
target: serverRul
|
|
100
|
-
},
|
|
101
|
-
'/rs/vue': {
|
|
102
|
-
target: serverRul
|
|
103
|
-
},
|
|
104
|
-
'/rs/logic/webHandReverse': {
|
|
105
|
-
target: 'http://localhost:8085'
|
|
106
|
-
},
|
|
107
|
-
'/rs/logic': {
|
|
108
|
-
target: localUrl
|
|
109
|
-
},
|
|
110
|
-
'/rs/entity': {
|
|
111
|
-
target: localUrl
|
|
112
|
-
},
|
|
113
|
-
'/rs/sql': {
|
|
114
|
-
target: localUrl
|
|
115
|
-
},
|
|
116
|
-
'/webmeter': {
|
|
117
|
-
target: serverRul
|
|
70
|
+
target: serverRul,
|
|
71
|
+
ws: true
|
|
118
72
|
},
|
|
119
73
|
'/rs': {
|
|
120
|
-
target: serverRul
|
|
121
|
-
|
|
74
|
+
target: serverRul,
|
|
75
|
+
changeOrigin: true,
|
|
76
|
+
ws: true
|
|
122
77
|
}
|
|
123
78
|
}
|
|
124
79
|
}
|
package/kdn
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
TaiYuan[m
|
|
2
|
+
V3[m
|
|
3
|
+
V3_修复阳春机表查询[m
|
|
4
|
+
V3_卡表抄表:使用类型条件筛查项[m
|
|
5
|
+
V3_商洛补气记录维护布局调整[m
|
|
6
|
+
V3_巴彦卡表收费四舍五入[m
|
|
7
|
+
V3_巴彦卡表收费计算公式添加结果[m
|
|
8
|
+
V3_巴彦退费问题[m
|
|
9
|
+
V3_巴彦问题修改[m
|
|
10
|
+
V3_巴彦需求[m
|
|
11
|
+
V3_府谷欠费停用[m
|
|
12
|
+
V3_府谷欠费停用修改之前的错[m
|
|
13
|
+
V3_德信其他欠费需求[m
|
|
14
|
+
V3_武安添加表前封号和表后封号[m
|
|
15
|
+
V3_泾阳发票管理需求[m
|
|
16
|
+
V3_泾阳对账添加商户号[m
|
|
17
|
+
V3_泾阳报错[m
|
|
18
|
+
V3_泾阳自助机对账[m
|
|
19
|
+
V3_清涧[m
|
|
20
|
+
V3_清涧批量修改调压箱[m
|
|
21
|
+
V3_清零换表写卡问题[m
|
|
22
|
+
V3_燎原问题[m
|
|
23
|
+
V3_石门增加自助机对账汇总[m
|
|
24
|
+
V3_石门评价[m
|
|
25
|
+
V3_科莱需求[m
|
|
26
|
+
V3_综合收费查询添加查询条件证件号[m
|
|
27
|
+
V3_荣创其他收费服务人员改必选[m
|
|
28
|
+
V3_荣成报警器年限[m
|
|
29
|
+
V3_荣成改错[m
|
|
30
|
+
V3_贵州鼎城附件上传问题[m
|
|
31
|
+
V3_附件查看图片显示[m
|
|
32
|
+
* [32mV3toV4[m
|
|
33
|
+
aode[m
|
|
34
|
+
aodelinshi[m
|
|
35
|
+
fanxiangas[m
|
|
36
|
+
jincheng[m
|
|
37
|
+
ningdu[m
|
|
38
|
+
weinan-v3[m
|
|
39
|
+
xianyangOracle[m
|
|
40
|
+
巩义V3[m
|
|
41
|
+
巴彦淖尔[m
|
|
42
|
+
府谷正式[m
|
|
43
|
+
彩虹V3[m
|
|
44
|
+
龙山V3[m
|
package/package.json
CHANGED
|
@@ -17,9 +17,5 @@ export default function () {
|
|
|
17
17
|
// 当前选择用户的表具基本信息
|
|
18
18
|
Vue.component('user-meterinfodetail', (resolve) => { require(['./meterinfodetail'], resolve) })
|
|
19
19
|
// 电子发票开票
|
|
20
|
-
Vue.component('e-ticket-
|
|
21
|
-
// 电子发票记录查看
|
|
22
|
-
Vue.component('e-ticket-record-list-query-v4', (resolve) => { require(['./EticketRecordList'], resolve) })
|
|
23
|
-
// 收费开票
|
|
24
|
-
Vue.component('cust-query-eticket-query-v4', (resolve) => { require(['./CustQueryEticket'], resolve) })
|
|
20
|
+
Vue.component('e-ticket-open-card-query-v4', (resolve) => { require(['./EticketManage'], resolve) })
|
|
25
21
|
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="auto">
|
|
3
|
+
<validator name='v'>
|
|
4
|
+
<form class="form-horizontal">
|
|
5
|
+
<div class="row">
|
|
6
|
+
<div class="col-sm-4 form-group">
|
|
7
|
+
<label for="f_reason" class="font_normal_body">停用原因</label>
|
|
8
|
+
<v-select v-model="model.f_reason"
|
|
9
|
+
placeholder='停用原因'
|
|
10
|
+
:value.sync="model.f_reason"
|
|
11
|
+
:options='reason'
|
|
12
|
+
v-ref:reason
|
|
13
|
+
close-on-select ></v-select>
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
<div class="row" style="margin-top:1px;">
|
|
17
|
+
<div class="col-sm-8 form-group">
|
|
18
|
+
<label for="f_reason" class="font_normal_body">备  注</label>
|
|
19
|
+
<input class="input_search" style="width:80%" v-model="model.f_othereason" placeholder="备注"/>
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
</form>
|
|
23
|
+
<div style="text-align:right;">
|
|
24
|
+
<button class="button_search button_spacing" @click="confirm()" :disabled='!$v.valid'>确认</button>
|
|
25
|
+
<button class="button_clear" @click="clean()" >取消</button>
|
|
26
|
+
</div>
|
|
27
|
+
</validator>
|
|
28
|
+
</div>
|
|
29
|
+
<upload :blodid="blodid" :businessid="randomBusinessId" isremark="true" :deleteimg="true" fusetype="停用"></upload>
|
|
30
|
+
</template>
|
|
31
|
+
<script>
|
|
32
|
+
/**
|
|
33
|
+
*综合业务
|
|
34
|
+
表具停用组件
|
|
35
|
+
*/
|
|
36
|
+
export default {
|
|
37
|
+
title: '表具停用',
|
|
38
|
+
props: ['row'],
|
|
39
|
+
data () {
|
|
40
|
+
return {
|
|
41
|
+
blodid: '',
|
|
42
|
+
showupload: true,
|
|
43
|
+
model: {},
|
|
44
|
+
randomBusinessId: '',
|
|
45
|
+
reason: this.$appdata.getParam('停用原因')
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
ready () {
|
|
49
|
+
this.blodid = this.row.f_userinfo_id
|
|
50
|
+
this.getRandomId()
|
|
51
|
+
},
|
|
52
|
+
methods: {
|
|
53
|
+
getRandomId () {
|
|
54
|
+
this.randomBusinessId = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
|
|
55
|
+
let res = Math.random() * 16 | 0
|
|
56
|
+
let v = c == 'x' ? res : (res & 0x3 | 0x8)
|
|
57
|
+
return v.toString(16)
|
|
58
|
+
})
|
|
59
|
+
},
|
|
60
|
+
async confirm () {
|
|
61
|
+
await this.$LogicService.meterDisable(this.model, this.row)
|
|
62
|
+
let array = [{
|
|
63
|
+
f_user_id: this.row.f_user_id,
|
|
64
|
+
f_userfiles_id: this.row.f_userfiles_id,
|
|
65
|
+
f_alias: this.row.f_alias,
|
|
66
|
+
f_userinfo_id: this.row.f_userinfo_id,
|
|
67
|
+
f_orgname: this.$login.f.orgs,
|
|
68
|
+
f_orgid: this.$login.f.orgid,
|
|
69
|
+
f_meternumber: this.row.f_meternumber
|
|
70
|
+
}]
|
|
71
|
+
// if (this.row.f_meter_type === '物联网表') {
|
|
72
|
+
// await this.$resetpost('rs/logic/iot_instructUpdateAndDelect',
|
|
73
|
+
// {
|
|
74
|
+
// data: {
|
|
75
|
+
// data1: {
|
|
76
|
+
// f_apply_type: '阀门控制',
|
|
77
|
+
// userid: array,
|
|
78
|
+
// nowDate: new Date(),
|
|
79
|
+
// f_apply_value: '关阀',
|
|
80
|
+
// f_apply_beizhu: '表具停用自动关阀',
|
|
81
|
+
// f_apply_operator: this.$login.f.name
|
|
82
|
+
// },
|
|
83
|
+
// data2: {
|
|
84
|
+
// userid: array,
|
|
85
|
+
// instructtype: '阀门控制',
|
|
86
|
+
// isOpen: '关阀',
|
|
87
|
+
// instructTitle: '手动关阀',
|
|
88
|
+
// reasonInfo: '表具停用自动关阀',
|
|
89
|
+
// f_instruct_state: '待发送',
|
|
90
|
+
// inputtor: this.$login.f.name
|
|
91
|
+
// }
|
|
92
|
+
// }
|
|
93
|
+
// })
|
|
94
|
+
// }
|
|
95
|
+
this.$dispatch('success')
|
|
96
|
+
},
|
|
97
|
+
clean () {
|
|
98
|
+
this.$dispatch('refresh')
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
</script>
|
|
103
|
+
|
|
104
|
+
<style>
|
|
105
|
+
</style>
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="auto">
|
|
3
|
+
<validator name='v'>
|
|
4
|
+
<form novalidate class="form-horizontal">
|
|
5
|
+
<div class="row">
|
|
6
|
+
<div class="col-sm-6 form-group">
|
|
7
|
+
<label class="font_normal_body">停用时间</label>
|
|
8
|
+
<input type="text" class="input_search" v-model="disable.f_operate_date" style="width:60%" disabled placeholder="上次停用时间"/>
|
|
9
|
+
</div>
|
|
10
|
+
<div class="col-sm-6 form-group">
|
|
11
|
+
<label class="font_normal_body">操作人</label>
|
|
12
|
+
<input type="text" class="input_search" v-model="disable.f_operator" style="width:60%" disabled placeholder="操作人"/>
|
|
13
|
+
</div>
|
|
14
|
+
<div class="col-sm-12 form-group">
|
|
15
|
+
<label class="font_normal_body">停用原因</label>
|
|
16
|
+
<input type="text" class="input_search" v-model="disable.f_comments" style="width:60%" disabled placeholder="停用原因"/>
|
|
17
|
+
</div>
|
|
18
|
+
<div class="col-sm-12 form-group">
|
|
19
|
+
<label class="font_normal_body">其他原因</label>
|
|
20
|
+
<input type="text" class="input_search" v-model="disable.f_othereason" style="width:60%" disabled placeholder="停用原因"/>
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
<div class="row">
|
|
24
|
+
<div class="col-sm-4 form-group">
|
|
25
|
+
<label for="f_reason" class="font_normal_body">启用原因</label>
|
|
26
|
+
<v-select v-model="model.f_comments" style="width:60%"
|
|
27
|
+
placeholder='启用原因'
|
|
28
|
+
:value.sync="model.f_comments"
|
|
29
|
+
:options='reason'
|
|
30
|
+
v-ref:reason
|
|
31
|
+
close-on-select ></v-select>
|
|
32
|
+
</div>
|
|
33
|
+
<div class="checkbox col-sm-4" style="margin-left:5%" v-if="!kaifa&&row.f_meter_type ==='物联网表'">
|
|
34
|
+
<label>
|
|
35
|
+
<input style="zoom: 200%;top: 1px;left: 14px;" @click="changeisuse(true)" type="checkbox" name="optionsRadios" :id="'optionsRadios'+index" value="option1" :checked="kaifa?'checked':''">
|
|
36
|
+
开阀
|
|
37
|
+
</label>
|
|
38
|
+
</div>
|
|
39
|
+
<div class="checkbox col-sm-4" style="margin-left:5%" v-if="kaifa&&row.f_meter_type ==='物联网表'">
|
|
40
|
+
<label>
|
|
41
|
+
<input style="zoom: 200%;top: 1px;left: 14px;" @click="changeisuse(false)" type="checkbox" name="optionsRadios" :id="'optionsRadios'+index" value="option1" :checked="kaifa?'checked':''">
|
|
42
|
+
开阀
|
|
43
|
+
</label>
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
<div class="row" style="margin-top:1px;">
|
|
47
|
+
<div class="col-sm-8 form-group">
|
|
48
|
+
<label for="f_reason" class="font_normal_body">备  注</label>
|
|
49
|
+
<input class="input_search" style="width:80%" v-model="model.f_othereason" placeholder="备注"/>
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
</form>
|
|
53
|
+
<div style="text-align:right;">
|
|
54
|
+
<button class="button_search button_spacing" @click="confirm()" :disabled='!$v.valid'>确认</button>
|
|
55
|
+
<button class="button_clear" @click="clean()" >取消</button>
|
|
56
|
+
</div>
|
|
57
|
+
</validator>
|
|
58
|
+
</div>
|
|
59
|
+
</template>
|
|
60
|
+
<script>
|
|
61
|
+
/**
|
|
62
|
+
*综合业务
|
|
63
|
+
*表具启用组件
|
|
64
|
+
*/
|
|
65
|
+
|
|
66
|
+
let meterEnable = async function (self, model, row) {
|
|
67
|
+
let data = {
|
|
68
|
+
f_userfiles_id: {
|
|
69
|
+
f_userfiles_id: row.f_userfiles_id,
|
|
70
|
+
f_table_state: '正常',
|
|
71
|
+
version: row.version
|
|
72
|
+
},
|
|
73
|
+
f_user_id: row.f_user_id,
|
|
74
|
+
record_userinfo: row.f_userinfo_id,
|
|
75
|
+
f_userinfo_id: row.f_userinfo_id,
|
|
76
|
+
f_user_name: row.f_user_name,
|
|
77
|
+
f_user_phone: row.f_user_phone,
|
|
78
|
+
f_state: '有效',
|
|
79
|
+
f_comments: model.f_comments[0],
|
|
80
|
+
f_othereason: model.f_othereason,
|
|
81
|
+
f_operat_type: '启用',
|
|
82
|
+
f_describe: `${self.$login.f.name}对客户${row.f_user_name}进行表具启用操作`,
|
|
83
|
+
f_operator: self.$login.f.name,
|
|
84
|
+
f_operatorid: self.$login.f.id,
|
|
85
|
+
f_orgid: self.$login.f.orgid,
|
|
86
|
+
f_orgname: self.$login.f.orgs,
|
|
87
|
+
f_depid: self.$login.f.depids,
|
|
88
|
+
f_depname: self.$login.f.deps,
|
|
89
|
+
f_zoneid: self.$login.f.zoneid,
|
|
90
|
+
f_zones: self.$login.f.zones
|
|
91
|
+
}
|
|
92
|
+
await self.$resetpost('rs/entity/t_enable', data, {resolveMsg: '表具启用成功', rejectMsg: '表具启用失败'})
|
|
93
|
+
if (self.kaifa) {
|
|
94
|
+
let array = [{
|
|
95
|
+
f_user_id: self.row.f_userfiles_id,
|
|
96
|
+
f_alias: self.row.f_alias,
|
|
97
|
+
f_userinfo_id: self.row.f_userinfo_id,
|
|
98
|
+
f_orgname: self.$login.f.orgs,
|
|
99
|
+
f_orgid: self.$login.f.orgid,
|
|
100
|
+
f_meternumber: self.row.f_meternumber
|
|
101
|
+
}]
|
|
102
|
+
// await self.$resetpost('rs/logic/iot_instructUpdateAndDelect',
|
|
103
|
+
// {
|
|
104
|
+
// data: {
|
|
105
|
+
// data1: {
|
|
106
|
+
// f_apply_type: '阀门控制',
|
|
107
|
+
// userid: array,
|
|
108
|
+
// nowDate: new Date(),
|
|
109
|
+
// f_apply_value: '开阀',
|
|
110
|
+
// f_apply_beizhu: '表具停用自动开阀',
|
|
111
|
+
// f_apply_operator: self.$login.f.name
|
|
112
|
+
// },
|
|
113
|
+
// data2: {
|
|
114
|
+
// userid: array,
|
|
115
|
+
// instructtype: '阀门控制',
|
|
116
|
+
// isOpen: '开阀',
|
|
117
|
+
// instructTitle: '手动开阀',
|
|
118
|
+
// f_instruct_state: '待发送',
|
|
119
|
+
// inputtor: self.$login.f.name
|
|
120
|
+
// }
|
|
121
|
+
// }
|
|
122
|
+
// }).then(res => {
|
|
123
|
+
// console.log(res)
|
|
124
|
+
// let sql = `update t_userfiles set f_network_valve = 0 where f_userfiles_id = '${self.row.f_userfiles_id}'`
|
|
125
|
+
// self.$resetpost('rs/logic/runSQL', {sql: sql}, {resolveMsg: '操作成功', rejectMsg: '操作失败'})
|
|
126
|
+
// })
|
|
127
|
+
}
|
|
128
|
+
self.$dispatch('success')
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
export default {
|
|
132
|
+
title: '启用管理',
|
|
133
|
+
props: ['row'],
|
|
134
|
+
data () {
|
|
135
|
+
return {
|
|
136
|
+
model: {
|
|
137
|
+
},
|
|
138
|
+
select: {
|
|
139
|
+
f_date: '',
|
|
140
|
+
f_reason: ''
|
|
141
|
+
},
|
|
142
|
+
reason: this.$appdata.getParam('启用原因'),
|
|
143
|
+
disable: {},
|
|
144
|
+
kaifa: false
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
ready () {
|
|
148
|
+
this.deactivatedReason()
|
|
149
|
+
},
|
|
150
|
+
methods: {
|
|
151
|
+
changeisuse (val) {
|
|
152
|
+
if (val) {
|
|
153
|
+
this.kaifa = true
|
|
154
|
+
} else {
|
|
155
|
+
this.kaifa = false
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
// 查询停用原因
|
|
159
|
+
async deactivatedReason () {
|
|
160
|
+
let data = {
|
|
161
|
+
tablename: 't_disable',
|
|
162
|
+
condition: `id = (select max(id) from t_disable where f_userfiles_id = '${this.row.f_userfiles_id}')`
|
|
163
|
+
}
|
|
164
|
+
let res = await this.$resetpost('rs/sql/saleSingleTable', {data: data}, {resolveMsg: null, rejectMsg: '获取上次停用原因失败'})
|
|
165
|
+
this.disable = res.data[0]
|
|
166
|
+
},
|
|
167
|
+
confirm () {
|
|
168
|
+
meterEnable(this, this.model, this.row)
|
|
169
|
+
// this.$LogicService.meterEnable(this.model, this.row)
|
|
170
|
+
// .then(
|
|
171
|
+
// (res) => this.$dispatch('success', '表具启用', this.row, res)
|
|
172
|
+
// ).catch(
|
|
173
|
+
// (error) => {
|
|
174
|
+
// if (error.state === 603) {
|
|
175
|
+
// this.$error('重复提交')
|
|
176
|
+
// return
|
|
177
|
+
// }
|
|
178
|
+
// this.$dispatch('error', '表具启用', this.row, error)
|
|
179
|
+
// }
|
|
180
|
+
// )
|
|
181
|
+
},
|
|
182
|
+
clean () {
|
|
183
|
+
this.$dispatch('refresh')
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
</script>
|
|
188
|
+
|
|
189
|
+
<style>
|
|
190
|
+
</style>
|
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
<button v-if="row.f_meter_type.includes('物联网表')"
|
|
174
174
|
class="button_search" type="button" @click="openUser">开户
|
|
175
175
|
</button>
|
|
176
|
-
<button v-if="row.f_meter_type.includes('物联网表') && valveLimit
|
|
176
|
+
<button v-if="row.f_meter_type.includes('物联网表') && valveLimit"
|
|
177
177
|
class="button_search" type="button" @click="valvecontrol">开关阀
|
|
178
178
|
</button>
|
|
179
179
|
<button v-if="row.f_meter_type.includes('物联网表') && autoValveLimit"
|
|
@@ -24,4 +24,8 @@ export default function () {
|
|
|
24
24
|
Vue.component('meter-message', (resolve) => { require(['./MeterMessage.vue'], resolve) })
|
|
25
25
|
// 换表
|
|
26
26
|
Vue.component('change-meter', (resolve) => { require(['./newchangemeter/ChangeMeter.vue'], resolve) })
|
|
27
|
+
// 表具停用
|
|
28
|
+
Vue.component('disable-manage', (resolve) => { require(['./MeterDisable/DisableManage'], resolve) })
|
|
29
|
+
// 表具启用
|
|
30
|
+
Vue.component('enable-manage', (resolve) => { require(['./MeterEnable/EnableManage'], resolve) })
|
|
27
31
|
}
|
package/src/main.js
CHANGED
|
@@ -2,7 +2,7 @@ import Vue from 'vue'
|
|
|
2
2
|
import all from 'vue-client/src/all'
|
|
3
3
|
import App from './App'
|
|
4
4
|
import system from 'system-clients/src/system'
|
|
5
|
-
import FilialeSale from './filiale/
|
|
5
|
+
import FilialeSale from './filiale/qingtongxia/sale'
|
|
6
6
|
import sale from './sale'
|
|
7
7
|
import address from 'address-client/src/address'
|
|
8
8
|
import ldap from 'ldap-clients/src/ldap'
|