Browse Source

社会组织导入提示

test
jianjun 3 years ago
parent
commit
32fd9bfae7
  1. 8
      src/views/modules/communityService/shzz/cpts/edit.vue

8
src/views/modules/communityService/shzz/cpts/edit.vue

@ -294,7 +294,6 @@ export default {
props: {},
watch: {
"dataForm.serviceTime": function (val) {
console.log("watch start"+val+'_'+Array.isArray(val))
if (Array.isArray(val) && val.length == 2) {
this.dataForm.serviceStartTime = val[0];
this.dataForm.serviceEndTime = val[1];
@ -391,25 +390,20 @@ export default {
return isPNG && isLt1M
},
handleProgress(event, file, fileList) {
console.log('percentage', event, file.percentage)
this.uploading = true
this.unloadPencent = Number(file.percentage.toFixed(0))
},
handleImgSuccess(res, file) {
if (res.code === 0 && res.msg === 'success') {
console.log('res.data.url', res.data.url)
this.uploading = false
this.unloadPencent = 0
this.dataForm.imageList.push(res.data.url)
console.log('handleImgSuccess after',this.dataForm.imageList)
} else {
this.$message.error(res.msg)
}
},
handleDelimg(item, index) {
this.dataForm.imageList.splice(index, 1)
console.log('handleDelimg after',this.dataForm.imageList)
},
handleMoveCenter() {
//
@ -425,7 +419,6 @@ export default {
this.$refs.ref_form.resetFields();
this.formType = type;
console.log(row);
this.dataForm.imageList = []
if (row) {
this.dataForm = {...this.dataForm, ...row};
@ -443,7 +436,6 @@ export default {
async loadAgency() {
const url = "/epmetuser/customerstaff/staffbasicinfo";
let params = {};
console.log("======loadAgency")
const {data, code, msg} = await requestPost(url, params);
if (code === 0) {

Loading…
Cancel
Save