sale-client 4.3.75 → 4.3.76

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
File without changes
@@ -0,0 +1,2 @@
1
+ #Wed May 13 15:19:48 CST 2026
2
+ gradle.version=5.2.1
File without changes
@@ -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, V4URL ] = ['https://222.83.114.229:31785', 'https://222.83.114.229:31467/']
5
5
  var merge = require('webpack-merge')
6
6
  var baseConfig = require('./webpack.dev.conf')
7
7
  var devConfig = {
@@ -50,20 +50,26 @@ var devConfig = {
50
50
  '/rs/pay': {
51
51
  target: 'http://localhost:8080'
52
52
  },
53
- '/api/af-revenue': {
54
- pathRewrite: {
55
- '/api/af-revenue': '/'
56
- },
57
- target: "http://localhost:9026"
58
- },
53
+ // '/api/af-revenue': {
54
+ // pathRewrite: {
55
+ // '/api/af-revenue': '/'
56
+ // },
57
+ // target: "http://localhost:9026"
58
+ // },
59
59
  '/api': {
60
- target: serverRul
60
+ target: V4URL,
61
+ secure: false,
62
+ changeOrigin: true,
61
63
  },
62
64
  '/resource': {
63
- target: serverRul
65
+ target: V4URL,
66
+ secure: false,
67
+ changeOrigin: true
64
68
  },
65
69
  '/rs': {
66
- target: serverRul
70
+ target: V4URL,
71
+ secure: false,
72
+ changeOrigin: true,
67
73
  }
68
74
  }
69
75
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "4.3.75",
3
+ "version": "4.3.76",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -0,0 +1,33 @@
1
+ <template>
2
+ <img-self :src="imageUrl" :width="width" :height="height" v-if="imageUrl"></img-self>
3
+ </template>
4
+
5
+ <script>
6
+ export default {
7
+ props: {
8
+ path: {
9
+ type: String,
10
+ required: true
11
+ },
12
+ width: [Number, String],
13
+ height: [Number, String]
14
+ },
15
+ data () {
16
+ return {
17
+ imageUrl: ''
18
+ }
19
+ },
20
+ ready () {
21
+ this.loadImage(this.path)
22
+ },
23
+ methods: {
24
+ loadImage (path) {
25
+ this.$resetpost('api/af-telephone/logic/getImageFileLogic', {
26
+ data: { filename: path }
27
+ },{newly: true}).then((res) => {
28
+ this.imageUrl = res.data.filepath
29
+ })
30
+ }
31
+ }
32
+ }
33
+ </script>
@@ -359,15 +359,15 @@
359
359
  </td>
360
360
  <td style="text-align:center">
361
361
  <img-self :src="row.f_handplan_image" v-if="row.f_handplan_image" :width="100" :height="100"></img-self>
362
- <img-self :src="`api/af-revenue/file/image/${row.f_notified_path}`" v-if="row.f_notified_path" :width="100" :height="100"></img-self>
362
+ <async-img :path="`${row.f_notified_path}`" v-if="row.f_notified_path" :width="100" :height="100"></async-img>
363
363
  </td>
364
364
  <td style="text-align:center">
365
365
  <img-self :src="row.f_handplan_image" v-if="row.f_handplan_image" :width="100" :height="100"></img-self>
366
- <img-self :src="`api/af-revenue/file/image/${row.f_second_notified_path}`" v-if="row.f_second_notified_path" :width="100" :height="100"></img-self>
366
+ <async-img :path="`${row.f_second_notified_path}`" v-if="row.f_second_notified_path" :width="100" :height="100"></async-img>
367
367
  </td>
368
368
  <td style="text-align:center">
369
369
  <img-self :src="row.f_sign_path" v-if="row.f_sign_path.indexOf('http:') > -1" :width="100" :height="100"></img-self>
370
- <img-self :src="`api/af-revenue/file/image/${row.f_sign_path}`" v-else :width="100" :height="100"></img-self>
370
+ <async-img :path="`${row.f_sign_path}`" v-else :width="100" :height="100"></async-img>
371
371
  </td>
372
372
 
373
373
  <td style="text-align: center;">{{ row.f_actualtablebase }}</td>
@@ -444,6 +444,7 @@ import Vue from 'vue'
444
444
  import AppData from '../../stores/AppData'
445
445
  import * as Util from '../../Util'
446
446
  import co from 'co'
447
+ import AsyncImg from './AsyncImg.vue';
447
448
 
448
449
  let loadParamGem = async function (self) {
449
450
  await self.$LoadParams.loadParam(self.f_filialeid)
@@ -468,6 +469,7 @@ let modifyGen = function* (self, row, url) {
468
469
  }
469
470
 
470
471
  export default {
472
+ components: {AsyncImg},
471
473
  title: '卡表抄表',
472
474
  data () {
473
475
  return {
@@ -10,7 +10,8 @@ export default function () {
10
10
  Vue.component('no-card-meter-center', (resolve) => { require(['./NoCardMeterCenter.vue'], resolve) })
11
11
  // 换表
12
12
  Vue.component('change-meter', (resolve) => { require(['./ChangeMeter.vue'], resolve) })
13
-
13
+ // 换表
14
+ Vue.component('async-img', (resolve) => { require(['./AsyncImg.vue'], resolve) })
14
15
  // 无卡收费
15
16
  Vue.component('sale-userinfo', (resolve) => { require(['./Userinfo.vue'], resolve) })
16
17
  // 待处理报警/已处理报警
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/liaoyuan/sale'
5
+ import FilialeSale from './filiale/dexin/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'