1/4 企业注册新增资质修改1.0

20245024-wz
wangwei 6 months ago
parent fadb5dfd6e
commit b0c02ead05

@ -8,7 +8,7 @@
({{ imgList.length }}) ({{ imgList.length }})
</el-button> </el-button>
</el-col> </el-col>
<el-col :span="6" v-if="formName !== 3"> <el-col :span="6" v-if="formName !== 3" style="margin-left: 50px">
<cropperFile <cropperFile
@getCropFile="getCropFile" @getCropFile="getCropFile"
></cropperFile> ></cropperFile>
@ -271,7 +271,8 @@ export default {
// //
let imagePaths = this.inputQuery.filePath.split(";"); let imagePaths = this.inputQuery.filePath.split(";");
// //
this.imgList = imagePaths.filter(path => path.trim() !== "" && path.trim() !== null && path.trim() !== "null"); let newImgPath = imagePaths.filter(path => path.trim() !== "" && path.trim() !== null && path.trim() !== "null");
this.imgList = newImgPath.filter(item => item.startsWith('http'));
console.log(this.imgList); console.log(this.imgList);
} catch (error) { } catch (error) {
// //

@ -95,6 +95,20 @@
</el-col> </el-col>
</el-row> </el-row>
<el-row>
<el-col :span="3">
<div class="ao-text">
<span>证书备注</span>
</div>
</el-col>
<el-col :span="8">
<el-form-item prop="remark">
<updateZz :inputQuery="formData"
:formName="formName"
/>
</el-form-item>
</el-col>
</el-row>
<!-- <el-row>--> <!-- <el-row>-->
@ -135,12 +149,7 @@
<!-- </el-col>--> <!-- </el-col>-->
<!-- </el-row>--> <!-- </el-row>-->
<el-row gutter="20" class="el-row" type="flex"> <el-row gutter="20" class="el-row" type="flex">
<el-col :span="11" class="el-col">
<el-form-item label="文件:" prop="filePath">
<cusEditor ref="editorRef" style="width:90vh;height: 100%;overflow: auto; " :content="formData.filePath"
:type="`image2`"/>
</el-form-item>
</el-col>
</el-row> </el-row>
</el-card> </el-card>
</el-form> </el-form>
@ -151,6 +160,7 @@
<script> <script>
import {isertCert, filterCompanyCert, updateCert} from "@/api/sup/userCert"; import {isertCert, filterCompanyCert, updateCert} from "@/api/sup/userCert";
import store from "@/store"; import store from "@/store";
import updateZz from "@/views/basic/manu/updateZz";
@ -196,6 +206,7 @@ export default {
status: null, status: null,
}, },
formName:"file",
formRules: { formRules: {
name: [ name: [
{required: true, message: "请输入证书名称", trigger: "blur"} {required: true, message: "请输入证书名称", trigger: "blur"}
@ -213,6 +224,7 @@ export default {
}; };
}, },
components: { components: {
updateZz
}, },
methods: { methods: {
uploadHandlePreview(file) { uploadHandlePreview(file) {

Loading…
Cancel
Save