This commit is contained in:
yanran200730
2023-06-09 15:49:47 +08:00
parent 9c45f25e8d
commit 164fe19a4a
11 changed files with 32 additions and 29 deletions

View File

@@ -95,7 +95,7 @@ export default {
},
getInfo() {
this.instance.post(`/appvillageinfo/queryDetailById?id=${this.params.id}`).then(res => {
this.instance.post(`/api/appvillageinfo/queryDetailById?id=${this.params.id}`).then(res => {
if (res.code === 0) {
this.form = {
...res.data
@@ -109,7 +109,7 @@ export default {
onSubmit() {
this.$refs.form.validate((valid) => {
if (valid) {
this.instance.post(`/appvillageinfo/addOrUpdate`, {
this.instance.post(`/api/appvillageinfo/addOrUpdate`, {
...this.form,
fileIds: this.fileList.map(v => v.id),
thumbUrl: this.form.thumbUrl.length ? JSON.stringify([{

View File

@@ -44,7 +44,7 @@ export default {
methods: {
getInfo() {
this.instance.post(`/appvillageinfo/queryDetailById?id=${this.params.id}`).then(res => {
this.instance.post(`/api/appvillageinfo/queryDetailById?id=${this.params.id}`).then(res => {
if (res?.data) {
this.info = res.data
if (res.data.thumbUrl) {

View File

@@ -141,7 +141,7 @@ export default {
methods: {
getsaasList() {
this.instance.post("/appSaas/page", null, {
this.instance.post("/api/appSaas/page", null, {
params: {size: 10000}
}).then(res => {
if (res?.data) {
@@ -151,7 +151,7 @@ export default {
},
getCompanyList() {
this.instance.post("/appCorp/page", null, {
this.instance.post("/api/appCorp/page", null, {
params: {saasId: this.dialogForm.saasId, size: 10000}
}).then(res => {
if (res?.data) {
@@ -173,7 +173,7 @@ export default {
},
getList() {
this.instance.post(`/appvillageinfo/list`, null, {
this.instance.post(`/api/appvillageinfo/list`, null, {
params: {
...this.search,
areaId: this.areaId
@@ -216,7 +216,7 @@ export default {
saveSaas() {
this.$refs.saasForm.validate(v => {
if (v) {
this.instance.post(`/appvillageinfo/sync?corpId=${this.dialogForm.corpId}&id=${this.dialogForm.id}&areaId=${this.dialogForm.areaId}`).then(res => {
this.instance.post(`/api/appvillageinfo/sync?corpId=${this.dialogForm.corpId}&id=${this.dialogForm.id}&areaId=${this.dialogForm.areaId}`).then(res => {
if (res?.code == 0) {
this.dialog = false;
this.$message.success("发布成功")