暂存
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user