|
@@ -307,9 +307,9 @@ export default {
|
|
console.log('this.formData.intentionLevel', this.formData.intentionLevel);
|
|
console.log('this.formData.intentionLevel', this.formData.intentionLevel);
|
|
this.$refs.formData.validate((valid) => {
|
|
this.$refs.formData.validate((valid) => {
|
|
if (valid) {
|
|
if (valid) {
|
|
- let url = '/sc-community-web/business/add';
|
|
|
|
|
|
+ let url = '/sc-community/business/add';
|
|
if (this.params.todo == 'edit') {
|
|
if (this.params.todo == 'edit') {
|
|
- url = '/sc-community-web/business/edit';
|
|
|
|
|
|
+ url = '/sc-community/business/edit';
|
|
}
|
|
}
|
|
// let houseIds = [];
|
|
// let houseIds = [];
|
|
this.timePeriod.map((item) => {
|
|
this.timePeriod.map((item) => {
|
|
@@ -430,7 +430,7 @@ export default {
|
|
});
|
|
});
|
|
if (this.params.todo == 'edit') {
|
|
if (this.params.todo == 'edit') {
|
|
console.log(this.params.data);
|
|
console.log(this.params.data);
|
|
- let url = `/sc-community-web/business/find/${this.params.data}`;
|
|
|
|
|
|
+ let url = `/sc-community/business/find/${this.params.data}`;
|
|
this.$http.get(url).then(({ status, msg, data }) => {
|
|
this.$http.get(url).then(({ status, msg, data }) => {
|
|
if (status == 0) {
|
|
if (status == 0) {
|
|
this.close();
|
|
this.close();
|