@ -221,7 +221,9 @@
formLabelWidth: "120px",
clientHeight: 0,
form: {
cover:"",
type_id:"",
area_id:"",
from_id:"",
province:"",
city:"",
@ -298,7 +298,19 @@
this.dialogFormVisible = true;
},
submitForm(formName) {
var that = this;
let listUrl = [];
for (var m of that.fileList) {
if (m.response)
listUrl.push({
"upload_id": m.response.id
});
else
"upload_id": m.upload_id
}
that.form.files_list = listUrl;
this.$refs[formName].validate((valid) => {
if (valid) {
if (that.form.id) {
@ -294,7 +294,19 @@
@ -340,7 +340,19 @@