-
+
{
- console.log(action.title);
state.opinionData = {
transientVariables: {
opaVal: action.transientVariables.goback,
diff --git a/irbs.frontend/src/views/config/ShowScoreAuth.vue b/irbs.frontend/src/views/config/ShowScoreAuth.vue
index 71b5800..0725091 100644
--- a/irbs.frontend/src/views/config/ShowScoreAuth.vue
+++ b/irbs.frontend/src/views/config/ShowScoreAuth.vue
@@ -53,9 +53,9 @@
dense
:query-form-cols-num="3"
:query-form-fields="[
- { name: 'CODE_', label: '角色编码', type: 'text' },
- { name: 'NAME_', label: '角色名称', type: 'text' },
- { name: 'DESCRIPTION_', label: '角色描述', type: 'text' },
+ { name: 'CODE_', label: '角色编码', type: 'w-text' },
+ { name: 'NAME_', label: '角色名称', type: 'w-text' },
+ { name: 'DESCRIPTION_', label: '角色描述', type: 'w-text' },
]"
:columns="[
{ name: 'CODE_', label: '角色编码' },
diff --git a/irbs.frontend/src/views/custRating/CustRating.vue b/irbs.frontend/src/views/custRating/CustRating.vue
index f12f97a..4382b79 100644
--- a/irbs.frontend/src/views/custRating/CustRating.vue
+++ b/irbs.frontend/src/views/custRating/CustRating.vue
@@ -6,6 +6,7 @@
:data-url="Environment.apiContextPath('api/irbs/companyRating')"
:fetch-data-url="Environment.apiContextPath('api/irbs/companyRating/query')"
:sort-no="true"
+ group-mode="alone"
:checkbox-selection="false"
:query-form-cols-num="4"
:query-form-fields="companyRatingGrid.queryFormFields"
@@ -155,17 +156,17 @@ const companyRatingGrid = {
'separator',
],
queryFormFields: [
- { label: '申请编号', name: 'id', type: 'text' },
- { label: '客户号', name: 'custNo', type: 'text' },
- { label: '客户名称', name: 'custName', type: 'text' },
+ { label: '申请编号', name: 'id', type: 'w-text' },
+ { label: '客户号', name: 'custNo', type: 'w-text' },
+ { label: '客户名称', name: 'custName', type: 'w-text' },
{
label: '认定等级',
name: 'finalLevel',
- type: 'select',
+ type: 'w-select',
options: RatingLevelOptions,
},
- { label: '流程状态', name: 'processStatus', type: 'select', options: Options.enum(RatingProcessStatusEnum) },
- { label: '评级状态', name: 'ratingStatus', type: 'select', options: Options.enum(RatingStatusEnum) },
+ { label: '流程状态', name: 'processStatus', type: 'w-select', options: Options.enum(RatingProcessStatusEnum) },
+ { label: '评级状态', name: 'ratingStatus', type: 'w-select', options: Options.enum(RatingStatusEnum) },
],
columns: [
{ name: 'id', label: '申请编号', align: 'center', width: 150 },
diff --git a/irbs.frontend/src/views/custRating/LaunchRatingDialog.vue b/irbs.frontend/src/views/custRating/LaunchRatingDialog.vue
index 9703c37..3010177 100644
--- a/irbs.frontend/src/views/custRating/LaunchRatingDialog.vue
+++ b/irbs.frontend/src/views/custRating/LaunchRatingDialog.vue
@@ -1,26 +1,23 @@
-
-
-
+
@@ -146,9 +143,9 @@ const dialogButtons = [
const customerGrid = {
queryFormFields: [
- { label: '客户号', name: 'custNo', type: 'text' }, //defaultValue: '2100601306'
- { label: '客户名称', name: 'custName', type: 'text' },
- { label: '企业规模', name: 'corpSizeCd', type: 'select', options: props.dictionary.optionsCustomerSizeCd },
+ { label: '客户号', name: 'custNo', type: 'w-text' }, //defaultValue: '2100601306'
+ { label: '客户名称', name: 'custName', type: 'w-text' },
+ { label: '企业规模', name: 'corpSizeCd', type: 'w-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 1a785b8..d71d0fc 100644
--- a/irbs.frontend/src/views/custRating/RatingDialog.vue
+++ b/irbs.frontend/src/views/custRating/RatingDialog.vue
@@ -101,7 +101,7 @@
-
+
@@ -650,14 +650,14 @@
{
state.qualitativeEditInfo.push({
label: i + 1 + '、' + index.indexName,
name: index.indexCode,
- type: 'option-group',
+ type: 'w-radio',
+ simple: false,
+ inline: false,
+ outlined: false,
+ dense: false,
options: indexOptions,
defaultValue: index.indexValue,
});
} else {
- state.qualitativeEditInfo.push({ label: i + 1 + '、' + index.indexName, name: index.indexCode, type: 'option-group', options: indexOptions });
+ state.qualitativeEditInfo.push({
+ label: i + 1 + '、' + index.indexName,
+ name: index.indexCode,
+ type: 'w-radio',
+ simple: false,
+ inline: false,
+ outlined: false,
+ dense: false,
+ options: indexOptions,
+ });
}
state.qualitativeEditObj[index.indexCode] = [i + 1 + '、' + index.indexName, index];
}
@@ -1409,12 +1422,25 @@ const quantitativeNext = async () => {
state.qualitativeEditInfo.push({
label: i + 1 + '、' + index.indexName,
name: index.indexCode,
- type: 'option-group',
+ type: 'w-radio',
+ simple: false,
+ inline: false,
+ outlined: false,
+ dense: false,
options: indexOptions,
defaultValue: index.indexValue,
});
} else {
- state.qualitativeEditInfo.push({ label: i + 1 + '、' + index.indexName, name: index.indexCode, type: 'option-group', options: indexOptions });
+ state.qualitativeEditInfo.push({
+ label: i + 1 + '、' + index.indexName,
+ name: index.indexCode,
+ type: 'w-radio',
+ simple: false,
+ inline: false,
+ outlined: false,
+ dense: false,
+ options: indexOptions,
+ });
}
state.qualitativeEditObj[index.indexCode] = [i + 1 + '、' + index.indexName, index];
}
diff --git a/irbs.frontend/src/views/debtRating/LgdQuery.vue b/irbs.frontend/src/views/debtRating/LgdQuery.vue
index abe6c99..cf3e1f2 100644
--- a/irbs.frontend/src/views/debtRating/LgdQuery.vue
+++ b/irbs.frontend/src/views/debtRating/LgdQuery.vue
@@ -26,11 +26,11 @@ const $q = useQuasar();
const appDebtRatingGridRef = ref();
const appDebtRatingGrid = {
- buttons: [['query', 'separator', 'moreQuery'], 'reset'],
+ buttons: ['query', 'reset'],
queryFormFields: [
- { label: '债项编号', name: 'contractNo', type: 'text' },
- { label: '客户编号', name: 'custNo', type: 'text' },
- { label: '客户名称', name: 'custName', type: 'text' },
+ { label: '债项编号', name: 'contractNo', type: 'w-text' },
+ { label: '客户编号', name: 'custNo', type: 'w-text' },
+ { label: '客户名称', name: 'custName', type: 'w-text' },
],
columns: [
{ name: 'contractNo', label: '债项编号' },
diff --git a/irbs.frontend/src/views/default/CognizanceApply.vue b/irbs.frontend/src/views/default/CognizanceApply.vue
index 2f6b84d..291b4a5 100644
--- a/irbs.frontend/src/views/default/CognizanceApply.vue
+++ b/irbs.frontend/src/views/default/CognizanceApply.vue
@@ -51,7 +51,7 @@ const dictionary = {
const cognizanceGrid = {
buttons: [
- ['query', 'separator', 'moreQuery'],
+ 'query',
'reset',
'separator',
{
@@ -86,10 +86,10 @@ const cognizanceGrid = {
'separator',
],
queryFormFields: [
- { label: '申请编号', name: 'id', type: 'text' },
- { label: '客户号', name: 'custNo', type: 'text' },
- { label: '客户名称', name: 'custName', type: 'text' },
- { label: '流程状态', name: 'status', type: 'select', options: Options.enum(DefaultProcessStatusEnum) },
+ { label: '申请编号', name: 'id', type: 'w-text' },
+ { label: '客户号', name: 'custNo', type: 'w-text' },
+ { label: '客户名称', name: 'custName', type: 'w-text' },
+ { label: '流程状态', name: 'status', type: 'w-select', options: Options.enum(DefaultProcessStatusEnum) },
],
columns: [
{ name: 'id', label: '申请编号', width: 150 },
diff --git a/irbs.frontend/src/views/default/CognizanceDialog.vue b/irbs.frontend/src/views/default/CognizanceDialog.vue
index d8f283d..235332f 100644
--- a/irbs.frontend/src/views/default/CognizanceDialog.vue
+++ b/irbs.frontend/src/views/default/CognizanceDialog.vue
@@ -83,9 +83,9 @@
form: {
colsNum: 1,
fields: [
- { name: 'eventCode', label: '违约事件', type: 'select', options: DefaultEventItemOptions, required: true },
- { name: 'eventStartTime', label: '事件开始时间', type: 'date', required: true },
- { name: 'eventDesc', label: '违约事件说明', type: 'textarea' },
+ { name: 'eventCode', label: '违约事件', type: 'w-select', options: DefaultEventItemOptions, requiredIf: true },
+ { name: 'eventStartTime', label: '事件开始时间', type: 'w-date', requiredIf: true },
+ { name: 'eventDesc', label: '违约事件说明', type: 'w-textarea' },
],
},
}"
@@ -98,12 +98,12 @@
reqPageStart: 1,
}"
@before-editor-data-submit="
- (data, callback) => {
- data.defcusId = state.data['id'];
- data.custNo = state.data['custNo'];
- data.eventStatus = DefaultEventItemStatus.IN_DEFAULT;
- data.isValid = false;
- callback(data);
+ (args) => {
+ args.data.defcusId = state.data['id'];
+ args.data.custNo = state.data['custNo'];
+ args.data.eventStatus = DefaultEventItemStatus.IN_DEFAULT;
+ args.data.isValid = false;
+ args.callback(args.data);
}
"
>
@@ -199,8 +199,8 @@
ref="opinionFormRef"
:cols-num="1"
:fields="[
- { name: 'remarks', label: '意见说明', type: 'textarea', required: true, rows: 4 },
- { name: 'suggestUploadAnnx', label: '上传文件', type: 'file' },
+ { name: 'remarks', label: '意见说明', type: 'w-textarea', requiredIf: true, rows: 4 },
+ { name: 'suggestUploadAnnx', label: '上传文件', type: 'w-file' },
]"
>
diff --git a/irbs.frontend/src/views/default/RebirthApply.vue b/irbs.frontend/src/views/default/RebirthApply.vue
index b4f6712..6517a56 100644
--- a/irbs.frontend/src/views/default/RebirthApply.vue
+++ b/irbs.frontend/src/views/default/RebirthApply.vue
@@ -39,8 +39,8 @@
:query-form-cols-num="2"
:config-button="false"
:query-form-fields="[
- { name: 'CUST_NO', label: '客户号', type: 'text' },
- { name: 'CUST_NAME', label: '客户名称', type: 'text' },
+ { name: 'CUST_NO', label: '客户号', type: 'w-text' },
+ { name: 'CUST_NAME', label: '客户名称', type: 'w-text' },
]"
:pagination="{
reqPageStart: 1,
@@ -91,7 +91,7 @@ const DefaultProcessStatusEnum = await EnumTools.fetch('irbs.defaultManager.enum
const rebirthGrid = {
buttons: [
- ['query', 'separator', 'moreQuery'],
+ 'query',
'reset',
'separator',
{
@@ -142,10 +142,10 @@ const rebirthGrid = {
'separator',
],
queryFormFields: [
- { label: '申请编号', name: 'id', type: 'text' },
- { label: '客户号', name: 'custNo', type: 'text' },
- { label: '客户名称', name: 'custName', type: 'text' },
- { label: '流程状态', name: 'status', type: 'select', options: Options.enum(DefaultProcessStatusEnum) },
+ { label: '申请编号', name: 'id', type: 'w-text' },
+ { label: '客户号', name: 'custNo', type: 'w-text' },
+ { label: '客户名称', name: 'custName', type: 'w-text' },
+ { label: '流程状态', name: 'status', type: 'w-select', options: Options.enum(DefaultProcessStatusEnum) },
],
columns: [
{ name: 'id', label: '申请编号' },
diff --git a/irbs.frontend/src/views/default/RebirthDialog.vue b/irbs.frontend/src/views/default/RebirthDialog.vue
index c9acb9a..3f8c31a 100644
--- a/irbs.frontend/src/views/default/RebirthDialog.vue
+++ b/irbs.frontend/src/views/default/RebirthDialog.vue
@@ -178,8 +178,8 @@
ref="opinionFormRef"
:cols-num="1"
:fields="[
- { name: 'remarks', label: '意见说明', type: 'textarea', required: true, rows: 4 },
- { name: 'suggestUploadAnnx', label: '上传文件', type: 'file' },
+ { name: 'remarks', label: '意见说明', type: 'w-textarea', requiredIf: true, rows: 4 },
+ { name: 'suggestUploadAnnx', label: '上传文件', type: 'w-file' },
]"
>
diff --git a/irbs.frontend/src/views/query/CorpCustFeatureRet.vue b/irbs.frontend/src/views/query/CorpCustFeatureRet.vue
index 9c00f12..03129f8 100644
--- a/irbs.frontend/src/views/query/CorpCustFeatureRet.vue
+++ b/irbs.frontend/src/views/query/CorpCustFeatureRet.vue
@@ -36,8 +36,8 @@ const corpCustFeatureRetGridRef = ref();
const corpCustFeatureRetGrid = {
buttons: ['query', 'reset', 'separator', 'export'],
queryFormFields: [
- { label: '客户编号', name: 'custNo', type: 'text' },
- { label: '客户名称', name: 'custName', type: 'text' },
+ { label: '客户编号', name: 'custNo', type: 'w-text' },
+ { label: '客户名称', name: 'custName', type: 'w-text' },
],
columns: [
{ label: '客户编号', name: 'custNo' },
diff --git a/irbs.frontend/src/views/query/CustInfo.vue b/irbs.frontend/src/views/query/CustInfo.vue
index 00908e6..958f9e6 100644
--- a/irbs.frontend/src/views/query/CustInfo.vue
+++ b/irbs.frontend/src/views/query/CustInfo.vue
@@ -39,11 +39,11 @@ const $q = useQuasar();
const custGridRef = ref();
const custGrid = {
- buttons: [['query', 'separator', 'moreQuery'], 'reset', 'separator', 'export'],
+ buttons: ['query', 'reset', 'separator', 'export'],
queryFormFields: [
- { label: '客户编号', name: 'custNo', type: 'text' },
- { label: '客户名称', name: 'custName', type: 'text' },
- { label: '客户类型', name: 'custType', type: 'select', options: CustTypeOptions },
+ { label: '客户编号', name: 'custNo', type: 'w-text' },
+ { label: '客户名称', name: 'custName', type: 'w-text' },
+ { label: '客户类型', name: 'custType', type: 'w-select', options: CustTypeOptions },
],
columns: [
{ name: 'custNo', label: '客户编号', align: 'center' },
diff --git a/irbs.frontend/src/views/query/CustRatingHist.vue b/irbs.frontend/src/views/query/CustRatingHist.vue
index 1ea80cb..3f51e49 100644
--- a/irbs.frontend/src/views/query/CustRatingHist.vue
+++ b/irbs.frontend/src/views/query/CustRatingHist.vue
@@ -45,22 +45,22 @@ const $q = useQuasar();
const custRatingHistGridRef = ref();
const custRatingHistGrid = {
- buttons: [['query', 'separator', 'moreQuery'], 'reset', 'separator', 'export'],
+ buttons: ['query', 'reset', 'separator', 'export'],
queryFormFields: [
- { label: '申请编号', name: 'id', type: 'text' },
- { label: '客户编号', name: 'custNo', type: 'text' },
- { label: '客户名称', name: 'custName', type: 'text' },
- { label: '客户类型', name: 'custType', type: 'select', options: CustTypeOptions },
+ { label: '申请编号', name: 'id', type: 'w-text' },
+ { label: '客户编号', name: 'custNo', type: 'w-text' },
+ { label: '客户名称', name: 'custName', type: 'w-text' },
+ { label: '客户类型', name: 'custType', type: 'w-select', options: CustTypeOptions },
{
label: '认定等级',
name: 'finalLevel',
- type: 'select',
+ type: 'w-select',
options: RatingLevelOptions,
},
{
label: '是否违约',
name: 'defaultInd',
- type: 'select',
+ type: 'w-select',
options: DefaultFlagOptions,
},
],
diff --git a/irbs.frontend/src/views/query/DefaultHist.vue b/irbs.frontend/src/views/query/DefaultHist.vue
index 038e8bf..5b284cd 100644
--- a/irbs.frontend/src/views/query/DefaultHist.vue
+++ b/irbs.frontend/src/views/query/DefaultHist.vue
@@ -30,15 +30,15 @@ const $q = useQuasar();
const defaultHistGridRef = ref();
const defaultHistGrid = {
- buttons: [['query', 'separator', 'moreQuery'], 'reset', 'separator', 'export'],
+ buttons: ['query', 'reset', 'separator', 'export'],
queryFormFields: [
- { label: '客户编号', name: 'custNo', type: 'text' },
- { label: '客户名称', name: 'custName', type: 'text' },
- { label: '客户类型', name: 'custType', type: 'select', options: CustTypeOptions },
- { label: '违约前评级', name: 'ratingLevelHis', type: 'select', options: RatingLevelOptions },
- { label: '违约认定类型', name: 'defaultType', type: 'select', options: DefaultTypeOptions },
- { label: '客户经理名称', name: 'managerName', type: 'text' },
- { label: '所属机构', name: 'mgerOrgNm', type: 'text' },
+ { label: '客户编号', name: 'custNo', type: 'w-text' },
+ { label: '客户名称', name: 'custName', type: 'w-text' },
+ { label: '客户类型', name: 'custType', type: 'w-select', options: CustTypeOptions },
+ { label: '违约前评级', name: 'ratingLevelHis', type: 'w-select', options: RatingLevelOptions },
+ { label: '违约认定类型', name: 'defaultType', type: 'w-select', options: DefaultTypeOptions },
+ { label: '客户经理名称', name: 'managerName', type: 'w-text' },
+ { label: '所属机构', name: 'mgerOrgNm', type: 'w-text' },
],
columns: [
{ label: '客户编号', name: 'custNo' },
diff --git a/irbs.frontend/src/views/query/InstitutionCustFeatureRet.vue b/irbs.frontend/src/views/query/InstitutionCustFeatureRet.vue
index f0fef16..0018e9d 100644
--- a/irbs.frontend/src/views/query/InstitutionCustFeatureRet.vue
+++ b/irbs.frontend/src/views/query/InstitutionCustFeatureRet.vue
@@ -36,8 +36,8 @@ const institutionCustFeatureRetGridRef = ref();
const institutionCustFeatureRetGrid = {
buttons: ['query', 'reset', 'separator', 'export'],
queryFormFields: [
- { label: '客户编号', name: 'custNo', type: 'text' },
- { label: '客户名称', name: 'custName', type: 'text' },
+ { label: '客户编号', name: 'custNo', type: 'w-text' },
+ { label: '客户名称', name: 'custName', type: 'w-text' },
],
columns: [
{ label: '客户编号', name: 'custNo' },
diff --git a/irbs.frontend/src/views/query/PingAnLgdHist.vue b/irbs.frontend/src/views/query/PingAnLgdHist.vue
index 715c153..652d152 100644
--- a/irbs.frontend/src/views/query/PingAnLgdHist.vue
+++ b/irbs.frontend/src/views/query/PingAnLgdHist.vue
@@ -26,11 +26,11 @@ const $q = useQuasar();
const pingAnLgdHistGridRef = ref();
const pingAnLgdHistGrid = {
- buttons: [['query', 'separator', 'moreQuery'], 'reset'],
+ buttons: ['query', 'reset'],
queryFormFields: [
- { label: '债项编号', name: 'contractNo', type: 'text' },
- { label: '客户编号', name: 'custNo', type: 'text' },
- { label: '客户名称', name: 'custName', type: 'text' },
+ { label: '债项编号', name: 'contractNo', type: 'w-text' },
+ { label: '客户编号', name: 'custNo', type: 'w-text' },
+ { label: '客户名称', name: 'custName', type: 'w-text' },
],
columns: [
{ name: 'contractNo', label: '债项编号' },
diff --git a/irbs.frontend/src/views/query/RebirthDefaultHist.vue b/irbs.frontend/src/views/query/RebirthDefaultHist.vue
index c245cf3..fc9f340 100644
--- a/irbs.frontend/src/views/query/RebirthDefaultHist.vue
+++ b/irbs.frontend/src/views/query/RebirthDefaultHist.vue
@@ -38,14 +38,14 @@ const $q = useQuasar();
const rebirthDefaultHistGridRef = ref();
const rebirthDefaultHistGrid = {
- buttons: [['query', 'separator', 'moreQuery'], 'reset', 'separator', 'export'],
+ buttons: ['query', 'reset', 'separator', 'export'],
queryFormFields: [
- { label: '客户编号', name: 'custNo', type: 'text' },
- { label: '客户名称', name: 'custName', type: 'text' },
- { label: '客户类型', name: 'custType', type: 'select', options: CustTypeOptions },
- { label: '违约重生类型', name: 'defaultRebornType', type: 'select', options: DefaultRebonTypeOptions },
- { label: '客户经理名称', name: 'managerName', type: 'text' },
- { label: '所属机构', name: 'defaMgerOrgNm', type: 'text' },
+ { label: '客户编号', name: 'custNo', type: 'w-text' },
+ { label: '客户名称', name: 'custName', type: 'w-text' },
+ { label: '客户类型', name: 'custType', type: 'w-select', options: CustTypeOptions },
+ { label: '违约重生类型', name: 'defaultRebornType', type: 'w-select', options: DefaultRebonTypeOptions },
+ { label: '客户经理名称', name: 'managerName', type: 'w-text' },
+ { label: '所属机构', name: 'defaMgerOrgNm', type: 'w-text' },
],
columns: [
{ label: '客户编号', name: 'custNo' },
diff --git a/irbs.frontend/src/views/query/RiskExposureHist.vue b/irbs.frontend/src/views/query/RiskExposureHist.vue
index 6748285..4c1747c 100644
--- a/irbs.frontend/src/views/query/RiskExposureHist.vue
+++ b/irbs.frontend/src/views/query/RiskExposureHist.vue
@@ -35,16 +35,16 @@ const $q = useQuasar();
const riskExposureHisGridRef = ref();
const riskExposureHisGrid = {
- buttons: [['query', 'separator', 'moreQuery'], 'reset', 'separator', 'export'],
+ buttons: ['query', 'reset', 'separator', 'export'],
queryFormFields: [
- { label: '业务编号', name: 'businessNo', type: 'text' },
- { label: '客户编号', name: 'custNo', type: 'text' },
- { label: '客户名称', name: 'custName', type: 'text' },
- { label: '客户类型', name: 'custType', type: 'select', options: RiskCustTypeOptions },
- { label: '发起方式', name: 'startWay', type: 'select', options: StartWayOptions },
- { label: '分类结果', name: 'finalResult', type: 'select', options: RiskExposureOptions },
- { label: '客户经理名称', name: 'managerName', type: 'text' },
- { label: '所属机构', name: 'mgerOrgNm', type: 'text' },
+ { label: '业务编号', name: 'businessNo', type: 'w-text' },
+ { label: '客户编号', name: 'custNo', type: 'w-text' },
+ { label: '客户名称', name: 'custName', type: 'w-text' },
+ { label: '客户类型', name: 'custType', type: 'w-select', options: RiskCustTypeOptions },
+ { label: '发起方式', name: 'startWay', type: 'w-select', options: StartWayOptions },
+ { label: '分类结果', name: 'finalResult', type: 'w-select', options: RiskExposureOptions },
+ { label: '客户经理名称', name: 'managerName', type: 'w-text' },
+ { label: '所属机构', name: 'mgerOrgNm', type: 'w-text' },
],
columns: [
{ label: '业务编号', name: 'businessNo' },
diff --git a/irbs.frontend/src/views/report/RptModelMonitorBinomialCheck.vue b/irbs.frontend/src/views/report/RptModelMonitorBinomialCheck.vue
index 57917f2..fd34ebc 100644
--- a/irbs.frontend/src/views/report/RptModelMonitorBinomialCheck.vue
+++ b/irbs.frontend/src/views/report/RptModelMonitorBinomialCheck.vue
@@ -40,11 +40,11 @@ const rptModelMonitorBinomialCheckGrid = {
'separator',
],
queryFormFields: [
- { label: '报表日期', name: 'ratingMonth', type: 'date', defaultValue: '2023-07-01' },
+ { label: '报表日期', name: 'ratingMonth', type: 'w-date', defaultValue: '2023-07-01' },
{
label: '模型敞口',
name: 'modelCode',
- type: 'select',
+ type: 'w-select',
options: [
{ value: 'WHM1', label: '政府投融资平台' },
{ value: 'WHM2', label: '事业单位' },
diff --git a/irbs.frontend/src/views/report/RptModelMonitorDiff.vue b/irbs.frontend/src/views/report/RptModelMonitorDiff.vue
index 2479437..6826258 100644
--- a/irbs.frontend/src/views/report/RptModelMonitorDiff.vue
+++ b/irbs.frontend/src/views/report/RptModelMonitorDiff.vue
@@ -40,11 +40,11 @@ const rptModelMonitorDiffGrid = {
'separator',
],
queryFormFields: [
- { label: '报表日期', name: 'ratingMonth', type: 'date', defaultValue: '2023-07-01' },
+ { label: '报表日期', name: 'ratingMonth', type: 'w-date', defaultValue: '2023-07-01' },
{
label: '报告期',
name: 'yearPeriod',
- type: 'select',
+ type: 'w-select',
options: [
{ label: '往前推1年', value: '1' },
{ label: '往前推2年', value: '2' },
@@ -57,7 +57,7 @@ const rptModelMonitorDiffGrid = {
{
label: '模型敞口',
name: 'modelCode',
- type: 'select',
+ type: 'w-select',
options: [
{ value: 'WHM1', label: '政府投融资平台' },
{ value: 'WHM2', label: '事业单位' },
diff --git a/irbs.frontend/src/views/report/RptModelMonitorStable.vue b/irbs.frontend/src/views/report/RptModelMonitorStable.vue
index e9e4606..ce1db86 100644
--- a/irbs.frontend/src/views/report/RptModelMonitorStable.vue
+++ b/irbs.frontend/src/views/report/RptModelMonitorStable.vue
@@ -40,11 +40,11 @@ const rptModelMonitorStableGrid = {
'separator',
],
queryFormFields: [
- { label: '报表日期', name: 'ratingMonth', type: 'date', defaultValue: '2023-07-01' },
+ { label: '报表日期', name: 'ratingMonth', type: 'w-date', defaultValue: '2023-07-01' },
{
label: '模型敞口',
name: 'modelCode',
- type: 'select',
+ type: 'w-select',
options: [
{ value: 'WHM1', label: '政府投融资平台' },
{ value: 'WHM2', label: '事业单位' },
diff --git a/irbs.frontend/src/views/report/RptRatingAdjust.vue b/irbs.frontend/src/views/report/RptRatingAdjust.vue
index c8e2210..26d9cc8 100644
--- a/irbs.frontend/src/views/report/RptRatingAdjust.vue
+++ b/irbs.frontend/src/views/report/RptRatingAdjust.vue
@@ -228,7 +228,7 @@ const state = reactive({
},
});
-const afterRequestData = (data) => {
+const afterRequestData = (args) => {
state.xData = [];
state.custData.ratingCnt = [];
state.custData.overturnCnt = [];
@@ -237,8 +237,8 @@ const afterRequestData = (data) => {
state.range.l2 = [];
state.range.l3 = [];
state.range.ln = [];
- if (data && data.length > 0) {
- data.forEach((item) => {
+ if (args.rows && args.rows.length > 0) {
+ args.rows.forEach((item) => {
state.xData.push(item['ratingMonth']);
state.custData.ratingCnt.push(item['custCnt']);
state.custData.overturnCnt.push(item['adjCnt']);
@@ -268,11 +268,11 @@ const rptRatingAdjustGrid = {
'separator',
],
queryFormFields: [
- { label: '报表日期', name: 'ratingMonth', type: 'date', defaultValue: '2023-07-01' },
+ { label: '报表日期', name: 'ratingMonth', type: 'w-date', defaultValue: '2023-07-01' },
{
label: '模型敞口',
name: 'modelCode',
- type: 'select',
+ type: 'w-select',
options: [
{ value: 'WHM1', label: '政府投融资平台' },
{ value: 'WHM2', label: '事业单位' },
@@ -302,7 +302,7 @@ const rptRatingAdjustGrid = {
{
label: '分支机构',
name: 'managerOrgCode',
- type: 'select',
+ type: 'w-select',
options: [
{ value: '01002', label: '总行营业部' },
{ value: '01003', label: 'JJJS开发区支行' },
diff --git a/irbs.frontend/src/views/report/RptRatingChange.vue b/irbs.frontend/src/views/report/RptRatingChange.vue
index 77d21c3..ae2e687 100644
--- a/irbs.frontend/src/views/report/RptRatingChange.vue
+++ b/irbs.frontend/src/views/report/RptRatingChange.vue
@@ -81,11 +81,11 @@ const rptRatingChangeGrid = {
'separator',
],
queryFormFields: [
- { label: '报表日期', name: 'ratingMonth', type: 'date', defaultValue: '2023-07-01' },
+ { label: '报表日期', name: 'ratingMonth', type: 'w-date', defaultValue: '2023-07-01' },
{
label: '模型敞口',
name: 'modelCode',
- type: 'select',
+ type: 'w-select',
options: [
{ value: 'WHM1', label: '政府投融资平台' },
{ value: 'WHM2', label: '事业单位' },
@@ -115,7 +115,7 @@ const rptRatingChangeGrid = {
{
label: '分支机构',
name: 'managerOrgCode',
- type: 'select',
+ type: 'w-select',
options: [
{ value: '01002', label: '总行营业部' },
{ value: '01003', label: 'JJJS开发区支行' },
diff --git a/irbs.frontend/src/views/report/RptRatingDistribution.vue b/irbs.frontend/src/views/report/RptRatingDistribution.vue
index 509c2a4..bcfaf5b 100644
--- a/irbs.frontend/src/views/report/RptRatingDistribution.vue
+++ b/irbs.frontend/src/views/report/RptRatingDistribution.vue
@@ -310,11 +310,11 @@ const rptRatingDistributionGrid = {
'separator',
],
queryFormFields: [
- { label: '报表日期', name: 'ratingMonth', type: 'date', defaultValue: '2023-07-01' },
+ { label: '报表日期', name: 'ratingMonth', type: 'w-date', defaultValue: '2023-07-01' },
{
label: '模型敞口',
name: 'modelCode',
- type: 'select',
+ type: 'w-select',
options: [
{ value: 'WHM1', label: '政府投融资平台' },
{ value: 'WHM2', label: '事业单位' },
@@ -344,7 +344,7 @@ const rptRatingDistributionGrid = {
{
label: '分支机构',
name: 'managerOrgCode',
- type: 'select',
+ type: 'w-select',
options: [
{ value: '01002', label: '总行营业部' },
{ value: '01003', label: 'JJJS开发区支行' },
diff --git a/irbs.frontend/src/views/report/RptRatingIndustryFocusDist.vue b/irbs.frontend/src/views/report/RptRatingIndustryFocusDist.vue
index f5aa469..e5fd142 100644
--- a/irbs.frontend/src/views/report/RptRatingIndustryFocusDist.vue
+++ b/irbs.frontend/src/views/report/RptRatingIndustryFocusDist.vue
@@ -214,8 +214,8 @@ const state = reactive({
ratioSeriesData:
[],
});
-const afterRequestData = (data) => {
- if (data && data.length > 0) {
+const afterRequestData = (args) => {
+ if (args.rows && args.rows.length > 0) {
state.xData = [];
state.seriesData = [];
state.legendData = [];
@@ -230,7 +230,7 @@ const afterRequestData = (data) => {
totalData[rptRatingIndustryFocusDistGrid.tableColumns[i]['columns'][0]['name']] = [];
totalData[rptRatingIndustryFocusDistGrid.tableColumns[i]['columns'][1]['name']] = [];
}
- data.forEach((item) => {
+ args.rows.forEach((item) => {
state.xData.push(item['industryName']);
Object.keys(totalData).forEach((key) => {
@@ -277,11 +277,11 @@ const rptRatingIndustryFocusDistGrid = {
'separator',
],
queryFormFields: [
- { label: '报表日期', name: 'ratingMonth', type: 'date', defaultValue: '2023-07-01' },
+ { label: '报表日期', name: 'ratingMonth', type: 'w-date', defaultValue: '2023-07-01' },
{
label: '模型敞口',
name: 'modelCode',
- type: 'select',
+ type: 'w-select',
options: [
{ value: 'WHM1', label: '政府投融资平台' },
{ value: 'WHM2', label: '事业单位' },
@@ -311,7 +311,7 @@ const rptRatingIndustryFocusDistGrid = {
{
label: '分支机构',
name: 'managerOrgCode',
- type: 'select',
+ type: 'w-select',
options: [
{ value: '01002', label: '总行营业部' },
{ value: '01003', label: 'JJJS开发区支行' },
diff --git a/irbs.frontend/src/views/report/RptRatingLoanBalanceMigrate.vue b/irbs.frontend/src/views/report/RptRatingLoanBalanceMigrate.vue
index c97fcdf..bffe7f6 100644
--- a/irbs.frontend/src/views/report/RptRatingLoanBalanceMigrate.vue
+++ b/irbs.frontend/src/views/report/RptRatingLoanBalanceMigrate.vue
@@ -268,8 +268,8 @@ const state = reactive({
},
});
-const afterRequestData = (data) => {
- if (data && data.length > 0) {
+const afterRequestData = (args) => {
+ if (args.rows && args.rows.length > 0) {
state.xData = [];
state.seriesData = [];
state.legendData = [];
@@ -282,7 +282,7 @@ const afterRequestData = (data) => {
]);
totalData[rptRatingLoanBalanceMigrateGrid.tableColumns[1].columns[i]['name']] = [];
}
- data.forEach((item) => {
+ args.rows.forEach((item) => {
state.xData.push(item['ratingLevel']);
state.up.cnt.push(item['upBal']);
state.up.ratio.push(item['upRatio']);
@@ -330,11 +330,11 @@ const rptRatingLoanBalanceMigrateGrid = {
'separator',
],
queryFormFields: [
- { label: '报表日期', name: 'ratingMonth', type: 'date', defaultValue: '2023-07-01' },
+ { label: '报表日期', name: 'ratingMonth', type: 'w-date', defaultValue: '2023-07-01' },
{
label: '模型敞口',
name: 'modelCode',
- type: 'select',
+ type: 'w-select',
options: [
{ value: 'WHM1', label: '政府投融资平台' },
{ value: 'WHM2', label: '事业单位' },
@@ -365,7 +365,7 @@ const rptRatingLoanBalanceMigrateGrid = {
{
label: '分支机构',
name: 'managerOrgCode',
- type: 'select',
+ type: 'w-select',
options: [
{ value: '01002', label: '总行营业部' },
{ value: '01003', label: 'JJJS开发区支行' },
diff --git a/irbs.frontend/src/views/report/RptRatingModelFocusDist.vue b/irbs.frontend/src/views/report/RptRatingModelFocusDist.vue
index d8748a7..ab2df96 100644
--- a/irbs.frontend/src/views/report/RptRatingModelFocusDist.vue
+++ b/irbs.frontend/src/views/report/RptRatingModelFocusDist.vue
@@ -213,9 +213,8 @@ const state = reactive({
ratioSeriesData: [],
});
-const afterRequestData = (data) => {
- console.info('data=======', data);
- if (data && data.length > 0) {
+const afterRequestData = (args) => {
+ if (args.rows && args.rows.length > 0) {
state.xData = [];
state.seriesData = [];
state.legendData = [];
@@ -231,7 +230,7 @@ const afterRequestData = (data) => {
totalData[rptRatingModelFocusDistGrid.tableColumns[i]['columns'][0]['name']] = [];
totalData[rptRatingModelFocusDistGrid.tableColumns[i]['columns'][1]['name']] = [];
}
- data.forEach((item) => {
+ args.rows.forEach((item) => {
state.xData.push(item['modelName']);
Object.keys(totalData).forEach((key) => {
@@ -278,11 +277,11 @@ const rptRatingModelFocusDistGrid = {
'separator',
],
queryFormFields: [
- { label: '报表日期', name: 'ratingMonth', type: 'date', defaultValue: '2023-07-01' },
+ { label: '报表日期', name: 'ratingMonth', type: 'w-date', defaultValue: '2023-07-01' },
{
label: '分支机构',
name: 'managerOrgCode',
- type: 'select',
+ type: 'w-select',
options: [
{ value: '01002', label: '总行营业部' },
{ value: '01003', label: 'JJJS开发区支行' },
diff --git a/irbs.frontend/src/views/report/RptRatingNumberMigrate.vue b/irbs.frontend/src/views/report/RptRatingNumberMigrate.vue
index 93c2447..f9c3879 100644
--- a/irbs.frontend/src/views/report/RptRatingNumberMigrate.vue
+++ b/irbs.frontend/src/views/report/RptRatingNumberMigrate.vue
@@ -268,8 +268,8 @@ const state = reactive({
},
});
-const afterRequestData = (data) => {
- if (data && data.length > 0) {
+const afterRequestData = (args) => {
+ if (args.rows && args.rows.length > 0) {
state.xData = [];
state.seriesData = [];
state.legendData = [];
@@ -279,7 +279,7 @@ const afterRequestData = (data) => {
ratingLevel.push([rptRatingNumberMigrateGrid.tableColumns[1].columns[i]['label'], [rptRatingNumberMigrateGrid.tableColumns[1].columns[i]['name']]]);
totalData[rptRatingNumberMigrateGrid.tableColumns[1].columns[i]['name']] = [];
}
- data.forEach((item) => {
+ args.rows.forEach((item) => {
state.xData.push(item['ratingLevel']);
state.up.cnt.push(item['upCnt']);
state.up.ratio.push(item['upRatio']);
@@ -327,11 +327,11 @@ const rptRatingNumberMigrateGrid = {
'separator',
],
queryFormFields: [
- { label: '报表日期', name: 'ratingMonth', type: 'date', defaultValue: '2023-07-01' },
+ { label: '报表日期', name: 'ratingMonth', type: 'w-date', defaultValue: '2023-07-01' },
{
label: '模型敞口',
name: 'modelCode',
- type: 'select',
+ type: 'w-select',
options: [
{ value: 'WHM1', label: '政府投融资平台' },
{ value: 'WHM2', label: '事业单位' },
@@ -361,7 +361,7 @@ const rptRatingNumberMigrateGrid = {
{
label: '分支机构',
name: 'managerOrgCode',
- type: 'select',
+ type: 'w-select',
options: [
{ value: '01002', label: '总行营业部' },
{ value: '01003', label: 'JJJS开发区支行' },
diff --git a/irbs.frontend/src/views/report/RptRatingOrgFocusDist.vue b/irbs.frontend/src/views/report/RptRatingOrgFocusDist.vue
index 5271141..9ce7a7e 100644
--- a/irbs.frontend/src/views/report/RptRatingOrgFocusDist.vue
+++ b/irbs.frontend/src/views/report/RptRatingOrgFocusDist.vue
@@ -212,8 +212,8 @@ const state = reactive({
ratioSeriesData: [],
});
-const afterRequestData = (data) => {
- if (data && data.length > 0) {
+const afterRequestData = (args) => {
+ if (args.rows && args.rows.length > 0) {
state.xData = [];
state.seriesData = [];
state.legendData = [];
@@ -228,7 +228,7 @@ const afterRequestData = (data) => {
totalData[rptRatingOrgFocusDistGrid.tableColumns[i]['columns'][0]['name']] = [];
totalData[rptRatingOrgFocusDistGrid.tableColumns[i]['columns'][1]['name']] = [];
}
- data.forEach((item) => {
+ args.rows.forEach((item) => {
state.xData.push(item['managerOrgName']);
Object.keys(totalData).forEach((key) => {
@@ -275,11 +275,11 @@ const rptRatingOrgFocusDistGrid = {
'separator',
],
queryFormFields: [
- { label: '报表日期', name: 'ratingMonth', type: 'date', defaultValue: '2023-07-01' },
+ { label: '报表日期', name: 'ratingMonth', type: 'w-date', defaultValue: '2023-07-01' },
{
label: '模型敞口',
name: 'modelCode',
- type: 'select',
+ type: 'w-select',
options: [
{ value: 'WHM1', label: '政府投融资平台' },
{ value: 'WHM2', label: '事业单位' },
diff --git a/irbs.frontend/src/views/report/RptRatingOverturn.vue b/irbs.frontend/src/views/report/RptRatingOverturn.vue
index e3f2d74..b47879f 100644
--- a/irbs.frontend/src/views/report/RptRatingOverturn.vue
+++ b/irbs.frontend/src/views/report/RptRatingOverturn.vue
@@ -288,7 +288,7 @@ const state = reactive({
},
});
-const afterRequestData = (data) => {
+const afterRequestData = (args) => {
state.xData = [];
state.custData.ratingCnt = [];
state.custData.overturnCnt = [];
@@ -299,8 +299,8 @@ const afterRequestData = (data) => {
state.range.l2 = [];
state.range.l3 = [];
state.range.ln = [];
- if (data && data.length > 0) {
- data.forEach((item) => {
+ if (args.rows && args.rows.length > 0) {
+ args.rows.forEach((item) => {
state.xData.push(item['ratingMonth']);
state.custData.ratingCnt.push(item['custCnt']);
state.custData.overturnCnt.push(item['overturnCnt']);
@@ -332,11 +332,11 @@ const rptRatingOverturnGrid = {
'separator',
],
queryFormFields: [
- { label: '报表日期', name: 'ratingMonth', type: 'date', defaultValue: '2023-07-01' },
+ { label: '报表日期', name: 'ratingMonth', type: 'w-date', defaultValue: '2023-07-01' },
{
label: '模型敞口',
name: 'modelCode',
- type: 'select',
+ type: 'w-select',
options: [
{ value: 'WHM1', label: '政府投融资平台' },
{ value: 'WHM2', label: '事业单位' },
@@ -366,7 +366,7 @@ const rptRatingOverturnGrid = {
{
label: '分支机构',
name: 'managerOrgCode',
- type: 'select',
+ type: 'w-select',
options: [
{ value: '01002', label: '总行营业部' },
{ value: '01003', label: 'JJJS开发区支行' },
diff --git a/irbs.frontend/src/views/report/tzblwdxfxbb.vue b/irbs.frontend/src/views/report/tzblwdxfxbb.vue
index 966239b..41577af 100644
--- a/irbs.frontend/src/views/report/tzblwdxfxbb.vue
+++ b/irbs.frontend/src/views/report/tzblwdxfxbb.vue
@@ -28,9 +28,9 @@
]"
:query-form-cols-num="6"
:query-form-fields="[
- { colSpan: 2, name: 'model', label: '模型', type: 'select', options: ['A评分卡', 'B评分卡', 'K评分卡'], defaultValue: 'A评分卡', clearable: true },
- { name: 'year', label: '年', type: 'select', options: [2020, 2021, 2022, 2023, 2024], defaultValue: 2023, clearable: true },
- { name: 'month', label: '月', type: 'select', options: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], defaultValue: 6, clearable: true },
+ { colSpan: 2, name: 'model', label: '模型', type: 'w-select', options: ['A评分卡', 'B评分卡', 'K评分卡'], defaultValue: 'A评分卡', clearable: true },
+ { name: 'year', label: '年', type: 'w-select', options: [2020, 2021, 2022, 2023, 2024], defaultValue: 2023, clearable: true },
+ { name: 'month', label: '月', type: 'w-select', options: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], defaultValue: 6, clearable: true },
]"
:columns="[
{ width: 200, name: 'tzl', label: '特征量' },
diff --git a/irbs.frontend/src/views/report/tzblwoeivbb.vue b/irbs.frontend/src/views/report/tzblwoeivbb.vue
index bc72768..93ff66c 100644
--- a/irbs.frontend/src/views/report/tzblwoeivbb.vue
+++ b/irbs.frontend/src/views/report/tzblwoeivbb.vue
@@ -27,11 +27,11 @@
]"
:query-form-cols-num="8"
:query-form-fields="[
- { colSpan: 2, name: 'model', label: '模型', type: 'select', options: ['A评分卡', 'B评分卡', 'K评分卡'], defaultValue: 'A评分卡', clearable: true },
- { name: 'startYear', label: '开始年', type: 'select', options: [2020, 2021, 2022, 2023, 2024], defaultValue: 2023, clearable: true },
- { name: 'startMonth', label: '开始月', type: 'select', options: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], defaultValue: 6, clearable: true },
- { name: 'endYear', label: '结束年', type: 'select', options: [2020, 2021, 2022, 2023, 2024], clearable: true },
- { name: 'endMonth', label: '结束月', type: 'select', options: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], clearable: true },
+ { colSpan: 2, name: 'model', label: '模型', type: 'w-select', options: ['A评分卡', 'B评分卡', 'K评分卡'], defaultValue: 'A评分卡', clearable: true },
+ { name: 'startYear', label: '开始年', type: 'w-select', options: [2020, 2021, 2022, 2023, 2024], defaultValue: 2023, clearable: true },
+ { name: 'startMonth', label: '开始月', type: 'w-select', options: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], defaultValue: 6, clearable: true },
+ { name: 'endYear', label: '结束年', type: 'w-select', options: [2020, 2021, 2022, 2023, 2024], clearable: true },
+ { name: 'endMonth', label: '结束月', type: 'w-select', options: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], clearable: true },
]"
:columns="[
{ width: 200, name: 'tzl', label: '特征量' },
diff --git a/irbs.frontend/src/views/riskExposure/HandmadeExposureDialog.vue b/irbs.frontend/src/views/riskExposure/HandmadeExposureDialog.vue
index 1460bfb..53a2fcc 100644
--- a/irbs.frontend/src/views/riskExposure/HandmadeExposureDialog.vue
+++ b/irbs.frontend/src/views/riskExposure/HandmadeExposureDialog.vue
@@ -89,9 +89,9 @@
{
name: 'manResult',
label: '人工分类结果',
- type: 'select',
+ type: 'w-select',
options: RiskExposureItemOptions,
- required: true,
+ requiredIf: true,
showIf: (args) => {
if (state.data['processStatus'] === 'TO_BE_CHECKED') {
return false;
@@ -99,8 +99,8 @@
return true;
},
},
- { name: 'remarks', label: '意见说明', type: 'textarea', required: true, rows: 4 },
- { name: 'suggestUploadAnnx', label: '上传文件', type: 'file' },
+ { name: 'remarks', label: '意见说明', type: 'w-textarea', requiredIf: true, rows: 4 },
+ { name: 'suggestUploadAnnx', label: '上传文件', type: 'w-file' },
]"
>
diff --git a/irbs.frontend/src/views/riskExposure/LaunchExposureAdjustDialog.vue b/irbs.frontend/src/views/riskExposure/LaunchExposureAdjustDialog.vue
index 2a9a8dc..cff8664 100644
--- a/irbs.frontend/src/views/riskExposure/LaunchExposureAdjustDialog.vue
+++ b/irbs.frontend/src/views/riskExposure/LaunchExposureAdjustDialog.vue
@@ -95,9 +95,9 @@ const dialogButtons = [
const toExposureAdjustGrid = {
buttons: [['query', 'separator'], 'reset'],
queryFormFields: [
- { label: '债项编号', name: 'businessNo', type: 'text' },
- { label: '客户号', name: 'custNo', type: 'text' },
- { label: '客户名称', name: 'custName', type: 'text' },
+ { label: '债项编号', name: 'businessNo', type: 'w-text' },
+ { label: '客户号', name: 'custNo', type: 'w-text' },
+ { label: '客户名称', name: 'custName', type: 'w-text' },
],
columns: [
{ name: 'businessNo', label: '债项编号' },
diff --git a/irbs.frontend/src/views/riskExposure/LaunchExposureDialog.vue b/irbs.frontend/src/views/riskExposure/LaunchExposureDialog.vue
index f266d97..4a54ac0 100644
--- a/irbs.frontend/src/views/riskExposure/LaunchExposureDialog.vue
+++ b/irbs.frontend/src/views/riskExposure/LaunchExposureDialog.vue
@@ -95,9 +95,9 @@ const dialogButtons = [
const toExposureGrid = {
buttons: [['query', 'separator'], 'reset'],
queryFormFields: [
- { label: '债项编号', name: 'businessNo', type: 'text' },
- { label: '客户号', name: 'custNo', type: 'text' },
- { label: '客户名称', name: 'custName', type: 'text' },
+ { label: '债项编号', name: 'businessNo', type: 'w-text' },
+ { label: '客户号', name: 'custNo', type: 'w-text' },
+ { label: '客户名称', name: 'custName', type: 'w-text' },
],
columns: [
{ name: 'businessNo', label: '债项编号' },
diff --git a/irbs.frontend/src/views/riskExposure/RiskExposureAdjustApply.vue b/irbs.frontend/src/views/riskExposure/RiskExposureAdjustApply.vue
index fb5588a..4b66ce9 100644
--- a/irbs.frontend/src/views/riskExposure/RiskExposureAdjustApply.vue
+++ b/irbs.frontend/src/views/riskExposure/RiskExposureAdjustApply.vue
@@ -38,7 +38,7 @@ import { useQuasar } from 'quasar';
import { Environment, EnumTools, DictionaryTools, Options, Formater, axios, NotifyManager } from 'platform-core';
import LaunchExposureAdjustDialog from '@/views/riskExposure/LaunchExposureAdjustDialog.vue';
import HandmadeExposureDialog from '@/views/riskExposure/HandmadeExposureDialog.vue';
-import { RiskExposureProcessStatus, RiskExposureTypeFormat, RiskCustTypeFormat, ProcessStatusOptions } from './RiskExposure.ts';
+import { RiskExposureProcessStatus, RiskExposureTypeFormat, RiskCustTypeFormat, ProcessStatusOptions, RiskExposureItemOptions } from './RiskExposure.ts';
const $q = useQuasar();
const riskExposureAdjustGridRef = ref();
@@ -47,7 +47,7 @@ const handmadeExposureDialogRef = ref();
const riskExposureAdjustGrid = {
buttons: [
- ['query', 'separator', 'moreQuery'],
+ 'query',
'reset',
'separator',
{
@@ -80,19 +80,19 @@ const riskExposureAdjustGrid = {
'separator',
],
queryFormFields: [
- { label: '债项编号', name: 'businessNo', type: 'text' },
- { label: '客户号', name: 'custNo', type: 'text' },
- { label: '客户名称', name: 'custName', type: 'text' },
+ { label: '债项编号', name: 'businessNo', type: 'w-text' },
+ { label: '客户号', name: 'custNo', type: 'w-text' },
+ { label: '客户名称', name: 'custName', type: 'w-text' },
{
label: '风险暴露分类',
name: 'manResult',
- type: 'select',
- options: RiskExposureProcessStatus,
+ type: 'w-select',
+ options: RiskExposureItemOptions,
},
{
label: '流程状态',
name: 'status',
- type: 'select',
+ type: 'w-select',
options: [
{ value: 'TO_BE_SUBMITTED', label: '待发起' },
{ value: 'RETURNED', label: '退回' },
diff --git a/irbs.frontend/src/views/riskExposure/RiskExposureAdjustApproval.vue b/irbs.frontend/src/views/riskExposure/RiskExposureAdjustApproval.vue
index e8f5527..23dd6e1 100644
--- a/irbs.frontend/src/views/riskExposure/RiskExposureAdjustApproval.vue
+++ b/irbs.frontend/src/views/riskExposure/RiskExposureAdjustApproval.vue
@@ -48,7 +48,7 @@ import { useQuasar } from 'quasar';
import { Environment, EnumTools, DictionaryTools, Options, Formater, axios, NotifyManager, SessionManager } from 'platform-core';
import LaunchExposureDialog from '@/views/riskExposure/LaunchExposureDialog.vue';
import HandmadeExposureDialog from '@/views/riskExposure/HandmadeExposureDialog.vue';
-import { RiskExposureProcessStatus, RiskExposureTypeFormat, RiskCustTypeFormat, ProcessStatusOptions } from './RiskExposure.ts';
+import { RiskExposureProcessStatus, RiskExposureTypeFormat, RiskCustTypeFormat, ProcessStatusOptions, RiskExposureItemOptions } from './RiskExposure.ts';
const $q = useQuasar();
const riskExposureAdjustGridRef = ref();
@@ -91,19 +91,19 @@ const riskExposureAdjustGrid = {
'separator',
],
queryFormFields: [
- { label: '债项编号', name: 'businessNo', type: 'text' },
- { label: '客户号', name: 'custNo', type: 'text' },
- { label: '客户名称', name: 'custName', type: 'text' },
+ { label: '债项编号', name: 'businessNo', type: 'w-text' },
+ { label: '客户号', name: 'custNo', type: 'w-text' },
+ { label: '客户名称', name: 'custName', type: 'w-text' },
{
label: '风险暴露分类',
name: 'manResult',
- type: 'select',
- options: RiskExposureProcessStatus,
+ type: 'w-select',
+ options: RiskExposureItemOptions,
},
{
label: '流程状态',
name: 'status',
- type: 'select',
+ type: 'w-select',
options: [
{ value: 'TO_BE_SUBMITTED', label: '待发起' },
{ value: 'RETURNED', label: '退回' },
diff --git a/irbs.frontend/src/views/riskExposure/RiskExposureApply.vue b/irbs.frontend/src/views/riskExposure/RiskExposureApply.vue
index 25478f5..53aa9a2 100644
--- a/irbs.frontend/src/views/riskExposure/RiskExposureApply.vue
+++ b/irbs.frontend/src/views/riskExposure/RiskExposureApply.vue
@@ -43,7 +43,7 @@ import { useQuasar } from 'quasar';
import { Environment, EnumTools, DictionaryTools, Options, Formater, axios, NotifyManager } from 'platform-core';
import LaunchExposureDialog from '@/views/riskExposure/LaunchExposureDialog.vue';
import HandmadeExposureDialog from '@/views/riskExposure/HandmadeExposureDialog.vue';
-import { RiskExposureProcessStatus, RiskExposureTypeFormat, RiskCustTypeFormat, ProcessStatusOptions } from './RiskExposure.ts';
+import { RiskExposureProcessStatus, RiskExposureTypeFormat, RiskCustTypeFormat, ProcessStatusOptions, RiskExposureItemOptions } from './RiskExposure.ts';
const $q = useQuasar();
const riskExposureGridRef = ref();
@@ -52,7 +52,7 @@ const handmadeExposureDialogRef = ref();
const riskExposureGrid = {
buttons: [
- ['query', 'separator', 'moreQuery'],
+ 'query',
'reset',
'separator',
{
@@ -85,19 +85,19 @@ const riskExposureGrid = {
'separator',
],
queryFormFields: [
- { label: '债项编号', name: 'businessNo', type: 'text' },
- { label: '客户号', name: 'custNo', type: 'text' },
- { label: '客户名称', name: 'custName', type: 'text' },
+ { label: '债项编号', name: 'businessNo', type: 'w-text' },
+ { label: '客户号', name: 'custNo', type: 'w-text' },
+ { label: '客户名称', name: 'custName', type: 'w-text' },
{
label: '风险暴露分类',
name: 'manResult',
- type: 'select',
- options: RiskExposureProcessStatus,
+ type: 'w-select',
+ options: RiskExposureItemOptions,
},
{
label: '流程状态',
name: 'status',
- type: 'select',
+ type: 'w-select',
options: [
{ value: 'TO_BE_SUBMITTED', label: '待发起' },
{ value: 'RETURNED', label: '退回' },
diff --git a/irbs.frontend/src/views/riskExposure/RiskExposureApproval.vue b/irbs.frontend/src/views/riskExposure/RiskExposureApproval.vue
index 6b7be07..da23b05 100644
--- a/irbs.frontend/src/views/riskExposure/RiskExposureApproval.vue
+++ b/irbs.frontend/src/views/riskExposure/RiskExposureApproval.vue
@@ -43,7 +43,7 @@ import { useQuasar } from 'quasar';
import { Environment, EnumTools, DictionaryTools, Options, Formater, axios, NotifyManager, SessionManager } from 'platform-core';
import LaunchExposureDialog from '@/views/riskExposure/LaunchExposureDialog.vue';
import HandmadeExposureDialog from '@/views/riskExposure/HandmadeExposureDialog.vue';
-import { RiskExposureProcessStatus, RiskExposureTypeFormat, RiskCustTypeFormat, ProcessStatusOptions } from './RiskExposure.ts';
+import { RiskExposureProcessStatus, RiskExposureTypeFormat, RiskCustTypeFormat, ProcessStatusOptions, RiskExposureItemOptions } from './RiskExposure.ts';
const $q = useQuasar();
const riskExposureGridRef = ref();
@@ -86,19 +86,19 @@ const riskExposureGrid = {
'separator',
],
queryFormFields: [
- { label: '债项编号', name: 'businessNo', type: 'text' },
- { label: '客户号', name: 'custNo', type: 'text' },
- { label: '客户名称', name: 'custName', type: 'text' },
+ { label: '债项编号', name: 'businessNo', type: 'w-text' },
+ { label: '客户号', name: 'custNo', type: 'w-text' },
+ { label: '客户名称', name: 'custName', type: 'w-text' },
{
label: '风险暴露分类',
name: 'manResult',
- type: 'select',
- options: RiskExposureProcessStatus,
+ type: 'w-select',
+ options: RiskExposureItemOptions,
},
{
label: '流程状态',
name: 'status',
- type: 'select',
+ type: 'w-select',
options: [
{ value: 'TO_BE_SUBMITTED', label: '待发起' },
{ value: 'RETURNED', label: '退回' },
diff --git a/irbs.frontend/src/views/workbench/DoneTask.vue b/irbs.frontend/src/views/workbench/DoneTask.vue
index 49c2be5..ba842c8 100644
--- a/irbs.frontend/src/views/workbench/DoneTask.vue
+++ b/irbs.frontend/src/views/workbench/DoneTask.vue
@@ -26,10 +26,10 @@ const gridRef = ref();
const grid = {
queryFormFields: [
- { label: '业务流水号', name: 'BUSINESS_ID', type: 'text' },
- { label: '流程名称', name: 'PROC_NAME', type: 'text' },
- { label: '任务节点', name: 'TASK_NAME', type: 'text' },
- { label: '任务描述', name: 'TASK_DESC', type: 'text' },
+ { label: '业务流水号', name: 'BUSINESS_ID', type: 'w-text' },
+ { label: '流程名称', name: 'PROC_NAME', type: 'w-text' },
+ { label: '任务节点', name: 'TASK_NAME', type: 'w-text' },
+ { label: '任务描述', name: 'TASK_DESC', type: 'w-text' },
],
buttons: [
'query',
diff --git a/irbs.frontend/src/views/workbench/EndTask.vue b/irbs.frontend/src/views/workbench/EndTask.vue
index d2cc2e7..7f3db0a 100644
--- a/irbs.frontend/src/views/workbench/EndTask.vue
+++ b/irbs.frontend/src/views/workbench/EndTask.vue
@@ -26,10 +26,10 @@ const gridRef = ref();
const grid = {
queryFormFields: [
- { label: '业务流水号', name: 'BUSINESS_ID', type: 'text' },
- { label: '流程名称', name: 'PROC_NAME', type: 'text' },
- { label: '任务节点', name: 'TASK_NAME', type: 'text' },
- { label: '任务描述', name: 'TASK_DESC', type: 'text' },
+ { label: '业务流水号', name: 'BUSINESS_ID', type: 'w-text' },
+ { label: '流程名称', name: 'PROC_NAME', type: 'w-text' },
+ { label: '任务节点', name: 'TASK_NAME', type: 'w-text' },
+ { label: '任务描述', name: 'TASK_DESC', type: 'w-text' },
],
buttons: [
'query',
diff --git a/irbs.frontend/src/views/workbench/TodoTask.vue b/irbs.frontend/src/views/workbench/TodoTask.vue
index 6a20962..7efed10 100644
--- a/irbs.frontend/src/views/workbench/TodoTask.vue
+++ b/irbs.frontend/src/views/workbench/TodoTask.vue
@@ -39,10 +39,10 @@ const handmadeExposureDialogRef = ref();
const grid = {
queryFormFields: [
- { label: '业务流水号', name: 'BUSINESS_ID', type: 'text' },
- { label: '流程名称', name: 'PROC_NAME', type: 'text' },
- { label: '任务节点', name: 'TASK_NAME', type: 'text' },
- { label: '任务描述', name: 'TASK_DESC', type: 'text' },
+ { label: '业务流水号', name: 'BUSINESS_ID', type: 'w-text' },
+ { label: '流程名称', name: 'PROC_NAME', type: 'w-text' },
+ { label: '任务节点', name: 'TASK_NAME', type: 'w-text' },
+ { label: '任务描述', name: 'TASK_DESC', type: 'w-text' },
],
buttons: [
'query',
diff --git a/irbs.reports/src/main/java/irbs/reports/service/impl/RptModelMonitorDiffServiceImpl.java b/irbs.reports/src/main/java/irbs/reports/service/impl/RptModelMonitorDiffServiceImpl.java
index 5a7435d..389b418 100644
--- a/irbs.reports/src/main/java/irbs/reports/service/impl/RptModelMonitorDiffServiceImpl.java
+++ b/irbs.reports/src/main/java/irbs/reports/service/impl/RptModelMonitorDiffServiceImpl.java
@@ -1,7 +1,6 @@
package irbs.reports.service.impl;
import dm.jdbc.util.StringUtil;
-import io.sc.platform.core.util.DateUtil;
import io.sc.platform.jdbc.DatabaseType;
import irbs.reports.jpa.entity.ReportSqlConfig;
import irbs.reports.jpa.repository.ReportSqlConfigRepository;
diff --git a/irbs.reports/src/main/java/irbs/reports/service/impl/RptModelMonitorStableServiceImpl.java b/irbs.reports/src/main/java/irbs/reports/service/impl/RptModelMonitorStableServiceImpl.java
index d65610d..6a32697 100644
--- a/irbs.reports/src/main/java/irbs/reports/service/impl/RptModelMonitorStableServiceImpl.java
+++ b/irbs.reports/src/main/java/irbs/reports/service/impl/RptModelMonitorStableServiceImpl.java
@@ -1,7 +1,6 @@
package irbs.reports.service.impl;
import dm.jdbc.util.StringUtil;
-import io.sc.platform.core.util.DateUtil;
import io.sc.platform.jdbc.DatabaseType;
import irbs.reports.jpa.entity.ReportSqlConfig;
import irbs.reports.jpa.repository.ReportSqlConfigRepository;
diff --git a/irbs.reports/src/main/java/irbs/reports/service/impl/RptRatingDistributionServiceImpl.java b/irbs.reports/src/main/java/irbs/reports/service/impl/RptRatingDistributionServiceImpl.java
index a6277be..fc4af36 100644
--- a/irbs.reports/src/main/java/irbs/reports/service/impl/RptRatingDistributionServiceImpl.java
+++ b/irbs.reports/src/main/java/irbs/reports/service/impl/RptRatingDistributionServiceImpl.java
@@ -1,7 +1,6 @@
package irbs.reports.service.impl;
import dm.jdbc.util.StringUtil;
-import io.sc.platform.core.util.DateUtil;
import io.sc.platform.jdbc.DatabaseType;
import irbs.reports.jpa.entity.ReportSqlConfig;
import irbs.reports.jpa.repository.ReportSqlConfigRepository;
diff --git a/irbs.reports/src/main/java/irbs/reports/service/impl/RptRatingIndustryFocusDistServiceImpl.java b/irbs.reports/src/main/java/irbs/reports/service/impl/RptRatingIndustryFocusDistServiceImpl.java
index 861f4de..71aae9f 100644
--- a/irbs.reports/src/main/java/irbs/reports/service/impl/RptRatingIndustryFocusDistServiceImpl.java
+++ b/irbs.reports/src/main/java/irbs/reports/service/impl/RptRatingIndustryFocusDistServiceImpl.java
@@ -1,7 +1,6 @@
package irbs.reports.service.impl;
import dm.jdbc.util.StringUtil;
-import io.sc.platform.core.util.DateUtil;
import io.sc.platform.jdbc.DatabaseType;
import irbs.reports.jpa.entity.ReportSqlConfig;
import irbs.reports.jpa.repository.ReportSqlConfigRepository;
diff --git a/irbs.reports/src/main/java/irbs/reports/service/impl/RptRatingLoanBalanceMigrateServiceImpl.java b/irbs.reports/src/main/java/irbs/reports/service/impl/RptRatingLoanBalanceMigrateServiceImpl.java
index 8c1712a..da0d0cb 100644
--- a/irbs.reports/src/main/java/irbs/reports/service/impl/RptRatingLoanBalanceMigrateServiceImpl.java
+++ b/irbs.reports/src/main/java/irbs/reports/service/impl/RptRatingLoanBalanceMigrateServiceImpl.java
@@ -1,7 +1,6 @@
package irbs.reports.service.impl;
import dm.jdbc.util.StringUtil;
-import io.sc.platform.core.util.DateUtil;
import io.sc.platform.jdbc.DatabaseType;
import irbs.reports.jpa.entity.ReportSqlConfig;
import irbs.reports.jpa.repository.ReportSqlConfigRepository;
diff --git a/irbs.reports/src/main/java/irbs/reports/service/impl/RptRatingModelFocusDistServiceImpl.java b/irbs.reports/src/main/java/irbs/reports/service/impl/RptRatingModelFocusDistServiceImpl.java
index 96df8a1..00cc4ee 100644
--- a/irbs.reports/src/main/java/irbs/reports/service/impl/RptRatingModelFocusDistServiceImpl.java
+++ b/irbs.reports/src/main/java/irbs/reports/service/impl/RptRatingModelFocusDistServiceImpl.java
@@ -1,7 +1,6 @@
package irbs.reports.service.impl;
import dm.jdbc.util.StringUtil;
-import io.sc.platform.core.util.DateUtil;
import io.sc.platform.jdbc.DatabaseType;
import irbs.reports.jpa.entity.ReportSqlConfig;
import irbs.reports.jpa.repository.ReportSqlConfigRepository;
diff --git a/irbs.reports/src/main/java/irbs/reports/service/impl/RptRatingNumberMigrateServiceImpl.java b/irbs.reports/src/main/java/irbs/reports/service/impl/RptRatingNumberMigrateServiceImpl.java
index 323a6c2..b408b51 100644
--- a/irbs.reports/src/main/java/irbs/reports/service/impl/RptRatingNumberMigrateServiceImpl.java
+++ b/irbs.reports/src/main/java/irbs/reports/service/impl/RptRatingNumberMigrateServiceImpl.java
@@ -1,7 +1,6 @@
package irbs.reports.service.impl;
import dm.jdbc.util.StringUtil;
-import io.sc.platform.core.util.DateUtil;
import io.sc.platform.jdbc.DatabaseType;
import irbs.reports.jpa.entity.ReportSqlConfig;
import irbs.reports.jpa.repository.ReportSqlConfigRepository;
diff --git a/irbs.reports/src/main/java/irbs/reports/service/impl/RptRatingOrgFocusDistServiceImpl.java b/irbs.reports/src/main/java/irbs/reports/service/impl/RptRatingOrgFocusDistServiceImpl.java
index 9ce2ea1..781e9a9 100644
--- a/irbs.reports/src/main/java/irbs/reports/service/impl/RptRatingOrgFocusDistServiceImpl.java
+++ b/irbs.reports/src/main/java/irbs/reports/service/impl/RptRatingOrgFocusDistServiceImpl.java
@@ -1,7 +1,6 @@
package irbs.reports.service.impl;
import dm.jdbc.util.StringUtil;
-import io.sc.platform.core.util.DateUtil;
import io.sc.platform.jdbc.DatabaseType;
import irbs.reports.jpa.entity.ReportSqlConfig;
import irbs.reports.jpa.repository.ReportSqlConfigRepository;
diff --git a/irbs.reports/src/main/java/irbs/reports/service/impl/RptRatingOverturnServiceImpl.java b/irbs.reports/src/main/java/irbs/reports/service/impl/RptRatingOverturnServiceImpl.java
index f05de23..3fef57d 100644
--- a/irbs.reports/src/main/java/irbs/reports/service/impl/RptRatingOverturnServiceImpl.java
+++ b/irbs.reports/src/main/java/irbs/reports/service/impl/RptRatingOverturnServiceImpl.java
@@ -1,7 +1,6 @@
package irbs.reports.service.impl;
import dm.jdbc.util.StringUtil;
-import io.sc.platform.core.util.DateUtil;
import io.sc.platform.jdbc.DatabaseType;
import irbs.reports.jpa.entity.ReportSqlConfig;
import irbs.reports.jpa.repository.ReportSqlConfigRepository;
diff --git a/irbs.reports/src/main/java/irbs/reports/utils/RptSqlFormat.java b/irbs.reports/src/main/java/irbs/reports/utils/RptSqlFormat.java
index ffd0ae9..302999e 100644
--- a/irbs.reports/src/main/java/irbs/reports/utils/RptSqlFormat.java
+++ b/irbs.reports/src/main/java/irbs/reports/utils/RptSqlFormat.java
@@ -1,6 +1,7 @@
package irbs.reports.utils;
-import io.sc.platform.core.util.StringUtil;
+
+import io.sc.platform.util.StringUtil;
import java.util.Map;
diff --git a/irbs.riskExposure/build.gradle b/irbs.riskExposure/build.gradle
index e0f5dfa..db4a5f6 100644
--- a/irbs.riskExposure/build.gradle
+++ b/irbs.riskExposure/build.gradle
@@ -2,7 +2,6 @@ dependencies {
api(
"io.sc:io.sc.platform.mvc:${platform_version}",
"io.sc:io.sc.platform.flowable:${platform_version}",
- "io.sc:io.sc.platform.page.config:${rwa_version}",
"io.sc:io.sc.platform.scheduler.core:${platform_version}",
)
}
diff --git a/irbs.riskExposure/src/main/java/irbs/riskExposure/service/impl/RiskExposureBatchServiceImpl.java b/irbs.riskExposure/src/main/java/irbs/riskExposure/service/impl/RiskExposureBatchServiceImpl.java
index 142fba1..7b116e3 100644
--- a/irbs.riskExposure/src/main/java/irbs/riskExposure/service/impl/RiskExposureBatchServiceImpl.java
+++ b/irbs.riskExposure/src/main/java/irbs/riskExposure/service/impl/RiskExposureBatchServiceImpl.java
@@ -1,10 +1,10 @@
package irbs.riskExposure.service.impl;
-import io.sc.platform.core.util.StringUtil;
import io.sc.platform.jdbc.DatabaseType;
import io.sc.platform.orm.api.enums.DataComeFrom;
import io.sc.platform.scheduler.core.JobHandler;
import io.sc.platform.scheduler.core.vo.Task;
+import io.sc.platform.util.StringUtil;
import irbs.riskExposure.jpa.entity.RiskExposure;
import irbs.riskExposure.jpa.entity.RiskExposureDebt;
import irbs.riskExposure.jpa.entity.RiskExposureNameList;
diff --git a/irbs.riskExposure/src/main/java/irbs/riskExposure/service/impl/RiskExposureProcessServiceImpl.java b/irbs.riskExposure/src/main/java/irbs/riskExposure/service/impl/RiskExposureProcessServiceImpl.java
index 2908c80..70aff78 100644
--- a/irbs.riskExposure/src/main/java/irbs/riskExposure/service/impl/RiskExposureProcessServiceImpl.java
+++ b/irbs.riskExposure/src/main/java/irbs/riskExposure/service/impl/RiskExposureProcessServiceImpl.java
@@ -51,6 +51,7 @@ public class RiskExposureProcessServiceImpl implements RiskExposureProcessServic
}
return new CompleteTaskResponse();
} catch (CompleteTaskException exception) {
+ exception.printStackTrace();
TransactionAspectSupport.currentTransactionStatus().setRollbackOnly();
return CompleteTaskResponse.fromAssigneesJson(exception.getMessage());
} catch (Exception exception) {
diff --git a/irbs.riskExposure/src/main/java/irbs/riskExposure/utils/DateUtil.java b/irbs.riskExposure/src/main/java/irbs/riskExposure/utils/DateUtil.java
index f3e4ddc..385ca8e 100644
--- a/irbs.riskExposure/src/main/java/irbs/riskExposure/utils/DateUtil.java
+++ b/irbs.riskExposure/src/main/java/irbs/riskExposure/utils/DateUtil.java
@@ -14,7 +14,7 @@ public class DateUtil {
if(dtStr != null){
dtStr = dtStr.replaceAll("[-./年月日]","");
try {
- return io.sc.platform.core.util.DateUtil.parseDate(dtStr, "yyyyMMdd");
+ return io.sc.platform.util.DateUtil.parseDate(dtStr, "yyyyMMdd");
} catch (ParseException e) {
e.printStackTrace();
}
@@ -28,7 +28,7 @@ public class DateUtil {
dtStr = dtStr.substring(0,4) + "-" + dtStr.substring(4,6) + "-" + dtStr.substring(6);
}
try {
- return io.sc.platform.core.util.DateUtil.parseDate(dtStr, "yyyy-MM-dd");
+ return io.sc.platform.util.DateUtil.parseDate(dtStr, "yyyy-MM-dd");
} catch (ParseException e) {
e.printStackTrace();
}
@@ -43,7 +43,7 @@ public class DateUtil {
dtStr = dtStr.substring(0,4) + "-" + dtStr.substring(4,6) + "-" + dtStr.substring(6);
}
try {
- return io.sc.platform.core.util.DateUtil.parseDate(dtStr, "yyyy-MM-dd HH:mm:ss");
+ return io.sc.platform.util.DateUtil.parseDate(dtStr, "yyyy-MM-dd HH:mm:ss");
} catch (ParseException e) {
e.printStackTrace();
}
@@ -53,7 +53,7 @@ public class DateUtil {
public static String toString(Date dt, String format){
if(dt != null){
- return io.sc.platform.core.util.DateUtil.formatDate(dt, format);
+ return io.sc.platform.util.DateUtil.formatDate(dt, format);
}
return null;
}
diff --git a/irbs.riskExposure/src/main/java/irbs/riskExposure/utils/RptSqlFormat.java b/irbs.riskExposure/src/main/java/irbs/riskExposure/utils/RptSqlFormat.java
index b4f7d37..5c08cdf 100644
--- a/irbs.riskExposure/src/main/java/irbs/riskExposure/utils/RptSqlFormat.java
+++ b/irbs.riskExposure/src/main/java/irbs/riskExposure/utils/RptSqlFormat.java
@@ -1,6 +1,7 @@
package irbs.riskExposure.utils;
-import io.sc.platform.core.util.StringUtil;
+
+import io.sc.platform.util.StringUtil;
import java.util.Map;
diff --git a/irbs.shrcb.poc.frontend/package.json b/irbs.shrcb.poc.frontend/package.json
index ef6eb33..bd94374 100644
--- a/irbs.shrcb.poc.frontend/package.json
+++ b/irbs.shrcb.poc.frontend/package.json
@@ -7,11 +7,11 @@
"author": "",
"license": "ISC",
"scripts": {
- "clean": "rm -rf ./node_modules && rm -rf pnpm-lock.yaml",
+ "clean": "platform clean dist ./node_modules ./pnpm-lock.yaml ./package-lock.json",
"dev": "nodemon",
"serve": "node ./util-components-generator.cjs && cross-env NODE_ENV=development webpack serve --config webpack.env.serve.cjs",
"build": "node ./util-components-generator.cjs && cross-env NODE_ENV=development webpack --config webpack.env.build.cjs",
- "prod": "node ./util-components-generator.cjs && cross-env NODE_ENV=production webpack --config webpack.env.prod.cjs",
+ "prod": "node ./util-components-generator.cjs && cross-env NODE_ENV=production webpack --config webpack.env.prod.cjs",
"sync": "platform sync"
},
"engines": {
@@ -24,93 +24,103 @@
"no-git-checks": true
},
"devDependencies": {
- "@babel/core": "7.24.7",
- "@babel/preset-env": "7.24.7",
- "@babel/preset-typescript": "7.24.7",
- "@babel/plugin-transform-class-properties": "7.24.7",
- "@babel/plugin-transform-object-rest-spread": "7.24.7",
- "@quasar/app-webpack": "3.13.2",
+ "@babel/core": "7.26.0",
+ "@babel/plugin-transform-class-properties": "7.25.9",
+ "@babel/plugin-transform-object-rest-spread": "7.25.9",
+ "@babel/preset-env": "7.26.0",
+ "@babel/preset-typescript": "7.26.0",
+ "@quasar/app-webpack": "4.0.0-rc.4",
"@quasar/cli": "2.4.1",
"@types/mockjs": "1.0.10",
- "@types/node": "20.14.10",
- "@typescript-eslint/eslint-plugin": "7.15.0",
- "@typescript-eslint/parser": "7.15.0",
- "@vue/compiler-sfc": "3.4.31",
+ "@types/node": "22.10.0",
+ "@typescript-eslint/eslint-plugin": "8.16.0",
+ "@typescript-eslint/parser": "8.16.0",
+ "@vue/babel-plugin-jsx": "1.2.5",
+ "@vue/compiler-sfc": "3.5.13",
+ "@vuepress/bundler-webpack": "2.0.0-rc.15",
+ "@vuepress/theme-default": "2.0.0-rc.49",
"@webpack-cli/serve": "2.0.5",
- "autoprefixer": "10.4.19",
- "babel-loader": "9.1.3",
+ "autoprefixer": "10.4.20",
+ "babel-loader": "9.2.1",
"clean-webpack-plugin": "4.0.0",
"copy-webpack-plugin": "12.0.2",
"cross-env": "7.0.3",
"css-loader": "7.1.2",
- "eslint": "8.56.0",
+ "eslint": "9.15.0",
"eslint-config-prettier": "9.1.0",
- "eslint-plugin-prettier": "5.1.3",
- "eslint-plugin-vue": "9.27.0",
+ "eslint-plugin-prettier": "5.2.1",
+ "eslint-plugin-vue": "9.31.0",
"eslint-webpack-plugin": "4.2.0",
- "html-webpack-plugin": "5.6.0",
+ "html-webpack-plugin": "5.6.3",
"json5": "2.2.3",
- "mini-css-extract-plugin": "2.9.0",
- "nodemon": "3.1.4",
- "postcss": "8.4.39",
+ "mini-css-extract-plugin": "2.9.2",
+ "nodemon": "3.1.7",
+ "postcss": "8.4.49",
"postcss-import": "16.1.0",
"postcss-loader": "8.1.1",
- "postcss-preset-env": "9.6.0",
- "prettier": "3.3.2",
- "sass": "1.77.6",
- "sass-loader": "14.2.1",
- "typescript": "5.5.3",
+ "postcss-preset-env": "10.1.1",
+ "prettier": "3.4.1",
+ "sass": "1.81.0",
+ "sass-loader": "16.0.3",
+ "tailwindcss": "3.4.15",
+ "typescript": "5.5.4",
"vue-loader": "17.4.2",
- "webpack": "5.92.1",
+ "vuepress": "2.0.0-rc.15",
+ "webpack": "5.96.1",
"webpack-bundle-analyzer": "4.10.2",
"webpack-cli": "5.1.4",
- "webpack-dev-server": "5.0.4",
- "webpack-merge": "6.0.1",
- "@vue/babel-plugin-jsx": "1.2.2"
+ "webpack-dev-server": "5.1.0",
+ "webpack-merge": "6.0.1"
},
"dependencies": {
- "@codemirror/autocomplete": "6.17.0",
- "@codemirror/commands": "6.6.0",
+ "@codemirror/autocomplete": "6.18.3",
+ "@codemirror/commands": "6.7.1",
"@codemirror/lang-html": "6.4.9",
"@codemirror/lang-java": "6.0.1",
"@codemirror/lang-javascript": "6.2.2",
"@codemirror/lang-json": "6.0.1",
- "@codemirror/lang-sql": "6.7.0",
+ "@codemirror/lang-sql": "6.8.0",
"@codemirror/lang-xml": "6.1.0",
- "@codemirror/language": "6.10.2",
- "@codemirror/search": "6.5.6",
+ "@codemirror/language": "6.10.4",
+ "@codemirror/search": "6.5.8",
"@codemirror/state": "6.4.1",
- "@codemirror/view": "6.28.4",
- "@maxgraph/core": "0.12.0",
- "@quasar/extras": "1.16.12",
- "@univerjs/core": "0.2.0",
- "@univerjs/design": "0.2.0",
- "@univerjs/docs": "0.2.0",
- "@univerjs/docs-ui": "0.2.0",
- "@univerjs/engine-formula": "0.2.0",
- "@univerjs/engine-render": "0.2.0",
- "@univerjs/facade": "0.2.0",
- "@univerjs/sheets": "0.2.0",
- "@univerjs/sheets-formula": "0.2.0",
- "@univerjs/sheets-ui": "0.2.0",
- "@univerjs/ui": "0.2.0",
- "@vueuse/core": "10.11.0",
- "axios": "1.7.2",
+ "@codemirror/view": "6.35.0",
+ "@maxgraph/core": "0.13.1",
+ "@quasar/extras": "1.16.13",
+ "@univerjs/core": "0.5.0",
+ "@univerjs/design": "0.5.0",
+ "@univerjs/docs": "0.5.0",
+ "@univerjs/docs-ui": "0.5.0",
+ "@univerjs/engine-formula": "0.5.0",
+ "@univerjs/engine-render": "0.5.0",
+ "@univerjs/facade": "0.5.0",
+ "@univerjs/sheets": "0.5.0",
+ "@univerjs/sheets-formula": "0.5.0",
+ "@univerjs/sheets-ui": "0.5.0",
+ "@univerjs/thread-comment": "0.5.0",
+ "@univerjs/ui": "0.5.0",
+ "@vueuse/core": "11.3.0",
+ "axios": "1.7.8",
"codemirror": "6.0.1",
- "dayjs": "1.11.11",
+ "dayjs": "1.11.13",
"echarts": "5.5.1",
"exceljs": "4.4.0",
"file-saver": "2.0.5",
+ "lodash": "4.17.21",
"luckyexcel": "1.0.1",
"mockjs": "1.1.0",
- "pinia": "2.1.7",
- "platform-core": "8.1.275",
- "quasar": "2.15.4",
+ "node-sql-parser": "5.3.4",
+ "pinia": "2.2.6",
+ "platform-core": "8.2.22",
+ "quasar": "2.17.4",
+ "sort-array": "5.0.0",
+ "svg-path-commander": "2.1.5",
"tailwindcss": "3.4.4",
- "vue": "3.4.31",
- "vue-dompurify-html": "5.1.0",
- "vue-i18n": "9.13.1",
- "vue-router": "4.4.0",
+ "vue": "3.5.13",
+ "vue-codemirror6": "1.2.0",
+ "vue-dompurify-html": "5.2.0",
+ "vue-i18n": "10.0.4",
+ "vue-router": "4.5.0",
"xml-formatter": "3.6.3"
}
}
\ No newline at end of file
diff --git a/irbs.shrcb.poc.frontend/src/views/cntm/CntmTest.vue b/irbs.shrcb.poc.frontend/src/views/cntm/CntmTest.vue
index 47e6863..50a4fcf 100644
--- a/irbs.shrcb.poc.frontend/src/views/cntm/CntmTest.vue
+++ b/irbs.shrcb.poc.frontend/src/views/cntm/CntmTest.vue
@@ -34,13 +34,13 @@ const state = reactive({
label: '告警系统英文简称',
name: 'sysNameEn',
defaultValue: 'IRS',
- type: 'text',
+ type: 'w-text',
rules: [{ name: FormComponentValidateEnum.字符串最大长度校验, value: 100 }],
},
{
label: '告警系统中文名字',
name: 'sysNameCn',
- type: 'text',
+ type: 'w-text',
defaultValue: '非零售内评系统',
rules: [{ name: FormComponentValidateEnum.字符串最大长度校验, value: 100 }],
},
@@ -49,7 +49,7 @@ const state = reactive({
label: '告警IP地址',
name: 'ipAddress',
defaultValue: '10.190.123.218',
- type: 'text',
+ type: 'w-text',
rules: [{ name: FormComponentValidateEnum.字符串最大长度校验, value: 100 }],
},
{ label: '告警级别', name: 'severity', type: 'select', options: ['MAJOR', 'CRITICAL', 'OK'], defaultValue: 'MAJOR' },
@@ -57,14 +57,14 @@ const state = reactive({
label: '告警时间',
name: 'datetime',
defaultValue: year + '-' + month + '-' + day + ' ' + hours + ':' + minutes + ':' + seconds,
- type: 'text',
+ type: 'w-text',
rules: [{ name: FormComponentValidateEnum.字符串最大长度校验, value: 100 }],
},
{ label: '告警标题', name: 'title', type: 'text', defaultValue: 'POC验证', rules: [{ name: FormComponentValidateEnum.字符串最大长度校验, value: 100 }] },
{
label: '告警内容',
name: 'msg',
- type: 'textarea',
+ type: 'w-textarea',
colSpan: 'full',
required: true,
rows: 3,
@@ -73,7 +73,7 @@ const state = reactive({
{
label: '请求URL',
name: 'urlStr',
- type: 'text',
+ type: 'w-text',
required: true,
colSpan: 'full',
defaultValue: 'http://10.190.120.53:5000/api/alarm?source=irs',
diff --git a/irbs.shrcb.poc.frontend/src/views/esb/EsbTest.vue b/irbs.shrcb.poc.frontend/src/views/esb/EsbTest.vue
index 7a2645e..02575e9 100644
--- a/irbs.shrcb.poc.frontend/src/views/esb/EsbTest.vue
+++ b/irbs.shrcb.poc.frontend/src/views/esb/EsbTest.vue
@@ -8,12 +8,12 @@
:checkbox-selection="false"
:query-form-cols-num="3"
:query-form-fields="[
- { name: 'serialNo', label: '请求流水号', type: 'text' },
- { name: 'requestId', label: '请求ID', type: 'text' },
+ { name: 'serialNo', label: '请求流水号', type: 'w-text' },
+ { name: 'requestId', label: '请求ID', type: 'w-text' },
{
name: 'status',
label: '请求状态',
- type: 'select',
+ type: 'w-select',
queryOperator: 'equals',
options: [
{ label: '成功', value: true },
@@ -91,7 +91,7 @@
:sort-by="['-startDate']"
>
-
+