leisure-common 0.5.27 → 0.5.29

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.
@@ -25,6 +25,9 @@
25
25
  @saveData="saveForm"
26
26
  ></le-list-form>
27
27
  </template>
28
+ <template #rowBtns="{ scope }">
29
+ <!-- <le-button-audit title="审批意见" @audit="audit"> </le-button-audit> -->
30
+ </template>
28
31
  </le-list>
29
32
  </div>
30
33
  </template>
@@ -60,6 +63,7 @@ export default {
60
63
  },
61
64
  },
62
65
  ],
66
+
63
67
  formColumns: [
64
68
  { prop: "name", label: "名称" },
65
69
  { prop: "title", label: "系统标题" },
@@ -68,7 +72,10 @@ export default {
68
72
  // prop: "phone",
69
73
  // label: "地区",
70
74
  // type: "area",
71
- // attr: { level: 3 },
75
+ // attr: {
76
+ // level: 3,
77
+ // initArea: this.intd,
78
+ // },
72
79
  // event: {
73
80
  // areaChange: this.handleAreaChange,
74
81
  // },
@@ -91,11 +98,19 @@ export default {
91
98
  },
92
99
  searchParam: { phone: "" },
93
100
  status: 0, //0:详情 1:新增 2:编辑
101
+ intd: ["110000000000", "110100000000", "110101000000"],
94
102
  };
95
103
  },
96
- mounted() {
97
- // this.list();
104
+ computed: {
105
+ initARDDD() {
106
+ let ddd = [];
107
+ ddd.push("110000000000");
108
+ ddd.push("110100000000");
109
+ ddd.push("110101000000");
110
+ return ["110000000000", "110100000000", "110101000000"];
111
+ },
98
112
  },
113
+ mounted() {},
99
114
  methods: {
100
115
  list() {
101
116
  companylist().then((res) => {
@@ -124,6 +139,9 @@ export default {
124
139
  handleAreaChange(item) {
125
140
  console.log(item);
126
141
  },
142
+ audit(param) {
143
+ console.log(param);
144
+ },
127
145
  saveForm(params, callBack) {
128
146
  if (params && params.id && params.id.length > 0) {
129
147
  companyEdit(params).then((response) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "leisure-common",
3
- "version": "0.5.27",
3
+ "version": "0.5.29",
4
4
  "description": "leisure-common是京心数据在leisure-core基础上开发的一套后台管理系统基于故事的电商行业组件库,封装了大量实用的UI控件模板,方便开发者快速搭建前端应用",
5
5
  "private": false,
6
6
  "author": "北方乐逍遥(zcx7878)",
@@ -13,7 +13,7 @@
13
13
  "registry": "https://registry.npmjs.org/"
14
14
  },
15
15
  "dependencies": {
16
- "leisure-core": "^0.5.27"
16
+ "leisure-core": "^0.5.29"
17
17
  },
18
18
  "devDependencies": {}
19
19
  }