vue2-client 1.14.2 → 1.14.4

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,6 +1,6 @@
1
1
  {
2
2
  "name": "vue2-client",
3
- "version": "1.14.2",
3
+ "version": "1.14.4",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -91,16 +91,14 @@ export default {
91
91
  initView () {
92
92
  },
93
93
  toEdit (item) {
94
- parseConfig(item, 'SIMPLE_FORM', this.serviceName, this.env === 'dev').then(res => {
95
- this.formObj = res
96
- const modifyModelData = { data: this.modifyModelData[res.groupName] }
97
- this.$refs.xAddForm.init({
98
- businessType: '修改',
99
- title: '参数项',
100
- formItems: res.formJson,
101
- serviceName: this.serviceName,
102
- modifyModelData: modifyModelData
103
- })
94
+ this.formObj = item
95
+ const modifyModelData = { data: this.modifyModelData[item.groupName] }
96
+ this.$refs.xAddForm.init({
97
+ businessType: '修改',
98
+ title: '参数项',
99
+ formItems: item.formJson,
100
+ serviceName: this.serviceName,
101
+ modifyModelData: modifyModelData
104
102
  })
105
103
  },
106
104
  onClose () {
@@ -158,6 +158,7 @@
158
158
  <x-report
159
159
  v-if="expandedGrid"
160
160
  :env="env"
161
+ ref="report"
161
162
  :isWidget="true"
162
163
  :use-oss-for-img="false"
163
164
  :config-name="expandedGrid"