This commit is contained in:
@fawn-nine
2024-09-25 18:17:51 +08:00
parent c0b696aa15
commit 86a1f754c2
13 changed files with 391 additions and 115 deletions

View File

@@ -154,6 +154,7 @@
<script>
import permission from "@/js_sdk/wa-permission/permission.js"
import $http from '@/config/requestConfig.js';
import debounce from "@/common/debounce.js";
import {
mapState
} from "vuex";
@@ -300,13 +301,13 @@
},
closePup(){
this.showEditBlank = false
this.form = {
taskId: undefined,
id: undefined,
display: "1", //0不展示1展示
content: "",
img: ""
}
// this.form = {
// // taskId: undefined,
// id: undefined,
// display: "0", //0不展示1展示
// content: "",
// img: ""
// }
this.fileList1 = []
},
deletePic(event) {
@@ -468,7 +469,8 @@
url: `${url}?id=${id}&type=${modeType}`
});
},
onSubmit() {
onSubmit() {
// debounce(async () => {
this.$refs.form.validate().then(res => {
if (this.fileList1.length > 0) {
let _list = this.fileList1
@@ -491,8 +493,7 @@
"display": this.form.display, //0不展示1展示
"content": this.form.content,
"img": this.form.img
}
}
console.log('data',data);
$http.request({
url: _url,
@@ -508,9 +509,9 @@
icon: 'success'
})
this.FileList = []
this.FileList11 = []
this.closePup()
this.FileList11 = []
setTimeout(()=>{
this.closePup()
this.pPage = 0
this.zuoyeList = []
this.getTaskInfo()
@@ -529,6 +530,7 @@
icon: 'none'
})
})
// },300)
},
addPic(e) {
let that = this;