修正接口请求
This commit is contained in:
@@ -161,7 +161,7 @@ export default {
|
||||
this.forms = JSON.parse(JSON.stringify(this.data))
|
||||
},
|
||||
getDetail(id) {
|
||||
this.instance.post(`/appcreditadminstrativelicense/queryDetailById?id=${id}`).then(res => {
|
||||
this.instance.post(`/app/appcreditadminstrativelicense/queryDetailById?id=${id}`).then(res => {
|
||||
if (res.code === 0) {
|
||||
this.data = res.data
|
||||
}
|
||||
@@ -170,7 +170,7 @@ export default {
|
||||
confirm() {
|
||||
this.$refs.forms.validate((valid) => {
|
||||
if (valid) {
|
||||
this.instance.post(`/appcreditadminstrativelicense/addOrUpdate`, {
|
||||
this.instance.post(`/app/appcreditadminstrativelicense/addOrUpdate`, {
|
||||
...this.forms,
|
||||
id: this.params.id || '',
|
||||
}).then(res => {
|
||||
|
||||
@@ -74,7 +74,7 @@ export default {
|
||||
// this.getTableData()
|
||||
// },
|
||||
getTableData() {
|
||||
this.instance.post("/appcreditadminstrativelicense/list", null, {
|
||||
this.instance.post("/app/appcreditadminstrativelicense/list", null, {
|
||||
params: {...this.page, ...this.search, ...this.select}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
@@ -94,7 +94,7 @@ export default {
|
||||
},
|
||||
handleDelete(id) {
|
||||
this.$confirm("是否要删除?").then(() => {
|
||||
this.instance.post(`/appcreditadminstrativelicense/delete?ids=${id}`).then(res => {
|
||||
this.instance.post(`/app/appcreditadminstrativelicense/delete?ids=${id}`).then(res => {
|
||||
if (res.code == 0) {
|
||||
this.$message.success("删除成功")
|
||||
this.getTableData()
|
||||
|
||||
@@ -167,7 +167,7 @@ export default {
|
||||
this.forms = JSON.parse(JSON.stringify(this.data))
|
||||
},
|
||||
getDetail(id) {
|
||||
this.instance.post(`/appcreditadministrativesanction/queryDetailById?id=${id}`).then(res => {
|
||||
this.instance.post(`/app/appcreditadministrativesanction/queryDetailById?id=${id}`).then(res => {
|
||||
if (res.code === 0) {
|
||||
this.data = res.data
|
||||
}
|
||||
@@ -176,7 +176,7 @@ export default {
|
||||
confirm() {
|
||||
this.$refs.forms.validate((valid) => {
|
||||
if (valid) {
|
||||
this.instance.post(`/appcreditadministrativesanction/addOrUpdate`, {
|
||||
this.instance.post(`/app/appcreditadministrativesanction/addOrUpdate`, {
|
||||
...this.forms,
|
||||
id: this.params.id || '',
|
||||
}).then(res => {
|
||||
|
||||
@@ -73,7 +73,7 @@ export default {
|
||||
this.getTableData()
|
||||
},
|
||||
getTableData() {
|
||||
this.instance.post("/appcreditadministrativesanction/list", null, {
|
||||
this.instance.post("/app/appcreditadministrativesanction/list", null, {
|
||||
params: {...this.page, ...this.search, ...this.select}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
@@ -100,7 +100,7 @@ export default {
|
||||
},
|
||||
handleDelete(id) {
|
||||
this.$confirm("是否要删除?").then(() => {
|
||||
this.instance.post(`/appcreditadministrativesanction/delete?ids=${id}`).then(res => {
|
||||
this.instance.post(`/app/appcreditadministrativesanction/delete?ids=${id}`).then(res => {
|
||||
if (res.code == 0) {
|
||||
this.$message.success("删除成功")
|
||||
this.getTableData()
|
||||
|
||||
@@ -146,7 +146,7 @@ export default {
|
||||
this.forms=JSON.parse(JSON.stringify(this.data))
|
||||
},
|
||||
getDetail(id) {
|
||||
this.instance.post(`/appcreditdishonestperson/queryDetailById?id=${id}`).then(res => {
|
||||
this.instance.post(`/app/appcreditdishonestperson/queryDetailById?id=${id}`).then(res => {
|
||||
if (res.code === 0) {
|
||||
this.data = res.data
|
||||
}
|
||||
@@ -155,7 +155,7 @@ export default {
|
||||
confirm( ) {
|
||||
this.$refs.forms.validate((valid) => {
|
||||
if (valid) {
|
||||
this.instance.post(`/appcreditdishonestperson/addOrUpdate`, {
|
||||
this.instance.post(`/app/appcreditdishonestperson/addOrUpdate`, {
|
||||
...this.forms,
|
||||
id: this.params.id || '',
|
||||
}).then(res => {
|
||||
|
||||
@@ -67,7 +67,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
getTableData() {
|
||||
this.instance.post("/appcreditdishonestperson/list", null, {
|
||||
this.instance.post("/app/appcreditdishonestperson/list", null, {
|
||||
params: {...this.page, ...this.search,...this.select}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
@@ -94,7 +94,7 @@ export default {
|
||||
// },
|
||||
handleDelete(id) {
|
||||
this.$confirm("是否要删除?").then(() => {
|
||||
this.instance.post(`/appcreditdishonestperson/delete?ids=${id}`).then(res => {
|
||||
this.instance.post(`/app/appcreditdishonestperson/delete?ids=${id}`).then(res => {
|
||||
if (res.code == 0) {
|
||||
this.$message.success("删除成功")
|
||||
this.getTableData()
|
||||
|
||||
@@ -240,7 +240,7 @@ export default {
|
||||
this.tableData.splice(index, 1)
|
||||
},
|
||||
getDetail(id) {
|
||||
this.instance.post(`/appcollectiveeconomyequity/queryDetailById`,null, {
|
||||
this.instance.post(`/app/appcollectiveeconomyequity/queryDetailById`,null, {
|
||||
params: {
|
||||
id: id,
|
||||
...this.page,
|
||||
@@ -271,7 +271,7 @@ export default {
|
||||
confirm() {
|
||||
this.$refs.form.validate((valid) => {
|
||||
if (valid) {
|
||||
this.instance.post(`/appcollectiveeconomyequity/addOrUpdate`, {
|
||||
this.instance.post(`/app/appcollectiveeconomyequity/addOrUpdate`, {
|
||||
...this.form,
|
||||
id: this.params.id || '',
|
||||
shareholderList: this.tableData,
|
||||
|
||||
@@ -70,7 +70,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
getTableData() {
|
||||
this.instance.post("/appcollectiveeconomyequity/list", null, {
|
||||
this.instance.post("/app/appcollectiveeconomyequity/list", null, {
|
||||
params: {...this.page, ...this.search,...this.select}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
@@ -89,7 +89,7 @@ export default {
|
||||
},
|
||||
handleDelete(id) {
|
||||
this.$confirm("是否要删除?").then(() => {
|
||||
this.instance.post(`/appcollectiveeconomyequity/delete?ids=${id}`).then(res => {
|
||||
this.instance.post(`/app/appcollectiveeconomyequity/delete?ids=${id}`).then(res => {
|
||||
if (res.code == 0) {
|
||||
this.$message.success("删除成功")
|
||||
this.getTableData()
|
||||
|
||||
@@ -175,7 +175,7 @@ export default {
|
||||
this.form = JSON.parse(JSON.stringify(this.data))
|
||||
},
|
||||
getDetail(id) {
|
||||
this.instance.post(`/apphomesteadinfo/queryDetailById?id=${id}`).then(res => {
|
||||
this.instance.post(`/app/apphomesteadinfo/queryDetailById?id=${id}`).then(res => {
|
||||
if (res.code === 0) {
|
||||
this.data = res.data
|
||||
}
|
||||
@@ -184,7 +184,7 @@ export default {
|
||||
confirm() {
|
||||
this.$refs.form.validate((valid) => {
|
||||
if (valid) {
|
||||
this.instance.post(`/apphomesteadinfo/addOrUpdate`, {
|
||||
this.instance.post(`/app/apphomesteadinfo/addOrUpdate`, {
|
||||
...this.form,
|
||||
id: this.params.id || '',
|
||||
}).then(res => {
|
||||
|
||||
@@ -74,7 +74,7 @@ export default {
|
||||
methods: {
|
||||
changeArea() {},
|
||||
getTableData() {
|
||||
this.instance.post("/apphomesteadinfo/list", null, {
|
||||
this.instance.post("/app/apphomesteadinfo/list", null, {
|
||||
params: {...this.page, ...this.search,...this.select}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
@@ -93,7 +93,7 @@ export default {
|
||||
},
|
||||
handleDelete(id) {
|
||||
this.$confirm("是否要删除?").then(() => {
|
||||
this.instance.post(`/apphomesteadinfo/delete?ids=${id}`).then(res => {
|
||||
this.instance.post(`/app/apphomesteadinfo/delete?ids=${id}`).then(res => {
|
||||
if (res.code == 0) {
|
||||
this.$message.success("删除成功")
|
||||
this.getTableData()
|
||||
|
||||
@@ -221,7 +221,7 @@ export default {
|
||||
this.form = JSON.parse(JSON.stringify(this.data))
|
||||
},
|
||||
getDetail(id) {
|
||||
this.instance.post(`/applandcirculateinfo/queryDetailById?id=${id}`).then(res => {
|
||||
this.instance.post(`/app/applandcirculateinfo/queryDetailById?id=${id}`).then(res => {
|
||||
if (res.code === 0) {
|
||||
this.data = res.data
|
||||
}
|
||||
@@ -230,7 +230,7 @@ export default {
|
||||
confirm() {
|
||||
this.$refs.form.validate((valid) => {
|
||||
if (valid) {
|
||||
this.instance.post(`/applandcirculateinfo/addOrUpdate`, {
|
||||
this.instance.post(`/app/applandcirculateinfo/addOrUpdate`, {
|
||||
...this.form,
|
||||
id: this.params.id || '',
|
||||
}).then(res => {
|
||||
|
||||
@@ -82,7 +82,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
getTableData() {
|
||||
this.instance.post("/applandcirculateinfo/list", null, {
|
||||
this.instance.post("/app/applandcirculateinfo/list", null, {
|
||||
params: {...this.page, ...this.search,...this.select}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
@@ -106,7 +106,7 @@ export default {
|
||||
},
|
||||
handleDelete(id) {
|
||||
this.$confirm("是否要删除?").then(() => {
|
||||
this.instance.post(`/applandcirculateinfo/delete?ids=${id}`).then(res => {
|
||||
this.instance.post(`/app/applandcirculateinfo/delete?ids=${id}`).then(res => {
|
||||
if (res.code == 0) {
|
||||
this.$message.success("删除成功")
|
||||
this.getTableData()
|
||||
|
||||
@@ -91,7 +91,7 @@ export default {
|
||||
methods: {
|
||||
getDetail() {
|
||||
let {id} = this.$route.query
|
||||
this.instance.post("/appleavemessage/queryDetailById", null, {
|
||||
this.instance.post("/app/appleavemessage/queryDetailById", null, {
|
||||
params: {id}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
@@ -105,7 +105,7 @@ export default {
|
||||
},
|
||||
handleCloseMass(id) {
|
||||
this.$confirm("是否要关闭留言?").then(() => {
|
||||
this.instance.post("/appleavemessage/close", null, {
|
||||
this.instance.post("/app/appleavemessage/close", null, {
|
||||
params: {id}
|
||||
}).then(res => {
|
||||
if (res?.code == 0) {
|
||||
@@ -119,7 +119,7 @@ export default {
|
||||
this.$refs.ReplyForm.validate(v => {
|
||||
if (v) {
|
||||
let {id: messageId} = this.detail
|
||||
this.instance.post("/appleavemessagereply/addOrUpdate", {...this.form, messageId, userType: 1}).then(res => {
|
||||
this.instance.post("/app/appleavemessagereply/addOrUpdate", {...this.form, messageId, userType: 1}).then(res => {
|
||||
if (res?.code == 0) {
|
||||
this.$message.success("提交成功!")
|
||||
this.back()
|
||||
|
||||
@@ -63,7 +63,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
getTableData() {
|
||||
this.instance.post("/appleavemessage/list", null, {
|
||||
this.instance.post("/app/appleavemessage/list", null, {
|
||||
params: {...this.page, ...this.search}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
@@ -78,7 +78,7 @@ export default {
|
||||
handleEnable(row) {
|
||||
let openLabel = row.isOpen == 1 ? "取消公示" : "公示", isOpen = (Number(row.isOpen) + 1) % 2
|
||||
this.$confirm(`是否要${openLabel}留言?`).then(() => {
|
||||
this.instance.post("/appleavemessage/setIsOpen", null, {
|
||||
this.instance.post("/app/appleavemessage/setIsOpen", null, {
|
||||
params: {id: row.id, isOpen}
|
||||
}).then(res => {
|
||||
if (res?.code == 0) {
|
||||
|
||||
@@ -88,7 +88,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
getTableData() {
|
||||
this.instance.post("/appzwspstatistics/list", null, {
|
||||
this.instance.post("/app/appzwspstatistics/list", null, {
|
||||
params: {...this.page, ...this.search}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
@@ -112,7 +112,7 @@ export default {
|
||||
this.classList = res.data.records
|
||||
}
|
||||
})
|
||||
this.instance.post("/appfinancialorganization/list?size=100").then(res => {
|
||||
this.instance.post("/app/appfinancialorganization/list?size=100").then(res => {
|
||||
if (res?.data) {
|
||||
res.data.records.map((item) => {
|
||||
item.dictName = item.organizationName
|
||||
|
||||
@@ -60,7 +60,7 @@ export default {
|
||||
methods: {
|
||||
getDetail() {
|
||||
let {id} = this.$route.query
|
||||
this.instance.post("/appportaluser/queryDetailByPortalUserId", null, {
|
||||
this.instance.post("/app/appportaluser/queryDetailByPortalUserId", null, {
|
||||
params: {id}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
|
||||
@@ -55,7 +55,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
getTableData() {
|
||||
this.instance.post("/appportaluser/listPortalUser", null, {
|
||||
this.instance.post("/app/appportaluser/listPortalUser", null, {
|
||||
params: {...this.page, ...this.search}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
@@ -67,7 +67,7 @@ export default {
|
||||
handleEnable(row) {
|
||||
let status = (Number(row.status) + 1) % 2
|
||||
this.$confirm(`是否要${this.dict.getLabel('portalUserStatus', status)}账号?`).then(() => {
|
||||
this.instance.post("/appportaluser/addOrUpdate", {...row, status}).then(res => {
|
||||
this.instance.post("/app/appportaluser/addOrUpdate", {...row, status}).then(res => {
|
||||
if (res?.code == 0) {
|
||||
this.$message.success(this.dict.getLabel('portalUserStatus', status) + "成功!")
|
||||
this.getTableData()
|
||||
|
||||
@@ -134,7 +134,7 @@ export default {
|
||||
methods: {
|
||||
getDetail() {
|
||||
let {id} = this.$route.query
|
||||
this.instance.post("/appportaluserenterprise/queryDetailById", null, {
|
||||
this.instance.post("/app/appportaluserenterprise/queryDetailById", null, {
|
||||
params: {id}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
|
||||
@@ -60,7 +60,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
getTableData() {
|
||||
this.instance.post("/appportaluserenterprise/list", null, {
|
||||
this.instance.post("/app/appportaluserenterprise/list", null, {
|
||||
params: {...this.page, ...this.search, status: 1,...this.select}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
|
||||
@@ -90,7 +90,7 @@ export default {
|
||||
methods: {
|
||||
getDetail() {
|
||||
let {id} = this.$route.query
|
||||
this.instance.post("/appportaluserenterprise/queryDetailById", null, {
|
||||
this.instance.post("/app/appportaluserenterprise/queryDetailById", null, {
|
||||
params: {id}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
@@ -102,7 +102,7 @@ export default {
|
||||
this.$refs.AuditForm.validate(v => {
|
||||
if (v) {
|
||||
let {id} = this.detail
|
||||
this.instance.post("/appportaluserenterprise/auditEnterprise", null, {
|
||||
this.instance.post("/app/appportaluserenterprise/auditEnterprise", null, {
|
||||
params: {id, ...this.form}
|
||||
}).then(res => {
|
||||
if (res?.code == 0) {
|
||||
|
||||
@@ -63,7 +63,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
getTableData() {
|
||||
this.instance.post("/appportaluserenterprise/list", null, {
|
||||
this.instance.post("/app/appportaluserenterprise/list", null, {
|
||||
params: {...this.page, ...this.search, enterpriseStatus: 0}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
|
||||
@@ -144,7 +144,7 @@ export default {
|
||||
this.forms = JSON.parse(JSON.stringify(this.data))
|
||||
},
|
||||
getDetail(id) {
|
||||
this.instance.post(`/appcreditpublicutilitiesarrears/queryDetailById?id=${id}`).then(res => {
|
||||
this.instance.post(`/app/appcreditpublicutilitiesarrears/queryDetailById?id=${id}`).then(res => {
|
||||
if (res.code === 0) {
|
||||
this.data = res.data
|
||||
}
|
||||
@@ -153,7 +153,7 @@ export default {
|
||||
confirm( ) {
|
||||
this.$refs.forms.validate((valid) => {
|
||||
if (valid) {
|
||||
this.instance.post(`/appcreditpublicutilitiesarrears/addOrUpdate`, {
|
||||
this.instance.post(`/app/appcreditpublicutilitiesarrears/addOrUpdate`, {
|
||||
...this.forms,
|
||||
id: this.params.id || '',
|
||||
}).then(res => {
|
||||
|
||||
@@ -69,7 +69,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
getTableData() {
|
||||
this.instance.post("/appcreditpublicutilitiesarrears/list", null, {
|
||||
this.instance.post("/app/appcreditpublicutilitiesarrears/list", null, {
|
||||
params: {...this.page, ...this.search,...this.select}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
@@ -88,7 +88,7 @@ export default {
|
||||
},
|
||||
handleDelete(id) {
|
||||
this.$confirm("是否要删除?").then(() => {
|
||||
this.instance.post(`/appcreditpublicutilitiesarrears/delete?ids=${id}`).then(res => {
|
||||
this.instance.post(`/app/appcreditpublicutilitiesarrears/delete?ids=${id}`).then(res => {
|
||||
if (res.code == 0) {
|
||||
this.$message.success("删除成功")
|
||||
this.getTableData()
|
||||
|
||||
@@ -147,7 +147,7 @@ export default {
|
||||
this.forms = JSON.parse(JSON.stringify(this.data))
|
||||
},
|
||||
getDetail(id) {
|
||||
this.instance.post(`/appcredittaxinfo/queryDetailById?id=${id}`).then(res => {
|
||||
this.instance.post(`/app/appcredittaxinfo/queryDetailById?id=${id}`).then(res => {
|
||||
if (res.code === 0) {
|
||||
this.data = res.data
|
||||
}
|
||||
@@ -156,7 +156,7 @@ export default {
|
||||
confirm() {
|
||||
this.$refs.forms.validate((valid) => {
|
||||
if (valid) {
|
||||
this.instance.post(`/appcredittaxinfo/addOrUpdate`, {
|
||||
this.instance.post(`/app/appcredittaxinfo/addOrUpdate`, {
|
||||
...this.forms,
|
||||
id: this.params.id || '',
|
||||
}).then(res => {
|
||||
|
||||
@@ -68,7 +68,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
getTableData() {
|
||||
this.instance.post("/appcredittaxinfo/list", null, {
|
||||
this.instance.post("/app/appcredittaxinfo/list", null, {
|
||||
params: {...this.page, ...this.search, ...this.select}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
@@ -87,7 +87,7 @@ export default {
|
||||
},
|
||||
handleDelete(id) {
|
||||
this.$confirm("是否要删除?").then(() => {
|
||||
this.instance.post(`/appcredittaxinfo/delete?ids=${id}`).then(res => {
|
||||
this.instance.post(`/app/appcredittaxinfo/delete?ids=${id}`).then(res => {
|
||||
if (res.code == 0) {
|
||||
this.$message.success("删除成功")
|
||||
this.getTableData()
|
||||
|
||||
@@ -84,7 +84,7 @@ export default {
|
||||
methods: {
|
||||
getDetail() {
|
||||
let {id} = this.$route.query
|
||||
id && this.instance.post("/appvideonews/getById", null, {
|
||||
id && this.instance.post("/app/appvideonews/getById", null, {
|
||||
params: {id}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
@@ -96,7 +96,7 @@ export default {
|
||||
this.$refs.VideoForm.validate(v => {
|
||||
if (v) {
|
||||
let {form} = this
|
||||
this.instance.post("/appvideonews/addOrUpdate", form).then(res => {
|
||||
this.instance.post("/app/appvideonews/addOrUpdate", form).then(res => {
|
||||
if (res?.code == 0) {
|
||||
this.$message.success("提交成功!")
|
||||
this.back()
|
||||
|
||||
@@ -61,7 +61,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
getTableData() {
|
||||
this.instance.post("/appvideonews/list", null, {
|
||||
this.instance.post("/app/appvideonews/list", null, {
|
||||
params: {...this.page, ...this.search}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
@@ -78,7 +78,7 @@ export default {
|
||||
},
|
||||
handleDelete(ids) {
|
||||
this.$confirm("是否要删除该视频?").then(() => {
|
||||
this.instance.post("/appvideonews/delete", null, {
|
||||
this.instance.post("/app/appvideonews/delete", null, {
|
||||
params: {ids}
|
||||
}).then(res => {
|
||||
if (res?.code == 0) {
|
||||
@@ -104,7 +104,7 @@ export default {
|
||||
handlePublic(row) {
|
||||
let openLabel = row.status == 1 ? "取消发布" : "发布", status = (Number(row.status) + 1) % 2
|
||||
this.$confirm(`是否要${openLabel}视频?`).then(() => {
|
||||
this.instance.post("/appvideonews/setStatus", null, {
|
||||
this.instance.post("/app/appvideonews/setStatus", null, {
|
||||
params: {id: row.id, status}
|
||||
}).then(res => {
|
||||
if (res?.code == 0) {
|
||||
|
||||
@@ -179,7 +179,7 @@ export default {
|
||||
methods: {
|
||||
getList() {
|
||||
this.instance
|
||||
.post(`/appbanner/list`, null, {
|
||||
.post(`/app/appbanner/list`, null, {
|
||||
params: {
|
||||
...this.search,
|
||||
...this.page,
|
||||
@@ -212,7 +212,7 @@ export default {
|
||||
addConfirm() {
|
||||
this.$refs.DialogForm.validate(v => {
|
||||
if (v) {
|
||||
this.instance.post(`/appbanner/addOrUpdate`, {
|
||||
this.instance.post(`/app/appbanner/addOrUpdate`, {
|
||||
imgUrl: this.dialogInfo.imgUrl?.[0]?.url,
|
||||
linkUrl: this.dialogInfo.linkUrl,
|
||||
status: this.status,
|
||||
@@ -233,7 +233,7 @@ export default {
|
||||
release(row) {
|
||||
this.$confirm('确定此操作?').then(() => {
|
||||
let status = row.status == 1 ? '0' : '1'
|
||||
this.instance.post(`/appbanner/setStatus?id=${row.id}&status=${status}`).then((res) => {
|
||||
this.instance.post(`/app/appbanner/setStatus?id=${row.id}&status=${status}`).then((res) => {
|
||||
if (res?.code == 0) {
|
||||
this.$message.success("操作成功!")
|
||||
this.getList()
|
||||
@@ -244,7 +244,7 @@ export default {
|
||||
// 详情
|
||||
detail(row) {
|
||||
this.detailDialog = true
|
||||
this.instance.post(`/appbanner/detail?id=${row.id}`, {
|
||||
this.instance.post(`/app/appbanner/detail?id=${row.id}`, {
|
||||
// imgUrl: this.dialogInfo.imgUrl[0].url
|
||||
})
|
||||
.then((res) => {
|
||||
@@ -267,7 +267,7 @@ export default {
|
||||
this.$confirm('删除后不可恢复,是否要删除该记录?', {
|
||||
type: 'error',
|
||||
}).then(() => {
|
||||
this.instance.post(`/appbanner/delete?ids=${id}`).then((res) => {
|
||||
this.instance.post(`/app/appbanner/delete?ids=${id}`).then((res) => {
|
||||
if (res.code == 0) {
|
||||
this.$message.success('删除成功!')
|
||||
this.getList()
|
||||
|
||||
@@ -86,7 +86,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
handleSearch() {
|
||||
this.search.param && this.instance.post("/appcreditreport/listForWeb", null, {
|
||||
this.search.param && this.instance.post("/app/appcreditreport/listForWeb", null, {
|
||||
params: {...this.search, ...this.page}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
|
||||
@@ -90,7 +90,7 @@ export default {
|
||||
},
|
||||
getList() {
|
||||
let {id: portalUserId} = this.$route.query
|
||||
this.instance.post(`/appvillagerintegraldetail/list`, null, {
|
||||
this.instance.post(`/app/appvillagerintegraldetail/list`, null, {
|
||||
params: {...this.page, portalUserId, doType: this.doType}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
|
||||
@@ -86,7 +86,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
getTableData() {
|
||||
this.instance.post("/appfinancialorganization/list", null, {
|
||||
this.instance.post("/app/appfinancialorganization/list", null, {
|
||||
params: {...this.page, ...this.search}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
@@ -100,7 +100,7 @@ export default {
|
||||
this.$refs.addAccountForm.validate(v => {
|
||||
if (v) {
|
||||
let {form: {logoUrl: logo}} = this, logoUrl = logo?.[0]?.url
|
||||
this.instance.post("/appfinancialorganization/addOrUpdate", {...this.form, logoUrl}).then(res => {
|
||||
this.instance.post("/app/appfinancialorganization/addOrUpdate", {...this.form, logoUrl}).then(res => {
|
||||
if (res?.code == 0) {
|
||||
this.$message.success("提交成功!")
|
||||
this.dialog = false
|
||||
@@ -117,7 +117,7 @@ export default {
|
||||
},
|
||||
handleDelete(ids) {
|
||||
this.$confirm("是否要删除该机构?").then(() => {
|
||||
this.instance.post("/appfinancialorganization/delete", null, {
|
||||
this.instance.post("/app/appfinancialorganization/delete", null, {
|
||||
params: {ids}
|
||||
}).then(res => {
|
||||
if (res?.code == 0) {
|
||||
|
||||
@@ -85,7 +85,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
getTableData() {
|
||||
this.instance.post("/appfinancialorganizationuser/list", null, {
|
||||
this.instance.post("/app/appfinancialorganizationuser/list", null, {
|
||||
params: {...this.page, ...this.search}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
@@ -97,7 +97,7 @@ export default {
|
||||
submitAddAcount() {
|
||||
this.$refs.addAccountForm.validate(v => {
|
||||
if (v) {
|
||||
this.instance.post("/appfinancialorganizationuser/addOrUpdate", this.form).then(res => {
|
||||
this.instance.post("/app/appfinancialorganizationuser/addOrUpdate", this.form).then(res => {
|
||||
if (res?.code == 0) {
|
||||
this.$message.success("提交成功!")
|
||||
this.dialog = false
|
||||
@@ -113,7 +113,7 @@ export default {
|
||||
},
|
||||
handleDelete(ids) {
|
||||
this.$confirm("是否要删除该成员?").then(() => {
|
||||
this.instance.post("/appfinancialorganizationuser/delete", null, {
|
||||
this.instance.post("/app/appfinancialorganizationuser/delete", null, {
|
||||
params: {ids}
|
||||
}).then(res => {
|
||||
if (res?.code == 0) {
|
||||
|
||||
@@ -155,7 +155,7 @@ export default {
|
||||
methods: {
|
||||
getDetail() {
|
||||
let {id} = this.$route.query
|
||||
id && this.instance.post("/appfinancialproduct/queryDetailById", null, {
|
||||
id && this.instance.post("/app/appfinancialproduct/queryDetailById", null, {
|
||||
params: {id}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
@@ -171,7 +171,7 @@ export default {
|
||||
let {form} = this
|
||||
form.faceUser = form.faceUser?.toString()
|
||||
form.guaranteeMode = form.guaranteeMode?.toString()
|
||||
this.instance.post("/appfinancialproduct/addOrUpdate", form).then(res => {
|
||||
this.instance.post("/app/appfinancialproduct/addOrUpdate", form).then(res => {
|
||||
if (res?.code == 0) {
|
||||
this.$message.success("提交成功!")
|
||||
this.back()
|
||||
|
||||
@@ -118,7 +118,7 @@ export default {
|
||||
methods: {
|
||||
getDetail() {
|
||||
let {id} = this.$route.query
|
||||
this.instance.post("/appfinancialproduct/queryDetailById", null, {
|
||||
this.instance.post("/app/appfinancialproduct/queryDetailById", null, {
|
||||
params: {id}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
@@ -135,7 +135,7 @@ export default {
|
||||
},
|
||||
getZWSP(id) {
|
||||
//贷款联审信息
|
||||
return this.instance.post("/approval-process-def/info-id", null, {params: {id}}).then(res => {
|
||||
return this.instance.post("/app/approval-process-def/info-id", null, {params: {id}}).then(res => {
|
||||
if (res?.data) {
|
||||
return res.data
|
||||
}
|
||||
@@ -145,7 +145,7 @@ export default {
|
||||
this.$refs.AuditForm.validate(v => {
|
||||
if (v) {
|
||||
let {id} = this.detail
|
||||
this.instance.post("/appfinancialproduct/auditProduct", null, {
|
||||
this.instance.post("/app/appfinancialproduct/auditProduct", null, {
|
||||
params: {id, ...this.form}
|
||||
}).then(res => {
|
||||
if (res?.code == 0) {
|
||||
|
||||
@@ -99,7 +99,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
getTableData() {
|
||||
this.instance.post("/appfinancialproduct/list", null, {
|
||||
this.instance.post("/app/appfinancialproduct/list", null, {
|
||||
params: {...this.page, ...this.search}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
@@ -119,7 +119,7 @@ export default {
|
||||
},
|
||||
handleDelete(ids) {
|
||||
this.$confirm("是否要删除该产品?").then(() => {
|
||||
this.instance.post("/appfinancialproduct/delete", null, {
|
||||
this.instance.post("/app/appfinancialproduct/delete", null, {
|
||||
params: {ids}
|
||||
}).then(res => {
|
||||
if (res?.code == 0) {
|
||||
|
||||
@@ -87,7 +87,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
getTableData() {
|
||||
this.instance.post("/appfinancialproductrecommend/list", null, {
|
||||
this.instance.post("/app/appfinancialproductrecommend/list", null, {
|
||||
params: {...this.page, ...this.search}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
@@ -103,7 +103,7 @@ export default {
|
||||
},
|
||||
handleDelete(ids) {
|
||||
this.$confirm("是否要删除该推荐?").then(() => {
|
||||
this.instance.post("/appfinancialproductrecommend/delete", null, {
|
||||
this.instance.post("/app/appfinancialproductrecommend/delete", null, {
|
||||
params: {ids}
|
||||
}).then(res => {
|
||||
if (res?.code == 0) {
|
||||
@@ -116,7 +116,7 @@ export default {
|
||||
submitAudit() {
|
||||
this.$refs.PRForm.validate(v => {
|
||||
if (v) {
|
||||
this.instance.post("/appfinancialproductrecommend/addOrUpdate", this.form).then(res => {
|
||||
this.instance.post("/app/appfinancialproductrecommend/addOrUpdate", this.form).then(res => {
|
||||
if (res?.code == 0) {
|
||||
this.$message.success("提交成功!")
|
||||
this.getTableData()
|
||||
@@ -128,7 +128,7 @@ export default {
|
||||
},
|
||||
getProducts() {
|
||||
let {organizationType} = this.form
|
||||
this.instance.post("/appfinancialproduct/list", null, {
|
||||
this.instance.post("/app/appfinancialproduct/list", null, {
|
||||
params: {organizationType, size: 999, status: 1}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
|
||||
@@ -97,7 +97,7 @@ export default {
|
||||
methods: {
|
||||
getDetail() {
|
||||
let {id} = this.$route.query
|
||||
id && this.instance.post("/appfinancialproduct/queryDetailById", null, {
|
||||
id && this.instance.post("/app/appfinancialproduct/queryDetailById", null, {
|
||||
params: {id}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
@@ -113,7 +113,7 @@ export default {
|
||||
let {form} = this
|
||||
form.faceUser = form.faceUser?.toString()
|
||||
form.guaranteeMode = form.guaranteeMode?.toString()
|
||||
this.instance.post("/appfinancialproduct/addOrUpdate", form).then(res => {
|
||||
this.instance.post("/app/appfinancialproduct/addOrUpdate", form).then(res => {
|
||||
if (res?.code == 0) {
|
||||
this.$message.success("提交成功!")
|
||||
this.back()
|
||||
|
||||
@@ -90,7 +90,7 @@ export default {
|
||||
methods: {
|
||||
getDetail() {
|
||||
let {id} = this.$route.query
|
||||
this.instance.post("/appfinancialproduct/queryDetailById", null, {
|
||||
this.instance.post("/app/appfinancialproduct/queryDetailById", null, {
|
||||
params: {id}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
@@ -107,7 +107,7 @@ export default {
|
||||
},
|
||||
getZWSP(id) {
|
||||
//贷款联审信息
|
||||
return this.instance.post("/approval-process-def/info-id", null, {params: {id}}).then(res => {
|
||||
return this.instance.post("/app/approval-process-def/info-id", null, {params: {id}}).then(res => {
|
||||
if (res?.data) {
|
||||
return res.data
|
||||
}
|
||||
@@ -117,7 +117,7 @@ export default {
|
||||
this.$refs.AuditForm.validate(v => {
|
||||
if (v) {
|
||||
let {id} = this.detail
|
||||
this.instance.post("/appfinancialproduct/auditProduct", null, {
|
||||
this.instance.post("/app/appfinancialproduct/auditProduct", null, {
|
||||
params: {id, ...this.form}
|
||||
}).then(res => {
|
||||
if (res?.code == 0) {
|
||||
|
||||
@@ -80,7 +80,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
getTableData() {
|
||||
this.instance.post("/appfinancialproduct/list", null, {
|
||||
this.instance.post("/app/appfinancialproduct/list", null, {
|
||||
params: {...this.page, ...this.search}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
@@ -100,7 +100,7 @@ export default {
|
||||
},
|
||||
handleDelete(ids) {
|
||||
this.$confirm("是否要删除该产品?").then(() => {
|
||||
this.instance.post("/appfinancialproduct/delete", null, {
|
||||
this.instance.post("/app/appfinancialproduct/delete", null, {
|
||||
params: {ids}
|
||||
}).then(res => {
|
||||
if (res?.code == 0) {
|
||||
|
||||
@@ -87,7 +87,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
getTableData() {
|
||||
this.instance.post("/appfinancialproductrecommend/list", null, {
|
||||
this.instance.post("/app/appfinancialproductrecommend/list", null, {
|
||||
params: {...this.page, ...this.search}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
@@ -103,7 +103,7 @@ export default {
|
||||
},
|
||||
handleDelete(ids) {
|
||||
this.$confirm("是否要删除该推荐?").then(() => {
|
||||
this.instance.post("/appfinancialproductrecommend/delete", null, {
|
||||
this.instance.post("/app/appfinancialproductrecommend/delete", null, {
|
||||
params: {ids}
|
||||
}).then(res => {
|
||||
if (res?.code == 0) {
|
||||
@@ -116,7 +116,7 @@ export default {
|
||||
submitAudit() {
|
||||
this.$refs.PRForm.validate(v => {
|
||||
if (v) {
|
||||
this.instance.post("/appfinancialproductrecommend/addOrUpdate", this.form).then(res => {
|
||||
this.instance.post("/app/appfinancialproductrecommend/addOrUpdate", this.form).then(res => {
|
||||
if (res?.code == 0) {
|
||||
this.$message.success("提交成功!")
|
||||
this.getTableData()
|
||||
@@ -128,7 +128,7 @@ export default {
|
||||
},
|
||||
getProducts() {
|
||||
let {organizationType} = this.form
|
||||
this.instance.post("/appfinancialproduct/list", null, {
|
||||
this.instance.post("/app/appfinancialproduct/list", null, {
|
||||
params: {organizationType, size: 999, status: 1}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
|
||||
@@ -214,7 +214,7 @@ export default {
|
||||
methods: {
|
||||
getDetail() {
|
||||
let {id} = this.$route.query
|
||||
this.instance.post("/appfinancialloanapply/queryDetailById", null, {
|
||||
this.instance.post("/app/appfinancialloanapply/queryDetailById", null, {
|
||||
params: {id}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
@@ -226,7 +226,7 @@ export default {
|
||||
this.$refs.AuditForm.validate(v => {
|
||||
if (v) {
|
||||
let {id} = this.detail
|
||||
this.instance.post("/appfinancialloanapply/auditLoanApply", null, {
|
||||
this.instance.post("/app/appfinancialloanapply/auditLoanApply", null, {
|
||||
params: {id, ...this.form}
|
||||
}).then(res => {
|
||||
if (res?.code == 0) {
|
||||
|
||||
@@ -104,7 +104,7 @@ export default {
|
||||
methods: {
|
||||
getTableData() {
|
||||
let status = this.search.status || 999
|
||||
this.instance.post("/appfinancialloanapply/list", null, {
|
||||
this.instance.post("/app/appfinancialloanapply/list", null, {
|
||||
params: {...this.page, ...this.search, status}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
|
||||
@@ -192,7 +192,7 @@ export default {
|
||||
this.getApply()
|
||||
},
|
||||
getApply() {
|
||||
this.instance.post("/appfinancialloanapply/staticFinancialLoanApplyByMainbody", null, {
|
||||
this.instance.post("/app/appfinancialloanapply/staticFinancialLoanApplyByMainbody", null, {
|
||||
params: {...this.search}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
@@ -201,7 +201,7 @@ export default {
|
||||
})
|
||||
},
|
||||
getOverviews() {
|
||||
this.instance.post("/appfinancialloanapply/staticFinancialLoanApplyByOrganization", null, {
|
||||
this.instance.post("/app/appfinancialloanapply/staticFinancialLoanApplyByOrganization", null, {
|
||||
params: {...this.search}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
@@ -210,7 +210,7 @@ export default {
|
||||
})
|
||||
},
|
||||
getProductTop10() {
|
||||
this.instance.post("/appfinancialloanapply/queryHotFinancialProduct", null, {
|
||||
this.instance.post("/app/appfinancialloanapply/queryHotFinancialProduct", null, {
|
||||
params: {...this.search}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
@@ -219,7 +219,7 @@ export default {
|
||||
})
|
||||
},
|
||||
getTradeTrend() {
|
||||
this.instance.post("/appfinancialloanapply/queryFinancialLoanApplyByMonth", null, {
|
||||
this.instance.post("/app/appfinancialloanapply/queryFinancialLoanApplyByMonth", null, {
|
||||
params: {...this.search}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
|
||||
@@ -82,7 +82,7 @@ export default {
|
||||
methods: {
|
||||
getDetail() {
|
||||
let {id} = this.$route.query
|
||||
this.instance.post("/appfinancingdemand/queryDetailById", null, {
|
||||
this.instance.post("/app/appfinancingdemand/queryDetailById", null, {
|
||||
params: {id}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
@@ -91,7 +91,7 @@ export default {
|
||||
})
|
||||
},
|
||||
handleGrab() {
|
||||
this.instance.post("/appfinancingdemand/obtain", null, {
|
||||
this.instance.post("/app/appfinancingdemand/obtain", null, {
|
||||
params: {id: this.detail.id}
|
||||
}).then(res => {
|
||||
if (res.code == 0) {
|
||||
@@ -102,7 +102,7 @@ export default {
|
||||
},
|
||||
handleCancel() {
|
||||
this.$confirm("是否要取消本次融资需求发布?").then(() => {
|
||||
this.instance.post("/appfinancingdemand/cancelObtain", null, {
|
||||
this.instance.post("/app/appfinancingdemand/cancelObtain", null, {
|
||||
params: {id: this.detail.id}
|
||||
}).then(res => {
|
||||
if (res.code == 0) {
|
||||
|
||||
@@ -58,7 +58,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
getTableData() {
|
||||
this.instance.post("/appfinancingdemand/list", null, {
|
||||
this.instance.post("/app/appfinancingdemand/list", null, {
|
||||
params: {...this.page, ...this.search, status: 0}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
|
||||
@@ -115,7 +115,7 @@ export default {
|
||||
methods: {
|
||||
getDetail() {
|
||||
let {id} = this.$route.query
|
||||
this.instance.post("/appfinancingdemand/queryDetailById", null, {
|
||||
this.instance.post("/app/appfinancingdemand/queryDetailById", null, {
|
||||
params: {id}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
@@ -125,7 +125,7 @@ export default {
|
||||
},
|
||||
handleCancel() {
|
||||
this.$confirm("是否要回退本次融资需求订单?").then(() => {
|
||||
this.instance.post("/appfinancingdemand/cancelObtain", null, {
|
||||
this.instance.post("/app/appfinancingdemand/cancelObtain", null, {
|
||||
params: {id: this.detail.id}
|
||||
}).then(res => {
|
||||
if (res?.code == 0) {
|
||||
@@ -139,7 +139,7 @@ export default {
|
||||
this.$refs.AuditForm.validate(v => {
|
||||
if (v) {
|
||||
let {id} = this.detail
|
||||
this.instance.post("/appfinancingdemand/confirmLoan", null, {
|
||||
this.instance.post("/app/appfinancingdemand/confirmLoan", null, {
|
||||
params: {id, ...this.form}
|
||||
}).then(res => {
|
||||
if (res?.code == 0) {
|
||||
|
||||
@@ -82,7 +82,7 @@ export default {
|
||||
methods: {
|
||||
getTableData() {
|
||||
let status = this.search.status || 999
|
||||
this.instance.post("/appfinancingdemand/list", null, {
|
||||
this.instance.post("/app/appfinancingdemand/list", null, {
|
||||
params: {...this.page, ...this.search, organizationId: this.user.financeUser?.organizationId, status}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
|
||||
@@ -134,7 +134,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
getTableData() {
|
||||
this.instance.post(`/appfinancingdemand/staticFinancialDemandByOrganization?areaId=${this.search.areaId}&organizationId=${this.search.organizationId}`).then(res => {
|
||||
this.instance.post(`/app/appfinancingdemand/staticFinancialDemandByOrganization?areaId=${this.search.areaId}&organizationId=${this.search.organizationId}`).then(res => {
|
||||
if (res?.data) {
|
||||
// if (res.data['对接成功率(%)']) {
|
||||
// res.data['对接成功率(%)'] = Number(res.data['对接成功率(%)'] * 100) + '%'
|
||||
@@ -142,13 +142,13 @@ export default {
|
||||
this.cloList = res.data
|
||||
}
|
||||
})
|
||||
this.instance.post(`/appfinancingdemand/staticFinancialDemandByApplyType?areaId=${this.search.areaId}&organizationId=${this.search.organizationId}`).then(res => {
|
||||
this.instance.post(`/app/appfinancingdemand/staticFinancialDemandByApplyType?areaId=${this.search.areaId}&organizationId=${this.search.organizationId}`).then(res => {
|
||||
if (res?.data) {
|
||||
this.applyInfo = res.data
|
||||
this.circleChartInit(this.applyInfo)
|
||||
}
|
||||
})
|
||||
this.instance.post(`/appfinancingdemand/staticFinancialDemandByHot?areaId=${this.search.areaId}&organizationId=${this.search.organizationId}`).then(res => {
|
||||
this.instance.post(`/app/appfinancingdemand/staticFinancialDemandByHot?areaId=${this.search.areaId}&organizationId=${this.search.organizationId}`).then(res => {
|
||||
if (res?.data) {
|
||||
var nameList = [], applyList = [], auditList = []
|
||||
res.data.map((item) => {
|
||||
@@ -159,7 +159,7 @@ export default {
|
||||
this.columnChartInit(nameList, applyList, auditList)
|
||||
}
|
||||
})
|
||||
this.instance.post(`/appfinancingdemand/staticFinancialDemandByMonth?areaId=${this.search.areaId}&organizationId=${this.search.organizationId}`).then(res => {
|
||||
this.instance.post(`/app/appfinancingdemand/staticFinancialDemandByMonth?areaId=${this.search.areaId}&organizationId=${this.search.organizationId}`).then(res => {
|
||||
if (res?.data) {
|
||||
var monthList = [], applyList = [], auditList = []
|
||||
res.data.map((item) => {
|
||||
@@ -174,7 +174,7 @@ export default {
|
||||
},
|
||||
getList() {
|
||||
let status = this.search.status || 999
|
||||
this.instance.post("/appfinancingdemand/list", null, {
|
||||
this.instance.post("/app/appfinancingdemand/list", null, {
|
||||
params: {...this.page, ...this.search, status}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
|
||||
@@ -68,7 +68,7 @@ export default {
|
||||
methods: {
|
||||
getTableData() {
|
||||
let status = this.search.status || 999
|
||||
this.instance.post("/appfinancialloanapply/list", null, {
|
||||
this.instance.post("/app/appfinancialloanapply/list", null, {
|
||||
params: {...this.page, ...this.search, status}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
|
||||
@@ -75,7 +75,7 @@ export default {
|
||||
methods: {
|
||||
getTableData() {
|
||||
let status = this.search.status || 888
|
||||
this.instance.post("/appfinancingdemand/list", null, {
|
||||
this.instance.post("/app/appfinancingdemand/list", null, {
|
||||
params: {...this.page, ...this.search, status}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
|
||||
@@ -115,7 +115,7 @@ export default {
|
||||
*/
|
||||
save() {
|
||||
this.$refs.processApproval?.handleProcessApproval().then(res => {
|
||||
this.instance.post(`/approval-process-def/add-update`, {
|
||||
this.instance.post(`/app/approval-process-def/add-update`, {
|
||||
...this.detailObj,
|
||||
...this.baseInfo,
|
||||
processDefStatus: Number(this.baseInfo.processDefStatus),
|
||||
@@ -135,7 +135,7 @@ export default {
|
||||
})
|
||||
},
|
||||
getDetail(id) {
|
||||
this.instance.post(`/approval-process-def/info-id`, null, {params: {id}}).then(res => {
|
||||
this.instance.post(`/app/approval-process-def/info-id`, null, {params: {id}}).then(res => {
|
||||
if (res?.data) {
|
||||
this.detailObj = res.data
|
||||
}
|
||||
|
||||
@@ -103,7 +103,7 @@ export default {
|
||||
methods: {
|
||||
getCompanyInfo() {
|
||||
let {enterpriseId: id} = this
|
||||
this.instance.post(`/appcreditreport/info`, null, {
|
||||
this.instance.post(`/app/appcreditreport/info`, null, {
|
||||
params: {id, type: 1}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
@@ -113,7 +113,7 @@ export default {
|
||||
},
|
||||
handleDownload(id) {
|
||||
this.$confirm("是否要下载报告?").then(() => {
|
||||
this.instance.post("/appcreditreport/downloadCreditReport", null, {
|
||||
this.instance.post("/app/appcreditreport/downloadCreditReport", null, {
|
||||
params: {id, type: 1}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
|
||||
@@ -113,7 +113,7 @@ export default {
|
||||
methods: {
|
||||
getPCR() {
|
||||
let {personId: id} = this
|
||||
return this.instance.post(`/appcreditreport/info`, null, {
|
||||
return this.instance.post(`/app/appcreditreport/info`, null, {
|
||||
params: {id, type: 0}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
@@ -123,7 +123,7 @@ export default {
|
||||
},
|
||||
handleDownload(id) {
|
||||
this.$confirm("是否要下载报告?").then(() => {
|
||||
this.instance.post("/appcreditreport/downloadCreditReport", null, {
|
||||
this.instance.post("/app/appcreditreport/downloadCreditReport", null, {
|
||||
params: {id, type: 0}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
|
||||
Reference in New Issue
Block a user