|
@@ -1006,8 +1006,6 @@ export default {
|
|
|
getEntInfoByIdApi(this.form.id).then(res => {
|
|
|
this.loading = false
|
|
|
this.form = res.data || {}
|
|
|
- // let mainProductArray = this.form.mainProducts.split(',') || ['电子信息'];
|
|
|
- // this.$set(this.form, 'mainProductArray', mainProductArray);
|
|
|
this.form.serviceDate = []
|
|
|
if(this.form.startDate) {
|
|
|
this.form.serviceDate[0] = this.form.startDate + ' '
|
|
@@ -1055,7 +1053,6 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
handleFileSuccess(response, file, fileList) {
|
|
|
- console.log("fileList", fileList)
|
|
|
this.form.attachIds = []
|
|
|
fileList.forEach(item => {
|
|
|
if(item.id) {
|
|
@@ -1067,7 +1064,6 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
handlePreview(file) {
|
|
|
- console.log(file, "file")
|
|
|
if (file) {
|
|
|
const addTypeArray = file.name.split(".");
|
|
|
const addType = addTypeArray[addTypeArray.length - 1];
|