|
@@ -769,7 +769,7 @@ export default {
|
|
|
* @return {void}
|
|
|
* */
|
|
|
dialogButton(type) {
|
|
|
- // console.log('获取富文本内容', this.html);
|
|
|
+ this.$refs['ruleForm'].resetFields();
|
|
|
if (type === 'prev') {
|
|
|
this.$refs['ruleForm'].validate((valid) => {
|
|
|
if (valid) {
|
|
@@ -781,7 +781,7 @@ export default {
|
|
|
content: this.editorContent,
|
|
|
startTime: startTime,
|
|
|
endTime: endTime,
|
|
|
- filePath: this.uploadFileUrl,
|
|
|
+ filePath: JSON.stringify(this.uploadFileUrl),
|
|
|
id: 1,
|
|
|
pubDate: this.$moment(new Date()).format(`YYYY-MM-DDTHH:mm:ss`),
|
|
|
// pubPeople:ruleForm.informType,
|
|
@@ -841,7 +841,7 @@ export default {
|
|
|
this.rowDetail = row;
|
|
|
// let fileArr = row.filePath.split(',');
|
|
|
// this.filePath = fileArr.slice(0, fileArr.length - 1);
|
|
|
-
|
|
|
+ this.filePath = JSON.parse(row.filePath);
|
|
|
console.log('查看详情', res);
|
|
|
});
|
|
|
// this.ruleForm.title = row.managementName;
|