|
|
@@ -19,7 +19,7 @@
|
|
|
<span class="c-grid-form__label required">类型</span>
|
|
|
<schema-select
|
|
|
v-model="currObj.productTypeId"
|
|
|
- placeholder="请选择产品类型"
|
|
|
+ placeholder="请选择屏幕类型"
|
|
|
:disabled="!isAdd"
|
|
|
:schema="productTypeSelectSchema"
|
|
|
/>
|
|
|
@@ -114,7 +114,7 @@ export default {
|
|
|
{ key: 'productTypeId', type: 'select', placeholder: '全部类型', ...productTypeSelectSchema }
|
|
|
],
|
|
|
cols: [
|
|
|
- { prop: 'name', label: '产品名称', 'min-width': 60 },
|
|
|
+ { prop: 'name', label: '配置名称', 'min-width': 60 },
|
|
|
{ prop: 'productTypeName', label: '类型', 'min-width': 60 },
|
|
|
{ prop: 'resolutionRatio', label: '分辨率', 'min-width': 60 },
|
|
|
{ label: '分割器', type: 'tag', width: 100, render ({ fpga }) {
|
|
|
@@ -137,7 +137,7 @@ export default {
|
|
|
return this.group.path
|
|
|
},
|
|
|
dialogTitle () {
|
|
|
- return this.isAdd ? `新增产品` : `编辑产品`
|
|
|
+ return this.isAdd ? `新增屏幕配置` : `编辑屏幕配置`
|
|
|
},
|
|
|
productTypes () {
|
|
|
return this.isAdd ? this.typeOptions : [{ value: this.currObj.productTypeId, label: this.$currObj.productTypeName }]
|
|
|
@@ -170,14 +170,14 @@ export default {
|
|
|
if (!this.currObj.name) {
|
|
|
this.$message({
|
|
|
type: 'warning',
|
|
|
- message: '产品名称不能为空'
|
|
|
+ message: '配置名称不能为空'
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
if (!this.currObj.productTypeId) {
|
|
|
this.$message({
|
|
|
type: 'warning',
|
|
|
- message: '请选择产品分类'
|
|
|
+ message: '请选择屏幕类型'
|
|
|
})
|
|
|
return
|
|
|
}
|