sale-client 4.3.95 → 4.3.97
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 +13 -13
- package/package.json +1 -1
- package/src/components/common/userinfo_detail/iot_detail/QueryInstruct.vue +3 -16
- package/src/filiale/jinhong/CardList.vue +1 -0
- package/src/filiale/jinhong/InsuranceChangeDetail.vue +79 -0
- package/src/filiale/jinhong/insuranceGuanL.vue +1 -1
- package/src/filiale/jinhong/sale.js +2 -0
- package/src/main.js +1 -1
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 ] = ['http://
|
|
4
|
+
const [ serverRul, localUrl ] = ['http://123.180.154.5:31467/', 'http://localhost:9026']
|
|
5
5
|
var merge = require('webpack-merge')
|
|
6
6
|
var baseConfig = require('./webpack.dev.conf')
|
|
7
7
|
var devConfig = {
|
|
@@ -25,12 +25,12 @@ var devConfig = {
|
|
|
25
25
|
// },
|
|
26
26
|
// target: localUrl
|
|
27
27
|
// },
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
28
|
+
// '/api/af-revenue/logic': {
|
|
29
|
+
// pathRewrite: {
|
|
30
|
+
// '/api/af-revenue/logic': '/logic'
|
|
31
|
+
// },
|
|
32
|
+
// target: localUrl
|
|
33
|
+
// },
|
|
34
34
|
// '/api/af-revenue/file': {
|
|
35
35
|
// // pathRewrite: {
|
|
36
36
|
// // '/api/af-revenue/file': '/file'
|
|
@@ -41,12 +41,12 @@ var devConfig = {
|
|
|
41
41
|
//
|
|
42
42
|
// target: 'http://410663id1ia4.vicp.fun'
|
|
43
43
|
// },
|
|
44
|
-
'/api/af-revenue/sql': {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
},
|
|
44
|
+
// '/api/af-revenue/sql': {
|
|
45
|
+
// pathRewrite: {
|
|
46
|
+
// '/api/af-revenue/sql': '/sql'
|
|
47
|
+
// },
|
|
48
|
+
// target: localUrl
|
|
49
|
+
// },
|
|
50
50
|
'/rs/pay': {
|
|
51
51
|
target: 'http://localhost:8080'
|
|
52
52
|
},
|
package/package.json
CHANGED
|
@@ -330,22 +330,9 @@ export default {
|
|
|
330
330
|
this.handcental2 = true
|
|
331
331
|
this.cancelid = megrow.id
|
|
332
332
|
},
|
|
333
|
-
confirmcenta () {
|
|
334
|
-
let
|
|
335
|
-
|
|
336
|
-
f_cancel_inputtor_id: this.$login.f.id, // 撤销人id
|
|
337
|
-
f_cancel_inputtor: this.$login.f.name, // 撤销人姓名
|
|
338
|
-
f_instruct_state: '取消发送',
|
|
339
|
-
f_comments: this.cancelreason
|
|
340
|
-
}
|
|
341
|
-
let param = {
|
|
342
|
-
tablename: 't_instruct',
|
|
343
|
-
basedata: send
|
|
344
|
-
}
|
|
345
|
-
this.$resetpost('api/af-revenue/logic/iot_saveTable', param).then(() => {
|
|
346
|
-
// this.params.rows.splice(index, 1)
|
|
347
|
-
console.log('更新成功!')
|
|
348
|
-
})
|
|
333
|
+
async confirmcenta () {
|
|
334
|
+
let sql = `update t_instruct set f_cancel_inputtor = ${this.$login.f.name}, f_cancel_inputtor_id = ${this.$login.f.id},f_comments = ${this.cancelreason},f_instruct_state = '取消发送' WHERE id = ${this.cancelid}`
|
|
335
|
+
await this.$resetpost('api/af-revenue/logic/runSQL', {sql: sql}, {resolveMsg: '操作成功', rejectMsg: '操作失败'})
|
|
349
336
|
this.handcental = false
|
|
350
337
|
this.$refs.paged.$refs.criteria.search()
|
|
351
338
|
},
|
|
@@ -123,6 +123,7 @@
|
|
|
123
123
|
<adduser-detail :data="row" v-if="row.type === '新增户档案'"></adduser-detail>
|
|
124
124
|
<gaspricechange-detail :data="row" v-if="row.type === '气价变更'"></gaspricechange-detail>
|
|
125
125
|
<userchange-detail :data="row" v-if="row.type === '档案变更'"></userchange-detail>
|
|
126
|
+
<insurance-change-detail :data="row" v-if="row.type === '修改保险记录维护'"></insurance-change-detail>
|
|
126
127
|
<changemeter-detail :data="row" v-if="row.type === '换新表' || row.type === '批量换表' || row.type === '气表清零'"></changemeter-detail>
|
|
127
128
|
<changeflowmeter-detail :data="row" v-if="row.type === '换卡控流量计'"></changeflowmeter-detail>
|
|
128
129
|
<cardoveruser-detail :data="row" v-if="row.type === '卡表超用'||row.type === '超用'"></cardoveruser-detail>
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="auto">
|
|
3
|
+
<partial-view v-ref:pv>
|
|
4
|
+
<div class="row">
|
|
5
|
+
<label class="col-sm-4">客户名称:</label>
|
|
6
|
+
<span style="padding:0;text-align:left" class="col-sm-8" >{{model[0].f_user_name}}</span>
|
|
7
|
+
<!-- <label class = "col-sm-4">操作人:</label>
|
|
8
|
+
<span class = "col-sm-8" style="text-align:left">{{model.f_operator}}</span> -->
|
|
9
|
+
</div>
|
|
10
|
+
<table class="table table-bordered table-condensed self-table" id="table" >
|
|
11
|
+
<thead>
|
|
12
|
+
<tr>
|
|
13
|
+
<th>更改列名</th>
|
|
14
|
+
<th>更改前</th>
|
|
15
|
+
<th>更改后</th>
|
|
16
|
+
</tr>
|
|
17
|
+
</thead>
|
|
18
|
+
<tbody v-for="row in model">
|
|
19
|
+
<tr>
|
|
20
|
+
<td>{{row.f_field_name}}</td>
|
|
21
|
+
<td>{{row.f_used_content}}</td>
|
|
22
|
+
<td>{{row.f_new_content}}</td>
|
|
23
|
+
</tr>
|
|
24
|
+
</tbody>
|
|
25
|
+
</table>
|
|
26
|
+
<div class="row">
|
|
27
|
+
<label class="col-sm-4">修改原因:</label>
|
|
28
|
+
<span style="padding:0;text-align:left" class="col-sm-8" >{{data.f_comments}}</span>
|
|
29
|
+
<!-- <label class = "col-sm-4">操作人:</label>
|
|
30
|
+
<span class = "col-sm-8" style="text-align:left">{{model.f_operator}}</span> -->
|
|
31
|
+
</div>
|
|
32
|
+
<!-- <div class="row text-center" style = "margin-top:5px">
|
|
33
|
+
<label style="padding:0" class = "col-sm-3">更改列名</label>
|
|
34
|
+
<label style="padding:0" class = " col-sm-4 font_normal_body">更改前</label>
|
|
35
|
+
<label style="padding:0" class = " col-sm-4 font_normal_body">更改后</label>
|
|
36
|
+
</div>
|
|
37
|
+
<div class="row" v-for = "row in model" style = "word-break:break-all;">
|
|
38
|
+
<span style="padding:0" class = " col-sm-4 ">{{row.f_field_name}}</span>
|
|
39
|
+
<span style="padding:0" class = " col-sm-4 ">{{row.f_used_content}}</span>
|
|
40
|
+
<span style="padding:0" class = " col-sm-4">{{row.f_new_content}}</span>
|
|
41
|
+
</div> -->
|
|
42
|
+
</partial-view>
|
|
43
|
+
</div>
|
|
44
|
+
</template>
|
|
45
|
+
|
|
46
|
+
<script>
|
|
47
|
+
import Table from '../../components/Table'
|
|
48
|
+
export default {
|
|
49
|
+
title: '保险修改详情',
|
|
50
|
+
props: ['data'],
|
|
51
|
+
data () {
|
|
52
|
+
return {
|
|
53
|
+
model: {}
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
ready () {
|
|
57
|
+
let sql = 'userChange'
|
|
58
|
+
let condition = this.data.id
|
|
59
|
+
|
|
60
|
+
this.$info(`加载数据中..., sql:${sql}`)
|
|
61
|
+
this.$refs.pv.load('api/af-revenue/sql/insuranceGuanLChange', {data: {condition: condition}}).then((a) => {
|
|
62
|
+
this.$info(`成功获取到数据!, data:${JSON.stringify(a.data)}`)
|
|
63
|
+
this.model = a.data
|
|
64
|
+
}).catch((error) => {
|
|
65
|
+
if (error.status) {
|
|
66
|
+
this.$warn(`加载数据出错, ${JSON.stringify(error)}`)
|
|
67
|
+
return
|
|
68
|
+
}
|
|
69
|
+
throw error
|
|
70
|
+
})
|
|
71
|
+
},
|
|
72
|
+
methods: {
|
|
73
|
+
// 获取表中字段对应的中文名
|
|
74
|
+
getValue (key) {
|
|
75
|
+
return Table.data[key]
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
</script>
|
|
@@ -60,4 +60,6 @@ export default function () {
|
|
|
60
60
|
Vue.component('hand-list', (resolve) => { require(['./HandList'], resolve) })
|
|
61
61
|
// 档案完善
|
|
62
62
|
Vue.component('files-complete', (resolve) => { require(['./FilesComplete'], resolve) })
|
|
63
|
+
// 保险修改详情
|
|
64
|
+
Vue.component('insurance-change-detail', (resolve) => { require(['./InsuranceChangeDetail'], resolve) })
|
|
63
65
|
}
|
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/jinhong/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'
|