@nstc-business/imes 1.0.6 → 1.0.7

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/README.md CHANGED
@@ -12,6 +12,7 @@ import calculateDetailDialog from "@nstc-business/imes/src/components/calculateD
12
12
  <calculateDetailDialog ref="calculateDetailDialog"></calculateDetailDialog>
13
13
  this.$refs.calculateDetailDialog.open({
14
14
  modelId: '476cfddfec584e3ab5ae53719ff03819',
15
- logId: '9ed289ff9e4c46f99df7f58172011d7b'
15
+ logId: '9ed289ff9e4c46f99df7f58172011d7b',
16
+ showModelInfo: true // 是否显示模型信息
16
17
  });
17
18
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nstc-business/imes",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "private": false,
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -7,7 +7,7 @@
7
7
  max-dialog
8
8
  :destroy-on-open="true"
9
9
  >
10
- <calculate-detail :logId="logId" :modelId="modelId"/>
10
+ <calculate-detail :logId="logId" :modelId="modelId" :showModelInfo="showModelInfo" />
11
11
  </Dialog>
12
12
  </template>
13
13
 
@@ -22,7 +22,8 @@ export default {
22
22
  return {
23
23
  visible: false,
24
24
  logId: '',
25
- modelId: ''
25
+ modelId: '',
26
+ showModelInfo: true
26
27
  }
27
28
  },
28
29
  methods: {
@@ -30,6 +31,7 @@ export default {
30
31
  this.visible = true
31
32
  this.logId = value.logId
32
33
  this.modelId = value.modelId
34
+ this.showModelInfo = value.showModelInfo
33
35
  }
34
36
  }
35
37
  }