|
@@ -231,7 +231,7 @@ export default {
|
|
|
|
|
|
created() {
|
|
created() {
|
|
this.getCommunityList();
|
|
this.getCommunityList();
|
|
- this.mixins_dataUrl = '/sc-community-web/neighbourhood/page';
|
|
|
|
|
|
+ this.mixins_dataUrl = '/sc-community/neighbourhood/page';
|
|
this.mixins_query = {};
|
|
this.mixins_query = {};
|
|
this.mixins_search();
|
|
this.mixins_search();
|
|
},
|
|
},
|
|
@@ -275,13 +275,13 @@ export default {
|
|
// 删除评论按钮
|
|
// 删除评论按钮
|
|
deletes(val) {
|
|
deletes(val) {
|
|
console.log('删除', val);
|
|
console.log('删除', val);
|
|
- this.$http.post('/sc-community-web/neighbourhood/comment/delete/' + val).then((res) => {
|
|
|
|
|
|
+ this.$http.post('/sc-community/neighbourhood/comment/delete/' + val).then((res) => {
|
|
this.message(res.status, res.msg);
|
|
this.message(res.status, res.msg);
|
|
});
|
|
});
|
|
},
|
|
},
|
|
// // 删除行按钮
|
|
// // 删除行按钮
|
|
// deleteDetail() {
|
|
// deleteDetail() {
|
|
- // this.$http.post('/sc-community-web/neighbourhood/delete/' + this.rowData.id).then((res) => {
|
|
|
|
|
|
+ // this.$http.post('/sc-community/neighbourhood/delete/' + this.rowData.id).then((res) => {
|
|
// this.message(res.status, '删除');
|
|
// this.message(res.status, '删除');
|
|
// });
|
|
// });
|
|
// },
|
|
// },
|
|
@@ -322,7 +322,7 @@ export default {
|
|
clickEdit(type, row) {
|
|
clickEdit(type, row) {
|
|
this.mediaList = [];
|
|
this.mediaList = [];
|
|
if (type == 'endit') {
|
|
if (type == 'endit') {
|
|
- this.$http.get('/sc-community-web/neighbourhood/find/' + row.id).then((res) => {
|
|
|
|
|
|
+ this.$http.get('/sc-community/neighbourhood/find/' + row.id).then((res) => {
|
|
if (res.status === 0) {
|
|
if (res.status === 0) {
|
|
if (res.data.file) {
|
|
if (res.data.file) {
|
|
let file = res.data.file;
|
|
let file = res.data.file;
|
|
@@ -352,7 +352,7 @@ export default {
|
|
this.$msgBox(title)
|
|
this.$msgBox(title)
|
|
.then(() => {
|
|
.then(() => {
|
|
this.$http
|
|
this.$http
|
|
- .post('/sc-community-web/neighbourhood/delete/' + row.id)
|
|
|
|
|
|
+ .post('/sc-community/neighbourhood/delete/' + row.id)
|
|
.then(({ status, msg }) => {
|
|
.then(({ status, msg }) => {
|
|
if (0 === status) {
|
|
if (0 === status) {
|
|
this.$message.success(msg);
|
|
this.$message.success(msg);
|