sale-client 4.0.67-preview → 4.0.68-preview

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.
@@ -19,12 +19,6 @@ var devConfig = {
19
19
  children: false // 不输出子模块构建信息
20
20
  },
21
21
  proxy: {
22
- '/api/af-revenue/sql/getAuditMachineHand': {
23
- pathRewrite: {
24
- '/api/af-revenue/sql/getAuditMachineHand': '/rs/sql/getAuditMachineHand'
25
- },
26
- target: 'http://localhost:8080/'
27
- },
28
22
  '/api/af-revenue/logic': {
29
23
  // pathRewrite: {
30
24
  // '/api/af-revenue/logic': '/logic'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "4.0.67-preview",
3
+ "version": "4.0.68-preview",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -0,0 +1,77 @@
1
+ <template>
2
+ <div class="flex" :model="model">
3
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
4
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
5
+ <div class="row">
6
+ <ul class="nav nav-tabs">
7
+ <li class="active"><a href="#">生产厂家</a></li>
8
+ </ul>
9
+ </div>
10
+ </div>
11
+ </criteria>
12
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
13
+ <template partial='head'>
14
+ <tr>
15
+ <th>
16
+ <nobr>序号</nobr>
17
+ </th>
18
+ <th>
19
+ <nobr>卡品牌</nobr>
20
+ </th>
21
+ </tr>
22
+ </template>
23
+ <template partial='body'>
24
+ <tr>
25
+ <td style="text-align:center">{{$index + 1}}</td>
26
+ <td style="text-align:center">{{row.name}}</td>
27
+ </tr>
28
+ </template>
29
+ </data-grid>
30
+ </div>
31
+ </template>
32
+
33
+ <script>
34
+ import {HttpResetClass} from 'vue-client'
35
+ export default {
36
+ data () {
37
+ return {
38
+ cardTools: [],
39
+ f_orgid: '',
40
+ model: {rows: []}
41
+ }
42
+ },
43
+ props: {
44
+ row: {},
45
+ ispartial: false,
46
+ f_filialeid: {
47
+ type: String
48
+ }
49
+ },
50
+ ready () {
51
+ this.search()
52
+ },
53
+ methods: {
54
+ async gettoolcards () {
55
+ try {
56
+ let http = new HttpResetClass()
57
+ let res = await http.load('GET', `rs/vue/toolcards.json`, {}, {resolveMsg: null, rejectMsg: null})
58
+ this.model.rows = res.data.value ? res.data.value : res.data
59
+ } catch (e) { }
60
+ },
61
+ search () {
62
+ this.gettoolcards()
63
+ },
64
+ getorg (val) {
65
+ this.f_orgid = this.$login.convertToIn(val)
66
+ this.f_filialeid = val[0]
67
+ }
68
+ },
69
+ watch: {
70
+ 'model.rows.length' (val) {
71
+ if (val === 1) {
72
+ this.$refs.grid.select(this.model.rows[0])
73
+ }
74
+ }
75
+ }
76
+ }
77
+ </script>
@@ -7,4 +7,6 @@ export default function () {
7
7
  Vue.component('file-meter-info-new', (resolve) => { require(['./FilesManageNew/MeterinfoTest'], resolve) })
8
8
  // 用户基本信息test
9
9
  Vue.component('file-user-essential-info-new', (resolve) => { require(['./FilesManageNew/UserEssentialInfoTest'], resolve) })
10
+ // 工具卡制
11
+ Vue.component('tool-card-list', (resolve) => { require(['./ToolCardList'], resolve) })
10
12
  }