sale-client 4.2.48 → 4.2.49

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.
File without changes
@@ -1,2 +1,2 @@
1
- #Wed Sep 04 10:25:06 CST 2024
1
+ #Sat Sep 13 14:19:54 CST 2025
2
2
  gradle.version=5.2.1
Binary file
@@ -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://192.168.50.67:31567/', 'http://192.168.50.67:31567/']
4
+ const [ serverRul, localUrl ] = ['http://123.57.3.66:31467/', 'http://123.57.3.66:31467/']
5
5
  var merge = require('webpack-merge')
6
6
  var baseConfig = require('./webpack.dev.conf')
7
7
  var devConfig = {
@@ -50,14 +50,23 @@ var devConfig = {
50
50
  '/rs/pay': {
51
51
  target: 'http://localhost:8080'
52
52
  },
53
- '/api/af-revenue': {
53
+ // '/api/af-revenue': {
54
+ // pathRewrite: {
55
+ // '/api/af-revenue': '/af-revenue'
56
+ // },
57
+ // target: "http://localhost:8080"
58
+ // },
59
+ '/api/af-revenue/logic/getOperBtns': {
54
60
  pathRewrite: {
55
- '/api/af-revenue': '/af-revenue'
61
+ '/api/af-revenue': '/rs'
56
62
  },
57
- target: "http://localhost:8080"
63
+ target: 'http://127.0.0.1:8080'
58
64
  },
59
65
  '/api': {
60
- target: serverRul
66
+ target: serverRul,
67
+ pathRewrite: {
68
+ '/api/af-revenue': '/singlepage/rs'
69
+ }
61
70
  },
62
71
  '/rs': {
63
72
  target: serverRul
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "4.2.48",
3
+ "version": "4.2.49",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -707,9 +707,9 @@ export default {
707
707
  })
708
708
  this.communitylist=redata
709
709
  },
710
- async communityChange(val){
710
+ async communityChange (val) {
711
711
  console.log(val)
712
- if(val){
712
+ if (val && val !== '[object Event]') {
713
713
  await this.initareas(` f_filialeid = '${this.f_filialeids}' and f_community_id ='${val}' `)
714
714
  if(this.model.f_residential_area_id){
715
715
  // if (this.findbyid(this.areaslist,this.model.f_residential_area_id)) {
@@ -722,11 +722,6 @@ export default {
722
722
  // }
723
723
 
724
724
  }
725
- // if(this.model.f_pcd_id.length==0){
726
- // if (this.findbyid(this.streetslist,this.model.f_street_id)) {
727
- // this.model.f_pcd_id=this.findbyid(this.streetslist,this.model.f_street_id).f_pcd_id
728
- // }
729
- // }
730
725
  }
731
726
  this.$resetValidation()
732
727
  },
@@ -700,9 +700,9 @@ let loadParamGem = async function (self) {
700
700
  await this.initcommunity(` f_filialeid = '${this.f_filialeids}' and f_street_id ='${val}' `)
701
701
  }
702
702
  },
703
- async communityChange(val){
703
+ async communityChange (val) {
704
704
  console.log(val)
705
- if(val){
705
+ if (val && val !== '[object Event]') {
706
706
  await this.initareas(` f_filialeid = '${this.f_filialeids}' and f_community_id ='${val}' `)
707
707
  }
708
708
  }
@@ -0,0 +1,110 @@
1
+ <template>
2
+ <modal :show.sync="modalShow" backdrop="false" width="50%" title="提示信息">
3
+ <article slot="modal-body">
4
+ <div style="width:98%;margin: auto" v-show="showInformation">
5
+ <p>{{warninginfo.data.msgData}}</p>
6
+ <div style="font-size: 15px;padding: 10px">
7
+ <span style="float: right">
8
+ <button class="button_search" v-show="!warninginfo.data.state.info" @click="operational('files_complete')" style="width: max-content;">完善信息</button>
9
+ <button class="button_search" v-show="warninginfo.data.state.blacklist&&!warninginfo.data.state.dibao" @click="operational('basic-living')" style="width: max-content;">低保续保</button>
10
+ <button class="button_search" v-show="warninginfo.data.state.blacklist&&!warninginfo.data.state.dibao && warninginfo.data.state.dibaoend" @click="operational('stop-basic-living')" style="width: max-content;">停止续保</button>
11
+ <button class="button_search" v-show="!(!warninginfo.data.state.dibao&&warninginfo.data.state.dibaoend) && warninginfo.canCharge" @click="success()">确认</button>
12
+ <button class="button_search" v-show="warninginfo.data.state.hasOwnProperty('chargeAccount') && warninginfo.data.state.chargeAccount === false" @click="goToAccount()">去挂账管理</button>
13
+ </span>
14
+ </div>
15
+ <p>{{authorityInformation}}</p>
16
+ </div>
17
+ <div style="width:98%;margin: auto" v-show="!showInformation" >
18
+ <route v-ref:route @close="close" @success="success" v-show="!showInformation" :data="row"></route>
19
+ </div>
20
+ </article>
21
+ <footer slot="modal-footer" class="modal-footer" style="text-align: center;border: 0">
22
+ <!--如果想忽略到期信息,modal的值设为null-->
23
+ <!-- <button class="button_clear" @click="ignore" v-if="basicLiving">忽略</button>-->
24
+ </footer>
25
+ </modal>
26
+ </template>
27
+ <script>
28
+ let initGen = async function (self) {
29
+ if(self.warninginfo){
30
+ if (!self.warninginfo.data.state.info && !self.warninginfo.data.state.blacklist && !self.warninginfo.data.state.dibao) {
31
+ self.authorityInformation = '您没有相关的业务操作权限, 请联系管理员!!'
32
+ }
33
+ }
34
+
35
+ }
36
+
37
+ export default {
38
+ title: '收费弹出框',
39
+ props: {
40
+ // 动态属性表数据
41
+ warninginfo:{
42
+ type:Object
43
+ },
44
+ // 双击用户的数据
45
+ row: {
46
+ type: Object
47
+ },
48
+ modalShow: {
49
+ type: Boolean
50
+ }
51
+ },
52
+ data () {
53
+ return {
54
+ showInformation: true,
55
+ informationtype: '',
56
+
57
+ // 终止低保户 必选低保户到期
58
+ stopBasicLiving: false,
59
+
60
+ // 低保户到期提醒时间
61
+ dibao_remind: this.$appdata.getSingleValue('低保快到期提醒') ? this.$appdata.getSingleValue('低保快到期提醒') : 0,
62
+ // 低保户权限
63
+ basicLivingAuthority: false,
64
+ // 档案完善权限
65
+ filesCompleteAuthority: true
66
+ }
67
+ },
68
+ methods: {
69
+ goToAccount () {
70
+ console.log('点击了去挂帐管理')
71
+ if (window.parent !== window) {
72
+ window.parent.postMessage({type: 'route', path:'/duizhang/credit'}, '*')
73
+ this.close()
74
+ }
75
+ },
76
+ close () {
77
+ this.$emit('close')
78
+ },
79
+ async success (val) {
80
+
81
+ // 如果所有提示信息均处理,获取改户数据,进入收费操作
82
+ if (!this.warninginfo.data.info && !this.warninginfo.data.blacklist && !this.warninginfo.data.dibao) {
83
+ this.showInformation = false
84
+ let data = await this.$resetpost('api/af-revenue/sql/sale_getUser', {data: {condition: `1=1 and f_userinfo_code = '${this.row.f_userinfo_code}' and u.f_filialeid = '${this.$login.f.orgid}'`}}, {resolveMsg: '', rejectMsg: ''})
85
+ this.$emit('modalsuccess', data.data[0])
86
+ } else { // 没有处理完,显示提示信息
87
+ this.showInformation = true
88
+ }
89
+ },
90
+ operational (val) {
91
+ this.showInformation = false
92
+ this.$refs.route.init(val, {data: this.row})
93
+ }
94
+ },
95
+ ready () {
96
+ initGen(this)
97
+ console.log('charge-modal', this.warninginfo.data.state)
98
+ }
99
+ // watch: {
100
+ // 'modalShow' (val) {
101
+ // this.modal = val
102
+ // }
103
+ // }
104
+ }
105
+ </script>
106
+ <style>
107
+ .basic-main {
108
+ width: 79%;
109
+ }
110
+ </style>
@@ -17,4 +17,6 @@ export default function () {
17
17
  Vue.component('iot-refund', (resolve) => { require(['./IOTRefund'], resolve) })
18
18
  // 用户基本信息test
19
19
  Vue.component('file-user-essential-info', (resolve) => { require(['./UserEssentialInfoTest'], resolve) })
20
+ // 售气收费 --弹出框
21
+ Vue.component('charge-modal', (resolve) => { require(['./ChargeModal'], resolve) })
20
22
  }
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/yuncheng/sale'
5
+ import FilialeSale from './filiale/qingjian/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'