diff --git a/api/AccountPricePreliminaryRreview.js b/api/AccountPricePreliminaryRreview.js index 227d304..316dd4d 100644 --- a/api/AccountPricePreliminaryRreview.js +++ b/api/AccountPricePreliminaryRreview.js @@ -8,4 +8,32 @@ export const getPricePreliminaryReviewList = (data, query) => { data, params: query }) +} + +// 根据 ID 获取账期价格初审详情 +export const getPricePreliminaryReviewDetail = (query) => { + return request({ + method: 'get', + url: '/bussiness/baseusercredithistory/get-creditline-creditperiod', + params: query + }) +} + +// 获取账期审核/额度审核列表(两个列表一个接口) +export const getLastPaymentAndQuotaList = (data, query) => { + return request({ + method: 'post', + url: '/bussiness/baseusercredithistory/goods-credit-period-initial-review-list', + params: query, + data: data, + }) +} + +//账期终审/额度终审的回退(两个列表一个接口) +export const putBackDataLastPaymentOrQuota = (data) => { + return request({ + method: 'put', + url: '/bussiness/baseusercredithistory/goods-credit-period-repeatedly-review-back', + data, + }) } \ No newline at end of file diff --git a/pages/work/AccountPricePreliminaryRreview/children/AccountPeriod.vue b/pages/work/AccountPricePreliminaryRreview/children/AccountPeriod.vue new file mode 100644 index 0000000..2a0ffbf --- /dev/null +++ b/pages/work/AccountPricePreliminaryRreview/children/AccountPeriod.vue @@ -0,0 +1,107 @@ + + + \ No newline at end of file diff --git a/pages/work/AccountPricePreliminaryRreview/children/components/AccountPeriodReview.vue b/pages/work/AccountPricePreliminaryRreview/children/components/AccountPeriodReview.vue new file mode 100644 index 0000000..114068d --- /dev/null +++ b/pages/work/AccountPricePreliminaryRreview/children/components/AccountPeriodReview.vue @@ -0,0 +1,154 @@ + + + \ No newline at end of file diff --git a/pages/work/AccountPricePreliminaryRreview/index.vue b/pages/work/AccountPricePreliminaryRreview/index.vue index d35607e..6e6bb7d 100644 --- a/pages/work/AccountPricePreliminaryRreview/index.vue +++ b/pages/work/AccountPricePreliminaryRreview/index.vue @@ -14,7 +14,6 @@ - 序号 @@ -30,22 +29,49 @@ {{ item.areaName }} - + - + - + + + + + + + + + + @@ -57,6 +83,7 @@ import UniFormsItem from "../../../uni_modules/uni-forms/components/uni-forms-it import BusinessCompany from "../../../components/BusinessCompany.vue"; import UniForms from "../../../uni_modules/uni-forms/components/uni-forms/uni-forms.vue"; import {getPricePreliminaryReviewList} from "../../../api/AccountPricePreliminaryRreview"; +import AccountPeriod from "./children/AccountPeriod.vue"; defineOptions({ name: "AccountPricePreliminaryRreview" @@ -71,6 +98,8 @@ const paging = ref({ pageSize: 100, }) +const AccountPeriodRef = ref() + const handleQuery = async () => { const data = await getPricePreliminaryReviewList(queryParams.value, paging.value) tableData.value = data.rows @@ -81,4 +110,14 @@ const handleQuery = async () => { onMounted(async () => { await handleQuery() }) + +const handleShowAccountPeriod = (item) => { + AccountPeriodRef.value.openDrawer(item) +} + +const handleShowCreditLimit = (item) => { +} + +const handleShowPrice = (item) => { +} \ No newline at end of file