Browse Source

社会组织bug

feature
jianjun 3 years ago
parent
commit
e2f43eabaa
  1. 12
      src/views/modules/communityService/shzz/cpts/edit.vue
  2. 1
      src/views/modules/communityService/shzz/index.vue

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

@ -294,6 +294,7 @@ 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];
@ -440,7 +441,7 @@ 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) {
@ -490,6 +491,7 @@ export default {
},
async submit() {
let url = "";
if (this.formType === "add") {
url = "/heart/societyorg/add";
@ -522,6 +524,9 @@ export default {
},
resetData() {
this.societyId = ""; //ID
this.$refs.ref_form.resetFields();
this.propertyFormShow = false;
/*
this.dataForm = {
societyName: "",
serviceMatters: "",
@ -534,8 +539,9 @@ export default {
address: "",
longitude: "",
latitude: "",
};
this.propertyFormShow = false;
imageList:[]
};*/
},
//
startLoading() {

1
src/views/modules/communityService/shzz/index.vue

@ -258,6 +258,7 @@ export default {
},
watch: {
"fmData.serviceTime": function (val) {
console.log("watch start"+val+'_'+Array.isArray(val))
if (Array.isArray(val) && val.length == 2) {
this.fmData.serviceStartTime = val[0];
this.fmData.serviceEndTime = val[1];

Loading…
Cancel
Save