mooho-base-admin-plus 2.8.11 → 2.8.13

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mooho-base-admin-plus",
3
3
  "description": "MOOHO basic framework for admin by Vue3",
4
- "version": "2.8.11",
4
+ "version": "2.8.13",
5
5
  "author": "jinyifan <jinyifan@mooho.com.cn>",
6
6
  "license": "MIT",
7
7
  "private": false,
@@ -135,7 +135,7 @@
135
135
  ></div>
136
136
  </template>
137
137
  <template v-else-if="column.controlType === 'Tag'">
138
- <Tag size="small" :color="getTagColor(column, parseData(rowData(row, index), column.code))" :type="column.source == 'default' ? null : column.source">
138
+ <Tag :color="getTagColor(column, parseData(rowData(row, index), column.code))" :type="column.source == 'default' ? null : column.source">
139
139
  {{ showData(rowData(row, index), column) }}
140
140
  </Tag>
141
141
  </template>
@@ -37,6 +37,7 @@
37
37
  <Button
38
38
  type="warning"
39
39
  v-if="
40
+ cancelEnable &&
40
41
  $refs.form &&
41
42
  $refs.form.data &&
42
43
  $refs.form.data.application &&
@@ -157,6 +158,11 @@
157
158
  // 申请类别
158
159
  applicationTypeCode: {
159
160
  type: String
161
+ },
162
+ // 允许撤销
163
+ cancelEnable: {
164
+ type: Boolean,
165
+ default: true
160
166
  }
161
167
  },
162
168
  computed: {},
@@ -171,9 +177,9 @@
171
177
 
172
178
  if (res.data.length > 0) {
173
179
  this.page = {
174
- tableViewCode,
175
- formViewCode,
176
- showViewCode,
180
+ tableViewCode: this.tableViewCode,
181
+ formViewCode: this.formViewCode,
182
+ showViewCode: this.showViewCode,
177
183
  applicationType: res.data[0]
178
184
  };
179
185