bug
This commit is contained in:
@@ -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([{
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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("发布成功")
|
||||
|
||||
Reference in New Issue
Block a user