Commit a9ab72cd by 李伟康

Merge branch 'feature/584/lwk' into 'SAAS+V5.8.4'

Feature/584/lwk

See merge request !873
2 parents 2393b38e 5b0330c8
......@@ -464,6 +464,7 @@ export default {
}
this.$set(this.infoForm.sceneFiles, index, item);
document.getElementById("fileUpload").value = "";
this.formRef.validateField("sceneFiles")
};
} else {
this.notice.errorTips("上传文件不可超过10M");
......@@ -510,6 +511,7 @@ export default {
item.name = '';
// 手动触发数组响应式更新,避免 $set 触发 baseSceneCode 深层 watcher 导致整个数组被重置
this.infoForm.sceneFiles = [...this.infoForm.sceneFiles];
this.formRef.validateField("sceneFiles")
},
filterInputVal(controlId, val) {
// 只保留数字和小数点,确保只有一个小数点
......
......@@ -431,6 +431,7 @@ export default {
.step-title {
gap: 16px;
margin-bottom: 20px;
z-index: 4 !important;
}
.form-box {
......
......@@ -25,7 +25,8 @@
<template v-if="pageComplete">
<el-button v-if="pageType == 'audit' && step == 4" type="primary" @click="rejectDialogVisible = true"
plain>驳回</el-button>
<el-button v-if="pageType == 'edit' && step == 3" type="primary" @click="prevStep" plain>上一步</el-button>
<el-button v-if="!['audit', 'view'].includes(pageType) && step == 3" type="primary" @click="prevStep"
plain>上一步</el-button>
<el-button v-if="pageType != 'view'" @click="submit" :loading="buttonLoading" type="primary">{{ submitText
}}</el-button>
</template>
......@@ -98,10 +99,10 @@
<div class="reject-input">
<div class="label">驳回原因:</div>
<div class="value">
<el-input v-model="rejectReason" placeholder="请输入" maxlength="50" type="textarea" :rows="4"
<el-input v-model="rejectReason" placeholder="请输入" maxlength="200" type="textarea" :rows="4"
resize="none"></el-input>
</div>
<div class="word-limit">{{ rejectReason.length }}/50</div>
<div class="word-limit">{{ rejectReason.length }}/200</div>
</div>
</div>
<template #footer>
......@@ -633,7 +634,7 @@ export default {
.word-limit {
position: absolute;
right: 0;
right: -5px;
bottom: 0;
font-size: 14px;
color: #999999;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!