|
|
@@ -283,7 +283,12 @@
|
|
|
showOverflowTooltip: true,
|
|
|
minWidth: 110,
|
|
|
formatter: (row) => {
|
|
|
- return this.getDictValue('记录规则报工类型', row.reportWorkType);
|
|
|
+ return this.getDictValue(
|
|
|
+ this.$route.path == '/releaseRules/experimentReleaseRules'
|
|
|
+ ? '实验报工类型'
|
|
|
+ : '记录规则报工类型',
|
|
|
+ row.reportWorkType
|
|
|
+ );
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
@@ -293,7 +298,12 @@
|
|
|
showOverflowTooltip: true,
|
|
|
minWidth: 110,
|
|
|
formatter: (row) => {
|
|
|
- return this.getDictValue('记录规则类型', row.classify);
|
|
|
+ return this.getDictValue(
|
|
|
+ this.$route.path == '/releaseRules/experimentReleaseRules'
|
|
|
+ ? '实验规则类型'
|
|
|
+ : '记录规则类型',
|
|
|
+ row.classify
|
|
|
+ );
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
@@ -304,7 +314,9 @@
|
|
|
minWidth: 110,
|
|
|
formatter: (row) => {
|
|
|
return this.getDictValue(
|
|
|
- '记录表模板样式',
|
|
|
+ this.$route.path == '/releaseRules/experimentReleaseRules'
|
|
|
+ ? '实验模板样式'
|
|
|
+ : '记录表模板样式',
|
|
|
row.recordTemplateStyle
|
|
|
);
|
|
|
}
|