客户号
@@ -109,7 +111,7 @@
{{ dtl['INDEX_NAME'] }}
- {{ dtl['INDEX_VALUE'] }}
+ {{ Round(dtl['INDEX_VALUE'], 2) }}
{{ Round(dtl['INDEX_SCORE_G'], 2) }}
diff --git a/irbs.frontend/src/views/custRating/LaunchRatingDialog.vue b/irbs.frontend/src/views/custRating/LaunchRatingDialog.vue
index 64f0441..db48ab4 100644
--- a/irbs.frontend/src/views/custRating/LaunchRatingDialog.vue
+++ b/irbs.frontend/src/views/custRating/LaunchRatingDialog.vue
@@ -9,10 +9,11 @@
:sort-no="true"
:checkbox-selection="false"
:config-button="false"
- :query-form-cols-num="2"
+ :query-form-cols-num="3"
:query-form-fields="customerGrid.queryFormFields"
:columns="customerGrid.columns"
:toolbar-actions="customerGrid.buttons"
+ :sort-by="['-lastModifyDate']"
>
@@ -119,8 +120,9 @@ const dialogButtons = [
const customerGrid = {
queryFormFields: [
- { label: '客户号', name: 'custNo', type: 'text', defaultValue: '2100601306' },
+ { label: '客户号', name: 'custNo', type: 'text' }, //defaultValue: '2100601306'
{ label: '客户名称', name: 'custName', type: 'text' },
+ { label: '企业规模', name: 'corpSizeCd', type: 'select', options: props.dictionary.optionsCustomerSizeCd },
],
buttons: ['query', 'reset'],
columns: [
diff --git a/irbs.frontend/src/views/custRating/RatingDialog.vue b/irbs.frontend/src/views/custRating/RatingDialog.vue
index 4d7b244..76ebaaf 100644
--- a/irbs.frontend/src/views/custRating/RatingDialog.vue
+++ b/irbs.frontend/src/views/custRating/RatingDialog.vue
@@ -14,7 +14,10 @@
- {{ state.custInfoObj['custName'] }}上市
+ {{ state.custInfoObj['custName'] }}
+ 上市
+
+
+
+
+ 客户信息补录
+
+
+
+
+
+
+
+
-
+
{{ key }}
@@ -392,7 +408,9 @@
{{ dtl['INDEX_NAME'] }}
- {{ dtl['INDEX_VALUE'] }}
+
+ {{ Round(dtl['INDEX_VALUE'], 2) }}
+
@@ -680,7 +698,10 @@
- {{ state.custInfoObj['custName'] }}上市
+ {{ state.custInfoObj['custName']
+ }}上市
客户号
@@ -789,7 +810,9 @@
{{ dtl['INDEX_NAME'] }}
- {{ dtl['INDEX_VALUE'] }}
+
+ {{ Round(dtl['INDEX_SCORE'], 2) }}
+
@@ -1073,6 +1096,7 @@ const defaultRebirthGridRef = ref();
const overturnFormRef = ref();
const workflowActionRef = ref();
const adjustItemGridRef = ref();
+const custFormRef = ref();
const props = defineProps({
dictionary: {
type: Object,
@@ -1256,7 +1280,9 @@ const custInfoNext = async (loading = false) => {
showLoading('正在获取定量得分,请稍等...');
}
await axios
- .get(Environment.apiContextPath('api/irbs/companyRating/stepQuan'), { params: { ratingId: state.rating['id'], page: state.viewFlag ? 'detail' : 'apply' } })
+ .get(Environment.apiContextPath('api/irbs/companyRating/stepQuan'), {
+ params: { ratingId: state.rating['id'], actuCtrlYears: custFormRef.value.getFieldValue('actuCtrlYears'), page: state.viewFlag ? 'detail' : 'apply' },
+ })
.then((resp) => {
hideLoading();
if (resp && resp.data && resp.data.quanScore) {
@@ -1268,6 +1294,9 @@ const custInfoNext = async (loading = false) => {
hideLoading();
console.info('error====', error);
});
+ if (systemParameter.showIndex) {
+ await getScoreDetail();
+ }
await axios
.get(Environment.apiContextPath('api/irbs/companyRating/stepQual'), { params: { ratingId: state.rating['id'], page: state.viewFlag ? 'detail' : 'apply' } })
.then((resp) => {
@@ -1730,12 +1759,14 @@ const getScoreDetail = async () => {
const groupMap = groupByProperties(resp.data.content, 'INDEX_TYPE');
state.reportQuantitativeScoreDtl = groupByProperties(groupMap[RatingStep.DLFX], 'INDEX_CATEGORY');
state.reportQualitativeScoreDtl = groupByProperties(groupMap[RatingStep.DXFX], 'INDEX_CATEGORY');
- state.reportAdjustScoreDtl = groupByProperties(
- groupMap[RatingStep.PJTZX].filter((item) => {
- return item['INDEX_VALUE'] !== '0';
- }),
- 'INDEX_CATEGORY',
- );
+ if (groupMap[RatingStep.PJTZX] && groupMap[RatingStep.PJTZX].length > 0) {
+ state.reportAdjustScoreDtl = groupByProperties(
+ groupMap[RatingStep.PJTZX].filter((item) => {
+ return item['INDEX_VALUE'] !== '0';
+ }),
+ 'INDEX_CATEGORY',
+ );
+ }
}
})
.catch((error) => {
diff --git a/irbs.shrcb.poc/build.gradle b/irbs.shrcb.poc/build.gradle
index fe74955..1306ead 100644
--- a/irbs.shrcb.poc/build.gradle
+++ b/irbs.shrcb.poc/build.gradle
@@ -1,5 +1,6 @@
dependencies {
api(
"io.sc:io.sc.platform.mvc:${platform_version}",
+ project(":irbs.cust.rating"),
)
}
diff --git a/irbs.shrcb.poc/src/main/resources/META-INF/platform/plugins/liquibase.json b/irbs.shrcb.poc/src/main/resources/META-INF/platform/plugins/liquibase.json
index 7265b78..39e3994 100644
--- a/irbs.shrcb.poc/src/main/resources/META-INF/platform/plugins/liquibase.json
+++ b/irbs.shrcb.poc/src/main/resources/META-INF/platform/plugins/liquibase.json
@@ -23,3 +23,14 @@
}
]
*/
+
+[
+ {
+ "category" : "install",
+ "order" : 1000,
+ "description":"上农商POC相关表结构",
+ "locations":[
+ "liquibase/20240717_SHRCB_POC_ESB_DDL.xml"
+ ]
+ }
+]
diff --git a/settings.gradle b/settings.gradle
index b5bedfc..d306114 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -9,3 +9,4 @@ include 'irbs.help.doc'
include 'irbs.reports'
include 'irbs.riskExposure'
include 'irbs.shrcb.poc'
+include 'irbs.shrcb.poc.frontend'
\ No newline at end of file