update 企标稽查流程-预览文件

This commit is contained in:
danshihao
2023-12-12 21:08:31 +08:00
parent 1d01f1f12c
commit 052e0448c6
@@ -27,7 +27,8 @@
<!-- 标准内容或要求 -->
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" :label="$t('workCenter.esInspectionProcess.standardContentOrDemand')">
<a-input :placeholder="$t('pleaseEnter') + $t('workCenter.esInspectionProcess.standardContentOrDemand')"
:maxLength="50"
:maxLength="500"
type="textarea"
@change="event => event.target.value = event.target.value.trim()"
v-decorator.trim="[ 'requirement', validatorRules.standardContentOrDemand ]" />
</a-form-item>
@@ -107,7 +108,7 @@ export default {
// 后端获取预览文件
getFileByInspectId({ inspectId: data.inspectId }).then(res => {
if (res.success) {
this.handlePreview(res.result.id)
this.handlePreview(res.result)
}
}).catch(err => {
console.log(err)
@@ -119,7 +120,7 @@ export default {
// 后端获取预览文件
getFileByInspectId({ inspectId: data.inspectId }).then(res => {
if (res.success) {
this.handlePreview(res.result.id)
this.handlePreview(res.result)
}
}).catch(err => {
console.log(err)