2c28a99b by xukangle

fix

1 parent 39fc4c42
......@@ -458,7 +458,8 @@ const tablePageChange = (info) => {
getTableData();
};
const formItems = ref([{
const formItems = ref([
{
label: '资产名称',
type: 'select',
placeholder: '请选择',
......@@ -472,19 +473,29 @@ const formItems = ref([{
},
visible: true,
required: true
}, {
},
{
label: '附件上传',
tip: '支持格式:.doc .docx .rar',
tip: '支持格式:xls .xlsx .doc .docx .rar .zip',
type: 'upload-file',
accept: '.xls, .xlsx, .doc, .docx, .rar, .zip',
templateUrl: 'auto',
templateClick: () => {
const link = document.createElement('a');
link.href = "/files/数据质量评价.docx";
link.download = '数据质量评价.docx';
document.body.appendChild(link);
link.click();
link.remove();
},
required: true,
accept: '.doc, .docx, .rar, .png',
block: true,
visible: true,
default: [],
templateUrl: null,
field: 'costAssessmentFile',
},
// 质量评分 type: input
{
},
// 质量评分 type: input
{
label: '质量评分',
type: 'input',
focusValue: true,
......@@ -496,9 +507,9 @@ const formItems = ref([{
required: true,
block: false,
visible: false
},
// 评估时间范围
{
},
// 评估时间范围
{
label: "数据时间范围",
type: "date-picker",
field: "evaluationRange",
......@@ -507,9 +518,9 @@ const formItems = ref([{
clearable: true,
required: true,
visible: false
},
//
{
},
//
{
label: '质量评估结果',
type: 'textarea',
placeholder: '请输入质量评估结果',
......@@ -521,8 +532,8 @@ const formItems = ref([{
clearable: true,
required: true,
visible: false
},
{
},
{
label: '质量报告上传',
tip: '支持格式:pdf,单个文件不能超过200MB ',
type: 'upload-file',
......@@ -533,8 +544,7 @@ const formItems = ref([{
templateUrl: null,
field: 'evaluationFile',
visible: false
},
},
]);
const formRules = ref({
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!