修正接口请求

This commit is contained in:
aixianling
2022-08-26 14:24:34 +08:00
parent 44ca30cbf3
commit ce1fd46b7e
53 changed files with 151 additions and 151 deletions

View File

@@ -161,7 +161,7 @@ export default {
this.forms = JSON.parse(JSON.stringify(this.data)) this.forms = JSON.parse(JSON.stringify(this.data))
}, },
getDetail(id) { 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) { if (res.code === 0) {
this.data = res.data this.data = res.data
} }
@@ -170,7 +170,7 @@ export default {
confirm() { confirm() {
this.$refs.forms.validate((valid) => { this.$refs.forms.validate((valid) => {
if (valid) { if (valid) {
this.instance.post(`/appcreditadminstrativelicense/addOrUpdate`, { this.instance.post(`/app/appcreditadminstrativelicense/addOrUpdate`, {
...this.forms, ...this.forms,
id: this.params.id || '', id: this.params.id || '',
}).then(res => { }).then(res => {

View File

@@ -74,7 +74,7 @@ export default {
// this.getTableData() // this.getTableData()
// }, // },
getTableData() { getTableData() {
this.instance.post("/appcreditadminstrativelicense/list", null, { this.instance.post("/app/appcreditadminstrativelicense/list", null, {
params: {...this.page, ...this.search, ...this.select} params: {...this.page, ...this.search, ...this.select}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {
@@ -94,7 +94,7 @@ export default {
}, },
handleDelete(id) { handleDelete(id) {
this.$confirm("是否要删除").then(() => { 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) { if (res.code == 0) {
this.$message.success("删除成功") this.$message.success("删除成功")
this.getTableData() this.getTableData()

View File

@@ -167,7 +167,7 @@ export default {
this.forms = JSON.parse(JSON.stringify(this.data)) this.forms = JSON.parse(JSON.stringify(this.data))
}, },
getDetail(id) { 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) { if (res.code === 0) {
this.data = res.data this.data = res.data
} }
@@ -176,7 +176,7 @@ export default {
confirm() { confirm() {
this.$refs.forms.validate((valid) => { this.$refs.forms.validate((valid) => {
if (valid) { if (valid) {
this.instance.post(`/appcreditadministrativesanction/addOrUpdate`, { this.instance.post(`/app/appcreditadministrativesanction/addOrUpdate`, {
...this.forms, ...this.forms,
id: this.params.id || '', id: this.params.id || '',
}).then(res => { }).then(res => {

View File

@@ -73,7 +73,7 @@ export default {
this.getTableData() this.getTableData()
}, },
getTableData() { getTableData() {
this.instance.post("/appcreditadministrativesanction/list", null, { this.instance.post("/app/appcreditadministrativesanction/list", null, {
params: {...this.page, ...this.search, ...this.select} params: {...this.page, ...this.search, ...this.select}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {
@@ -100,7 +100,7 @@ export default {
}, },
handleDelete(id) { handleDelete(id) {
this.$confirm("是否要删除?").then(() => { 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) { if (res.code == 0) {
this.$message.success("删除成功") this.$message.success("删除成功")
this.getTableData() this.getTableData()

View File

@@ -146,7 +146,7 @@ export default {
this.forms=JSON.parse(JSON.stringify(this.data)) this.forms=JSON.parse(JSON.stringify(this.data))
}, },
getDetail(id) { 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) { if (res.code === 0) {
this.data = res.data this.data = res.data
} }
@@ -155,7 +155,7 @@ export default {
confirm( ) { confirm( ) {
this.$refs.forms.validate((valid) => { this.$refs.forms.validate((valid) => {
if (valid) { if (valid) {
this.instance.post(`/appcreditdishonestperson/addOrUpdate`, { this.instance.post(`/app/appcreditdishonestperson/addOrUpdate`, {
...this.forms, ...this.forms,
id: this.params.id || '', id: this.params.id || '',
}).then(res => { }).then(res => {

View File

@@ -67,7 +67,7 @@ export default {
}, },
methods: { methods: {
getTableData() { getTableData() {
this.instance.post("/appcreditdishonestperson/list", null, { this.instance.post("/app/appcreditdishonestperson/list", null, {
params: {...this.page, ...this.search,...this.select} params: {...this.page, ...this.search,...this.select}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {
@@ -94,7 +94,7 @@ export default {
// }, // },
handleDelete(id) { handleDelete(id) {
this.$confirm("是否要删除?").then(() => { 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) { if (res.code == 0) {
this.$message.success("删除成功") this.$message.success("删除成功")
this.getTableData() this.getTableData()

View File

@@ -240,7 +240,7 @@ export default {
this.tableData.splice(index, 1) this.tableData.splice(index, 1)
}, },
getDetail(id) { getDetail(id) {
this.instance.post(`/appcollectiveeconomyequity/queryDetailById`,null, { this.instance.post(`/app/appcollectiveeconomyequity/queryDetailById`,null, {
params: { params: {
id: id, id: id,
...this.page, ...this.page,
@@ -271,7 +271,7 @@ export default {
confirm() { confirm() {
this.$refs.form.validate((valid) => { this.$refs.form.validate((valid) => {
if (valid) { if (valid) {
this.instance.post(`/appcollectiveeconomyequity/addOrUpdate`, { this.instance.post(`/app/appcollectiveeconomyequity/addOrUpdate`, {
...this.form, ...this.form,
id: this.params.id || '', id: this.params.id || '',
shareholderList: this.tableData, shareholderList: this.tableData,

View File

@@ -70,7 +70,7 @@ export default {
}, },
methods: { methods: {
getTableData() { getTableData() {
this.instance.post("/appcollectiveeconomyequity/list", null, { this.instance.post("/app/appcollectiveeconomyequity/list", null, {
params: {...this.page, ...this.search,...this.select} params: {...this.page, ...this.search,...this.select}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {
@@ -89,7 +89,7 @@ export default {
}, },
handleDelete(id) { handleDelete(id) {
this.$confirm("是否要删除?").then(() => { 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) { if (res.code == 0) {
this.$message.success("删除成功") this.$message.success("删除成功")
this.getTableData() this.getTableData()

View File

@@ -175,7 +175,7 @@ export default {
this.form = JSON.parse(JSON.stringify(this.data)) this.form = JSON.parse(JSON.stringify(this.data))
}, },
getDetail(id) { 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) { if (res.code === 0) {
this.data = res.data this.data = res.data
} }
@@ -184,7 +184,7 @@ export default {
confirm() { confirm() {
this.$refs.form.validate((valid) => { this.$refs.form.validate((valid) => {
if (valid) { if (valid) {
this.instance.post(`/apphomesteadinfo/addOrUpdate`, { this.instance.post(`/app/apphomesteadinfo/addOrUpdate`, {
...this.form, ...this.form,
id: this.params.id || '', id: this.params.id || '',
}).then(res => { }).then(res => {

View File

@@ -74,7 +74,7 @@ export default {
methods: { methods: {
changeArea() {}, changeArea() {},
getTableData() { getTableData() {
this.instance.post("/apphomesteadinfo/list", null, { this.instance.post("/app/apphomesteadinfo/list", null, {
params: {...this.page, ...this.search,...this.select} params: {...this.page, ...this.search,...this.select}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {
@@ -93,7 +93,7 @@ export default {
}, },
handleDelete(id) { handleDelete(id) {
this.$confirm("是否要删除?").then(() => { 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) { if (res.code == 0) {
this.$message.success("删除成功") this.$message.success("删除成功")
this.getTableData() this.getTableData()

View File

@@ -221,7 +221,7 @@ export default {
this.form = JSON.parse(JSON.stringify(this.data)) this.form = JSON.parse(JSON.stringify(this.data))
}, },
getDetail(id) { 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) { if (res.code === 0) {
this.data = res.data this.data = res.data
} }
@@ -230,7 +230,7 @@ export default {
confirm() { confirm() {
this.$refs.form.validate((valid) => { this.$refs.form.validate((valid) => {
if (valid) { if (valid) {
this.instance.post(`/applandcirculateinfo/addOrUpdate`, { this.instance.post(`/app/applandcirculateinfo/addOrUpdate`, {
...this.form, ...this.form,
id: this.params.id || '', id: this.params.id || '',
}).then(res => { }).then(res => {

View File

@@ -82,7 +82,7 @@ export default {
}, },
methods: { methods: {
getTableData() { getTableData() {
this.instance.post("/applandcirculateinfo/list", null, { this.instance.post("/app/applandcirculateinfo/list", null, {
params: {...this.page, ...this.search,...this.select} params: {...this.page, ...this.search,...this.select}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {
@@ -106,7 +106,7 @@ export default {
}, },
handleDelete(id) { handleDelete(id) {
this.$confirm("是否要删除?").then(() => { 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) { if (res.code == 0) {
this.$message.success("删除成功") this.$message.success("删除成功")
this.getTableData() this.getTableData()

View File

@@ -91,7 +91,7 @@ export default {
methods: { methods: {
getDetail() { getDetail() {
let {id} = this.$route.query let {id} = this.$route.query
this.instance.post("/appleavemessage/queryDetailById", null, { this.instance.post("/app/appleavemessage/queryDetailById", null, {
params: {id} params: {id}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {
@@ -105,7 +105,7 @@ export default {
}, },
handleCloseMass(id) { handleCloseMass(id) {
this.$confirm("是否要关闭留言?").then(() => { this.$confirm("是否要关闭留言?").then(() => {
this.instance.post("/appleavemessage/close", null, { this.instance.post("/app/appleavemessage/close", null, {
params: {id} params: {id}
}).then(res => { }).then(res => {
if (res?.code == 0) { if (res?.code == 0) {
@@ -119,7 +119,7 @@ export default {
this.$refs.ReplyForm.validate(v => { this.$refs.ReplyForm.validate(v => {
if (v) { if (v) {
let {id: messageId} = this.detail 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) { if (res?.code == 0) {
this.$message.success("提交成功!") this.$message.success("提交成功!")
this.back() this.back()

View File

@@ -63,7 +63,7 @@ export default {
}, },
methods: { methods: {
getTableData() { getTableData() {
this.instance.post("/appleavemessage/list", null, { this.instance.post("/app/appleavemessage/list", null, {
params: {...this.page, ...this.search} params: {...this.page, ...this.search}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {
@@ -78,7 +78,7 @@ export default {
handleEnable(row) { handleEnable(row) {
let openLabel = row.isOpen == 1 ? "取消公示" : "公示", isOpen = (Number(row.isOpen) + 1) % 2 let openLabel = row.isOpen == 1 ? "取消公示" : "公示", isOpen = (Number(row.isOpen) + 1) % 2
this.$confirm(`是否要${openLabel}留言?`).then(() => { this.$confirm(`是否要${openLabel}留言?`).then(() => {
this.instance.post("/appleavemessage/setIsOpen", null, { this.instance.post("/app/appleavemessage/setIsOpen", null, {
params: {id: row.id, isOpen} params: {id: row.id, isOpen}
}).then(res => { }).then(res => {
if (res?.code == 0) { if (res?.code == 0) {

View File

@@ -88,7 +88,7 @@ export default {
}, },
methods: { methods: {
getTableData() { getTableData() {
this.instance.post("/appzwspstatistics/list", null, { this.instance.post("/app/appzwspstatistics/list", null, {
params: {...this.page, ...this.search} params: {...this.page, ...this.search}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {
@@ -112,7 +112,7 @@ export default {
this.classList = res.data.records 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) { if (res?.data) {
res.data.records.map((item) => { res.data.records.map((item) => {
item.dictName = item.organizationName item.dictName = item.organizationName

View File

@@ -60,7 +60,7 @@ export default {
methods: { methods: {
getDetail() { getDetail() {
let {id} = this.$route.query let {id} = this.$route.query
this.instance.post("/appportaluser/queryDetailByPortalUserId", null, { this.instance.post("/app/appportaluser/queryDetailByPortalUserId", null, {
params: {id} params: {id}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {

View File

@@ -55,7 +55,7 @@ export default {
}, },
methods: { methods: {
getTableData() { getTableData() {
this.instance.post("/appportaluser/listPortalUser", null, { this.instance.post("/app/appportaluser/listPortalUser", null, {
params: {...this.page, ...this.search} params: {...this.page, ...this.search}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {
@@ -67,7 +67,7 @@ export default {
handleEnable(row) { handleEnable(row) {
let status = (Number(row.status) + 1) % 2 let status = (Number(row.status) + 1) % 2
this.$confirm(`是否要${this.dict.getLabel('portalUserStatus', status)}账号?`).then(() => { 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) { if (res?.code == 0) {
this.$message.success(this.dict.getLabel('portalUserStatus', status) + "成功!") this.$message.success(this.dict.getLabel('portalUserStatus', status) + "成功!")
this.getTableData() this.getTableData()

View File

@@ -134,7 +134,7 @@ export default {
methods: { methods: {
getDetail() { getDetail() {
let {id} = this.$route.query let {id} = this.$route.query
this.instance.post("/appportaluserenterprise/queryDetailById", null, { this.instance.post("/app/appportaluserenterprise/queryDetailById", null, {
params: {id} params: {id}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {

View File

@@ -60,7 +60,7 @@ export default {
}, },
methods: { methods: {
getTableData() { getTableData() {
this.instance.post("/appportaluserenterprise/list", null, { this.instance.post("/app/appportaluserenterprise/list", null, {
params: {...this.page, ...this.search, status: 1,...this.select} params: {...this.page, ...this.search, status: 1,...this.select}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {

View File

@@ -90,7 +90,7 @@ export default {
methods: { methods: {
getDetail() { getDetail() {
let {id} = this.$route.query let {id} = this.$route.query
this.instance.post("/appportaluserenterprise/queryDetailById", null, { this.instance.post("/app/appportaluserenterprise/queryDetailById", null, {
params: {id} params: {id}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {
@@ -102,7 +102,7 @@ export default {
this.$refs.AuditForm.validate(v => { this.$refs.AuditForm.validate(v => {
if (v) { if (v) {
let {id} = this.detail let {id} = this.detail
this.instance.post("/appportaluserenterprise/auditEnterprise", null, { this.instance.post("/app/appportaluserenterprise/auditEnterprise", null, {
params: {id, ...this.form} params: {id, ...this.form}
}).then(res => { }).then(res => {
if (res?.code == 0) { if (res?.code == 0) {

View File

@@ -63,7 +63,7 @@ export default {
}, },
methods: { methods: {
getTableData() { getTableData() {
this.instance.post("/appportaluserenterprise/list", null, { this.instance.post("/app/appportaluserenterprise/list", null, {
params: {...this.page, ...this.search, enterpriseStatus: 0} params: {...this.page, ...this.search, enterpriseStatus: 0}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {

View File

@@ -144,7 +144,7 @@ export default {
this.forms = JSON.parse(JSON.stringify(this.data)) this.forms = JSON.parse(JSON.stringify(this.data))
}, },
getDetail(id) { 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) { if (res.code === 0) {
this.data = res.data this.data = res.data
} }
@@ -153,7 +153,7 @@ export default {
confirm( ) { confirm( ) {
this.$refs.forms.validate((valid) => { this.$refs.forms.validate((valid) => {
if (valid) { if (valid) {
this.instance.post(`/appcreditpublicutilitiesarrears/addOrUpdate`, { this.instance.post(`/app/appcreditpublicutilitiesarrears/addOrUpdate`, {
...this.forms, ...this.forms,
id: this.params.id || '', id: this.params.id || '',
}).then(res => { }).then(res => {

View File

@@ -69,7 +69,7 @@ export default {
}, },
methods: { methods: {
getTableData() { getTableData() {
this.instance.post("/appcreditpublicutilitiesarrears/list", null, { this.instance.post("/app/appcreditpublicutilitiesarrears/list", null, {
params: {...this.page, ...this.search,...this.select} params: {...this.page, ...this.search,...this.select}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {
@@ -88,7 +88,7 @@ export default {
}, },
handleDelete(id) { handleDelete(id) {
this.$confirm("是否要删除?").then(() => { 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) { if (res.code == 0) {
this.$message.success("删除成功") this.$message.success("删除成功")
this.getTableData() this.getTableData()

View File

@@ -147,7 +147,7 @@ export default {
this.forms = JSON.parse(JSON.stringify(this.data)) this.forms = JSON.parse(JSON.stringify(this.data))
}, },
getDetail(id) { 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) { if (res.code === 0) {
this.data = res.data this.data = res.data
} }
@@ -156,7 +156,7 @@ export default {
confirm() { confirm() {
this.$refs.forms.validate((valid) => { this.$refs.forms.validate((valid) => {
if (valid) { if (valid) {
this.instance.post(`/appcredittaxinfo/addOrUpdate`, { this.instance.post(`/app/appcredittaxinfo/addOrUpdate`, {
...this.forms, ...this.forms,
id: this.params.id || '', id: this.params.id || '',
}).then(res => { }).then(res => {

View File

@@ -68,7 +68,7 @@ export default {
}, },
methods: { methods: {
getTableData() { getTableData() {
this.instance.post("/appcredittaxinfo/list", null, { this.instance.post("/app/appcredittaxinfo/list", null, {
params: {...this.page, ...this.search, ...this.select} params: {...this.page, ...this.search, ...this.select}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {
@@ -87,7 +87,7 @@ export default {
}, },
handleDelete(id) { handleDelete(id) {
this.$confirm("是否要删除?").then(() => { 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) { if (res.code == 0) {
this.$message.success("删除成功") this.$message.success("删除成功")
this.getTableData() this.getTableData()

View File

@@ -84,7 +84,7 @@ export default {
methods: { methods: {
getDetail() { getDetail() {
let {id} = this.$route.query let {id} = this.$route.query
id && this.instance.post("/appvideonews/getById", null, { id && this.instance.post("/app/appvideonews/getById", null, {
params: {id} params: {id}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {
@@ -96,7 +96,7 @@ export default {
this.$refs.VideoForm.validate(v => { this.$refs.VideoForm.validate(v => {
if (v) { if (v) {
let {form} = this let {form} = this
this.instance.post("/appvideonews/addOrUpdate", form).then(res => { this.instance.post("/app/appvideonews/addOrUpdate", form).then(res => {
if (res?.code == 0) { if (res?.code == 0) {
this.$message.success("提交成功!") this.$message.success("提交成功!")
this.back() this.back()

View File

@@ -61,7 +61,7 @@ export default {
}, },
methods: { methods: {
getTableData() { getTableData() {
this.instance.post("/appvideonews/list", null, { this.instance.post("/app/appvideonews/list", null, {
params: {...this.page, ...this.search} params: {...this.page, ...this.search}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {
@@ -78,7 +78,7 @@ export default {
}, },
handleDelete(ids) { handleDelete(ids) {
this.$confirm("是否要删除该视频?").then(() => { this.$confirm("是否要删除该视频?").then(() => {
this.instance.post("/appvideonews/delete", null, { this.instance.post("/app/appvideonews/delete", null, {
params: {ids} params: {ids}
}).then(res => { }).then(res => {
if (res?.code == 0) { if (res?.code == 0) {
@@ -104,7 +104,7 @@ export default {
handlePublic(row) { handlePublic(row) {
let openLabel = row.status == 1 ? "取消发布" : "发布", status = (Number(row.status) + 1) % 2 let openLabel = row.status == 1 ? "取消发布" : "发布", status = (Number(row.status) + 1) % 2
this.$confirm(`是否要${openLabel}视频?`).then(() => { this.$confirm(`是否要${openLabel}视频?`).then(() => {
this.instance.post("/appvideonews/setStatus", null, { this.instance.post("/app/appvideonews/setStatus", null, {
params: {id: row.id, status} params: {id: row.id, status}
}).then(res => { }).then(res => {
if (res?.code == 0) { if (res?.code == 0) {

View File

@@ -179,7 +179,7 @@ export default {
methods: { methods: {
getList() { getList() {
this.instance this.instance
.post(`/appbanner/list`, null, { .post(`/app/appbanner/list`, null, {
params: { params: {
...this.search, ...this.search,
...this.page, ...this.page,
@@ -212,7 +212,7 @@ export default {
addConfirm() { addConfirm() {
this.$refs.DialogForm.validate(v => { this.$refs.DialogForm.validate(v => {
if (v) { if (v) {
this.instance.post(`/appbanner/addOrUpdate`, { this.instance.post(`/app/appbanner/addOrUpdate`, {
imgUrl: this.dialogInfo.imgUrl?.[0]?.url, imgUrl: this.dialogInfo.imgUrl?.[0]?.url,
linkUrl: this.dialogInfo.linkUrl, linkUrl: this.dialogInfo.linkUrl,
status: this.status, status: this.status,
@@ -233,7 +233,7 @@ export default {
release(row) { release(row) {
this.$confirm('确定此操作?').then(() => { this.$confirm('确定此操作?').then(() => {
let status = row.status == 1 ? '0' : '1' 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) { if (res?.code == 0) {
this.$message.success("操作成功!") this.$message.success("操作成功!")
this.getList() this.getList()
@@ -244,7 +244,7 @@ export default {
// 详情 // 详情
detail(row) { detail(row) {
this.detailDialog = true 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 // imgUrl: this.dialogInfo.imgUrl[0].url
}) })
.then((res) => { .then((res) => {
@@ -267,7 +267,7 @@ export default {
this.$confirm('删除后不可恢复,是否要删除该记录?', { this.$confirm('删除后不可恢复,是否要删除该记录?', {
type: 'error', type: 'error',
}).then(() => { }).then(() => {
this.instance.post(`/appbanner/delete?ids=${id}`).then((res) => { this.instance.post(`/app/appbanner/delete?ids=${id}`).then((res) => {
if (res.code == 0) { if (res.code == 0) {
this.$message.success('删除成功!') this.$message.success('删除成功!')
this.getList() this.getList()

View File

@@ -86,7 +86,7 @@ export default {
}, },
methods: { methods: {
handleSearch() { 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} params: {...this.search, ...this.page}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {

View File

@@ -90,7 +90,7 @@ export default {
}, },
getList() { getList() {
let {id: portalUserId} = this.$route.query 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} params: {...this.page, portalUserId, doType: this.doType}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {

View File

@@ -86,7 +86,7 @@ export default {
}, },
methods: { methods: {
getTableData() { getTableData() {
this.instance.post("/appfinancialorganization/list", null, { this.instance.post("/app/appfinancialorganization/list", null, {
params: {...this.page, ...this.search} params: {...this.page, ...this.search}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {
@@ -100,7 +100,7 @@ export default {
this.$refs.addAccountForm.validate(v => { this.$refs.addAccountForm.validate(v => {
if (v) { if (v) {
let {form: {logoUrl: logo}} = this, logoUrl = logo?.[0]?.url 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) { if (res?.code == 0) {
this.$message.success("提交成功!") this.$message.success("提交成功!")
this.dialog = false this.dialog = false
@@ -117,7 +117,7 @@ export default {
}, },
handleDelete(ids) { handleDelete(ids) {
this.$confirm("是否要删除该机构?").then(() => { this.$confirm("是否要删除该机构?").then(() => {
this.instance.post("/appfinancialorganization/delete", null, { this.instance.post("/app/appfinancialorganization/delete", null, {
params: {ids} params: {ids}
}).then(res => { }).then(res => {
if (res?.code == 0) { if (res?.code == 0) {

View File

@@ -85,7 +85,7 @@ export default {
}, },
methods: { methods: {
getTableData() { getTableData() {
this.instance.post("/appfinancialorganizationuser/list", null, { this.instance.post("/app/appfinancialorganizationuser/list", null, {
params: {...this.page, ...this.search} params: {...this.page, ...this.search}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {
@@ -97,7 +97,7 @@ export default {
submitAddAcount() { submitAddAcount() {
this.$refs.addAccountForm.validate(v => { this.$refs.addAccountForm.validate(v => {
if (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) { if (res?.code == 0) {
this.$message.success("提交成功!") this.$message.success("提交成功!")
this.dialog = false this.dialog = false
@@ -113,7 +113,7 @@ export default {
}, },
handleDelete(ids) { handleDelete(ids) {
this.$confirm("是否要删除该成员?").then(() => { this.$confirm("是否要删除该成员?").then(() => {
this.instance.post("/appfinancialorganizationuser/delete", null, { this.instance.post("/app/appfinancialorganizationuser/delete", null, {
params: {ids} params: {ids}
}).then(res => { }).then(res => {
if (res?.code == 0) { if (res?.code == 0) {

View File

@@ -155,7 +155,7 @@ export default {
methods: { methods: {
getDetail() { getDetail() {
let {id} = this.$route.query let {id} = this.$route.query
id && this.instance.post("/appfinancialproduct/queryDetailById", null, { id && this.instance.post("/app/appfinancialproduct/queryDetailById", null, {
params: {id} params: {id}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {
@@ -171,7 +171,7 @@ export default {
let {form} = this let {form} = this
form.faceUser = form.faceUser?.toString() form.faceUser = form.faceUser?.toString()
form.guaranteeMode = form.guaranteeMode?.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) { if (res?.code == 0) {
this.$message.success("提交成功!") this.$message.success("提交成功!")
this.back() this.back()

View File

@@ -118,7 +118,7 @@ export default {
methods: { methods: {
getDetail() { getDetail() {
let {id} = this.$route.query let {id} = this.$route.query
this.instance.post("/appfinancialproduct/queryDetailById", null, { this.instance.post("/app/appfinancialproduct/queryDetailById", null, {
params: {id} params: {id}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {
@@ -135,7 +135,7 @@ export default {
}, },
getZWSP(id) { 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) { if (res?.data) {
return res.data return res.data
} }
@@ -145,7 +145,7 @@ export default {
this.$refs.AuditForm.validate(v => { this.$refs.AuditForm.validate(v => {
if (v) { if (v) {
let {id} = this.detail let {id} = this.detail
this.instance.post("/appfinancialproduct/auditProduct", null, { this.instance.post("/app/appfinancialproduct/auditProduct", null, {
params: {id, ...this.form} params: {id, ...this.form}
}).then(res => { }).then(res => {
if (res?.code == 0) { if (res?.code == 0) {

View File

@@ -99,7 +99,7 @@ export default {
}, },
methods: { methods: {
getTableData() { getTableData() {
this.instance.post("/appfinancialproduct/list", null, { this.instance.post("/app/appfinancialproduct/list", null, {
params: {...this.page, ...this.search} params: {...this.page, ...this.search}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {
@@ -119,7 +119,7 @@ export default {
}, },
handleDelete(ids) { handleDelete(ids) {
this.$confirm("是否要删除该产品?").then(() => { this.$confirm("是否要删除该产品?").then(() => {
this.instance.post("/appfinancialproduct/delete", null, { this.instance.post("/app/appfinancialproduct/delete", null, {
params: {ids} params: {ids}
}).then(res => { }).then(res => {
if (res?.code == 0) { if (res?.code == 0) {

View File

@@ -87,7 +87,7 @@ export default {
}, },
methods: { methods: {
getTableData() { getTableData() {
this.instance.post("/appfinancialproductrecommend/list", null, { this.instance.post("/app/appfinancialproductrecommend/list", null, {
params: {...this.page, ...this.search} params: {...this.page, ...this.search}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {
@@ -103,7 +103,7 @@ export default {
}, },
handleDelete(ids) { handleDelete(ids) {
this.$confirm("是否要删除该推荐?").then(() => { this.$confirm("是否要删除该推荐?").then(() => {
this.instance.post("/appfinancialproductrecommend/delete", null, { this.instance.post("/app/appfinancialproductrecommend/delete", null, {
params: {ids} params: {ids}
}).then(res => { }).then(res => {
if (res?.code == 0) { if (res?.code == 0) {
@@ -116,7 +116,7 @@ export default {
submitAudit() { submitAudit() {
this.$refs.PRForm.validate(v => { this.$refs.PRForm.validate(v => {
if (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) { if (res?.code == 0) {
this.$message.success("提交成功!") this.$message.success("提交成功!")
this.getTableData() this.getTableData()
@@ -128,7 +128,7 @@ export default {
}, },
getProducts() { getProducts() {
let {organizationType} = this.form let {organizationType} = this.form
this.instance.post("/appfinancialproduct/list", null, { this.instance.post("/app/appfinancialproduct/list", null, {
params: {organizationType, size: 999, status: 1} params: {organizationType, size: 999, status: 1}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {

View File

@@ -97,7 +97,7 @@ export default {
methods: { methods: {
getDetail() { getDetail() {
let {id} = this.$route.query let {id} = this.$route.query
id && this.instance.post("/appfinancialproduct/queryDetailById", null, { id && this.instance.post("/app/appfinancialproduct/queryDetailById", null, {
params: {id} params: {id}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {
@@ -113,7 +113,7 @@ export default {
let {form} = this let {form} = this
form.faceUser = form.faceUser?.toString() form.faceUser = form.faceUser?.toString()
form.guaranteeMode = form.guaranteeMode?.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) { if (res?.code == 0) {
this.$message.success("提交成功!") this.$message.success("提交成功!")
this.back() this.back()

View File

@@ -90,7 +90,7 @@ export default {
methods: { methods: {
getDetail() { getDetail() {
let {id} = this.$route.query let {id} = this.$route.query
this.instance.post("/appfinancialproduct/queryDetailById", null, { this.instance.post("/app/appfinancialproduct/queryDetailById", null, {
params: {id} params: {id}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {
@@ -107,7 +107,7 @@ export default {
}, },
getZWSP(id) { 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) { if (res?.data) {
return res.data return res.data
} }
@@ -117,7 +117,7 @@ export default {
this.$refs.AuditForm.validate(v => { this.$refs.AuditForm.validate(v => {
if (v) { if (v) {
let {id} = this.detail let {id} = this.detail
this.instance.post("/appfinancialproduct/auditProduct", null, { this.instance.post("/app/appfinancialproduct/auditProduct", null, {
params: {id, ...this.form} params: {id, ...this.form}
}).then(res => { }).then(res => {
if (res?.code == 0) { if (res?.code == 0) {

View File

@@ -80,7 +80,7 @@ export default {
}, },
methods: { methods: {
getTableData() { getTableData() {
this.instance.post("/appfinancialproduct/list", null, { this.instance.post("/app/appfinancialproduct/list", null, {
params: {...this.page, ...this.search} params: {...this.page, ...this.search}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {
@@ -100,7 +100,7 @@ export default {
}, },
handleDelete(ids) { handleDelete(ids) {
this.$confirm("是否要删除该产品?").then(() => { this.$confirm("是否要删除该产品?").then(() => {
this.instance.post("/appfinancialproduct/delete", null, { this.instance.post("/app/appfinancialproduct/delete", null, {
params: {ids} params: {ids}
}).then(res => { }).then(res => {
if (res?.code == 0) { if (res?.code == 0) {

View File

@@ -87,7 +87,7 @@ export default {
}, },
methods: { methods: {
getTableData() { getTableData() {
this.instance.post("/appfinancialproductrecommend/list", null, { this.instance.post("/app/appfinancialproductrecommend/list", null, {
params: {...this.page, ...this.search} params: {...this.page, ...this.search}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {
@@ -103,7 +103,7 @@ export default {
}, },
handleDelete(ids) { handleDelete(ids) {
this.$confirm("是否要删除该推荐?").then(() => { this.$confirm("是否要删除该推荐?").then(() => {
this.instance.post("/appfinancialproductrecommend/delete", null, { this.instance.post("/app/appfinancialproductrecommend/delete", null, {
params: {ids} params: {ids}
}).then(res => { }).then(res => {
if (res?.code == 0) { if (res?.code == 0) {
@@ -116,7 +116,7 @@ export default {
submitAudit() { submitAudit() {
this.$refs.PRForm.validate(v => { this.$refs.PRForm.validate(v => {
if (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) { if (res?.code == 0) {
this.$message.success("提交成功!") this.$message.success("提交成功!")
this.getTableData() this.getTableData()
@@ -128,7 +128,7 @@ export default {
}, },
getProducts() { getProducts() {
let {organizationType} = this.form let {organizationType} = this.form
this.instance.post("/appfinancialproduct/list", null, { this.instance.post("/app/appfinancialproduct/list", null, {
params: {organizationType, size: 999, status: 1} params: {organizationType, size: 999, status: 1}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {

View File

@@ -214,7 +214,7 @@ export default {
methods: { methods: {
getDetail() { getDetail() {
let {id} = this.$route.query let {id} = this.$route.query
this.instance.post("/appfinancialloanapply/queryDetailById", null, { this.instance.post("/app/appfinancialloanapply/queryDetailById", null, {
params: {id} params: {id}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {
@@ -226,7 +226,7 @@ export default {
this.$refs.AuditForm.validate(v => { this.$refs.AuditForm.validate(v => {
if (v) { if (v) {
let {id} = this.detail let {id} = this.detail
this.instance.post("/appfinancialloanapply/auditLoanApply", null, { this.instance.post("/app/appfinancialloanapply/auditLoanApply", null, {
params: {id, ...this.form} params: {id, ...this.form}
}).then(res => { }).then(res => {
if (res?.code == 0) { if (res?.code == 0) {

View File

@@ -104,7 +104,7 @@ export default {
methods: { methods: {
getTableData() { getTableData() {
let status = this.search.status || 999 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} params: {...this.page, ...this.search, status}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {

View File

@@ -192,7 +192,7 @@ export default {
this.getApply() this.getApply()
}, },
getApply() { getApply() {
this.instance.post("/appfinancialloanapply/staticFinancialLoanApplyByMainbody", null, { this.instance.post("/app/appfinancialloanapply/staticFinancialLoanApplyByMainbody", null, {
params: {...this.search} params: {...this.search}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {
@@ -201,7 +201,7 @@ export default {
}) })
}, },
getOverviews() { getOverviews() {
this.instance.post("/appfinancialloanapply/staticFinancialLoanApplyByOrganization", null, { this.instance.post("/app/appfinancialloanapply/staticFinancialLoanApplyByOrganization", null, {
params: {...this.search} params: {...this.search}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {
@@ -210,7 +210,7 @@ export default {
}) })
}, },
getProductTop10() { getProductTop10() {
this.instance.post("/appfinancialloanapply/queryHotFinancialProduct", null, { this.instance.post("/app/appfinancialloanapply/queryHotFinancialProduct", null, {
params: {...this.search} params: {...this.search}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {
@@ -219,7 +219,7 @@ export default {
}) })
}, },
getTradeTrend() { getTradeTrend() {
this.instance.post("/appfinancialloanapply/queryFinancialLoanApplyByMonth", null, { this.instance.post("/app/appfinancialloanapply/queryFinancialLoanApplyByMonth", null, {
params: {...this.search} params: {...this.search}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {

View File

@@ -82,7 +82,7 @@ export default {
methods: { methods: {
getDetail() { getDetail() {
let {id} = this.$route.query let {id} = this.$route.query
this.instance.post("/appfinancingdemand/queryDetailById", null, { this.instance.post("/app/appfinancingdemand/queryDetailById", null, {
params: {id} params: {id}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {
@@ -91,7 +91,7 @@ export default {
}) })
}, },
handleGrab() { handleGrab() {
this.instance.post("/appfinancingdemand/obtain", null, { this.instance.post("/app/appfinancingdemand/obtain", null, {
params: {id: this.detail.id} params: {id: this.detail.id}
}).then(res => { }).then(res => {
if (res.code == 0) { if (res.code == 0) {
@@ -102,7 +102,7 @@ export default {
}, },
handleCancel() { handleCancel() {
this.$confirm("是否要取消本次融资需求发布?").then(() => { this.$confirm("是否要取消本次融资需求发布?").then(() => {
this.instance.post("/appfinancingdemand/cancelObtain", null, { this.instance.post("/app/appfinancingdemand/cancelObtain", null, {
params: {id: this.detail.id} params: {id: this.detail.id}
}).then(res => { }).then(res => {
if (res.code == 0) { if (res.code == 0) {

View File

@@ -58,7 +58,7 @@ export default {
}, },
methods: { methods: {
getTableData() { getTableData() {
this.instance.post("/appfinancingdemand/list", null, { this.instance.post("/app/appfinancingdemand/list", null, {
params: {...this.page, ...this.search, status: 0} params: {...this.page, ...this.search, status: 0}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {

View File

@@ -115,7 +115,7 @@ export default {
methods: { methods: {
getDetail() { getDetail() {
let {id} = this.$route.query let {id} = this.$route.query
this.instance.post("/appfinancingdemand/queryDetailById", null, { this.instance.post("/app/appfinancingdemand/queryDetailById", null, {
params: {id} params: {id}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {
@@ -125,7 +125,7 @@ export default {
}, },
handleCancel() { handleCancel() {
this.$confirm("是否要回退本次融资需求订单?").then(() => { this.$confirm("是否要回退本次融资需求订单?").then(() => {
this.instance.post("/appfinancingdemand/cancelObtain", null, { this.instance.post("/app/appfinancingdemand/cancelObtain", null, {
params: {id: this.detail.id} params: {id: this.detail.id}
}).then(res => { }).then(res => {
if (res?.code == 0) { if (res?.code == 0) {
@@ -139,7 +139,7 @@ export default {
this.$refs.AuditForm.validate(v => { this.$refs.AuditForm.validate(v => {
if (v) { if (v) {
let {id} = this.detail let {id} = this.detail
this.instance.post("/appfinancingdemand/confirmLoan", null, { this.instance.post("/app/appfinancingdemand/confirmLoan", null, {
params: {id, ...this.form} params: {id, ...this.form}
}).then(res => { }).then(res => {
if (res?.code == 0) { if (res?.code == 0) {

View File

@@ -82,7 +82,7 @@ export default {
methods: { methods: {
getTableData() { getTableData() {
let status = this.search.status || 999 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} params: {...this.page, ...this.search, organizationId: this.user.financeUser?.organizationId, status}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {

View File

@@ -134,7 +134,7 @@ export default {
}, },
methods: { methods: {
getTableData() { 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) {
// if (res.data['对接成功率(%)']) { // if (res.data['对接成功率(%)']) {
// res.data['对接成功率(%)'] = Number(res.data['对接成功率(%)'] * 100) + '%' // res.data['对接成功率(%)'] = Number(res.data['对接成功率(%)'] * 100) + '%'
@@ -142,13 +142,13 @@ export default {
this.cloList = res.data 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) { if (res?.data) {
this.applyInfo = res.data this.applyInfo = res.data
this.circleChartInit(this.applyInfo) 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) { if (res?.data) {
var nameList = [], applyList = [], auditList = [] var nameList = [], applyList = [], auditList = []
res.data.map((item) => { res.data.map((item) => {
@@ -159,7 +159,7 @@ export default {
this.columnChartInit(nameList, applyList, auditList) 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) { if (res?.data) {
var monthList = [], applyList = [], auditList = [] var monthList = [], applyList = [], auditList = []
res.data.map((item) => { res.data.map((item) => {
@@ -174,7 +174,7 @@ export default {
}, },
getList() { getList() {
let status = this.search.status || 999 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} params: {...this.page, ...this.search, status}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {

View File

@@ -68,7 +68,7 @@ export default {
methods: { methods: {
getTableData() { getTableData() {
let status = this.search.status || 999 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} params: {...this.page, ...this.search, status}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {

View File

@@ -75,7 +75,7 @@ export default {
methods: { methods: {
getTableData() { getTableData() {
let status = this.search.status || 888 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} params: {...this.page, ...this.search, status}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {

View File

@@ -115,7 +115,7 @@ export default {
*/ */
save() { save() {
this.$refs.processApproval?.handleProcessApproval().then(res => { 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.detailObj,
...this.baseInfo, ...this.baseInfo,
processDefStatus: Number(this.baseInfo.processDefStatus), processDefStatus: Number(this.baseInfo.processDefStatus),
@@ -135,7 +135,7 @@ export default {
}) })
}, },
getDetail(id) { 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) { if (res?.data) {
this.detailObj = res.data this.detailObj = res.data
} }

View File

@@ -103,7 +103,7 @@ export default {
methods: { methods: {
getCompanyInfo() { getCompanyInfo() {
let {enterpriseId: id} = this let {enterpriseId: id} = this
this.instance.post(`/appcreditreport/info`, null, { this.instance.post(`/app/appcreditreport/info`, null, {
params: {id, type: 1} params: {id, type: 1}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {
@@ -113,7 +113,7 @@ export default {
}, },
handleDownload(id) { handleDownload(id) {
this.$confirm("是否要下载报告?").then(() => { this.$confirm("是否要下载报告?").then(() => {
this.instance.post("/appcreditreport/downloadCreditReport", null, { this.instance.post("/app/appcreditreport/downloadCreditReport", null, {
params: {id, type: 1} params: {id, type: 1}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {

View File

@@ -113,7 +113,7 @@ export default {
methods: { methods: {
getPCR() { getPCR() {
let {personId: id} = this let {personId: id} = this
return this.instance.post(`/appcreditreport/info`, null, { return this.instance.post(`/app/appcreditreport/info`, null, {
params: {id, type: 0} params: {id, type: 0}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {
@@ -123,7 +123,7 @@ export default {
}, },
handleDownload(id) { handleDownload(id) {
this.$confirm("是否要下载报告?").then(() => { this.$confirm("是否要下载报告?").then(() => {
this.instance.post("/appcreditreport/downloadCreditReport", null, { this.instance.post("/app/appcreditreport/downloadCreditReport", null, {
params: {id, type: 0} params: {id, type: 0}
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {