@nstc-business/imes 1.0.15 → 1.0.16

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": "@nstc-business/imes",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "private": false,
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -152,12 +152,9 @@ export function digitsCalc(row, modelWrap) {
152
152
  return modelWrap ? modelWrap.digits : 2
153
153
  }
154
154
 
155
- /** 指标得分展示 */
155
+ /** 指标得分 / 模型指标系数数值展示(始终用 result,字段值只在「指标值」列展示) */
156
156
  export function resultByShowStyle(row, modelWrap) {
157
157
  let val = ''
158
- if (row.sourceType === 5 && row.showValueType === 1) {
159
- return row.fieldValue
160
- }
161
158
  const digits = digitsCalc(row, modelWrap)
162
159
  if (row.showStyle === 2) {
163
160
  val =
package/src/index.js CHANGED
@@ -19,7 +19,7 @@ if (typeof window !== 'undefined' && window.Vue) {
19
19
  }
20
20
 
21
21
  export default {
22
- version: '1.0.15',
22
+ version: '1.0.16',
23
23
  install,
24
24
  ModelCalculate,
25
25
  MeasureCalc,