yujialong 11 months ago
parent c2fce16b83
commit 1f2fccc380
  1. 8
      src/components/Panel/index.vue
  2. 1
      src/views/product/strategy/CardList.vue
  3. 2
      src/views/product/strategy/Credit.vue
  4. 6
      src/views/product/strategy/Risk1.vue
  5. 2
      src/views/product/strategy/Risk2.vue
  6. 2
      src/views/product/strategy/Risk3.vue

@ -51,6 +51,7 @@
v-show="per == 0">重新开始</el-button>
<el-button type="primary"
class="submit btn h-[40px]"
:loading="submiting"
@click="submit"
:disabled="isSubmit || !projectList.length">提交</el-button>
</div>
@ -263,6 +264,7 @@ const curReq = ref<Record<string, any>[]>([]);
const taskList = ref<Record<string, any>[]>([]);
const pannelTab = ref<string>('first');
const statusTimer = ref<any>(null);
const submiting = ref<boolean>(false);
const reportId = ref<string | number>('');
const countVal = ref<any>('');
const getLevel = ref();
@ -464,6 +466,7 @@ const submit = async () => {
type: 'warning',
})
.then(async () => {
submiting.value = true;
const date = new Date();
const timeSum = Math.ceil((date.getTime() - entryTime.value.getTime()) / 60000); //
const submitTime = dayjs(date).format('YYYY-MM-DD HH:mm:ss');
@ -507,6 +510,7 @@ const submit = async () => {
reportId.value = retMap.reportId;
Cookies.set('sand-reportId', retMap.reportId);
localStorage.setItem('sand-taskList', JSON.stringify(taskList.value));
submiting.value = false;
//
param.competitionId &&
@ -521,7 +525,9 @@ const submit = async () => {
},
});
})
.catch(() => {});
.catch(() => {
submiting.value = false;
});
};
//

@ -172,6 +172,7 @@ const getList = async (refresh?: number) => {
res.data.length ? ((!route.query.add && !creditId.value) || refresh) && switchProductCredit(res.data[0].id) : toAdd();
list1.value = res.data;
} else {
riskId.value = 702;
const { process } = await getProcessInformationBasedOnRoles(149);
list2.value = process;
}

@ -804,7 +804,7 @@ const submit = async () => {
//
const addRecord = async () => {
const isEnterprise = form.scoringObject;
const preIds = `1,${Cookies.get('sand-level')},42,148,${form.scoringObject ? 513 : 512}`; // 1id/512/513
const preIds = `1,${Cookies.get('sand-level')},42,67,148,${form.scoringObject ? 513 : 512}`; // 1id/512/513
const lcRule: Array<Record<string, any>> = [handleId(514, 190, form.scoreCardName, preIds + ',514', 3), handleId(515, 191, form.scoringObject ? 392 : 391, preIds + ',515', 1)];
form.description && lcRule.push(handleId(516, 192, '94,' + form.description, preIds + ',516', 3));

@ -11,7 +11,7 @@
</div>
<h6 class="mb-3 text-sm text-[#006BFF] font-semibold">个人评分系数配置</h6>
<el-table class="c-table"
:data="form.slice(0,10)"
:data="form.slice(0,5)"
border>
<el-table-column prop="recordName"
label="信用等级"
@ -29,7 +29,7 @@
<h6 class="mt-5 mb-3 text-sm text-[#006BFF] font-semibold">企业评分系数配置</h6>
<el-table class="c-table"
:data="form.slice(10)"
:data="form.slice(5)"
border>
<el-table-column prop="recordName"
label="信用等级"
@ -118,7 +118,7 @@ const submit = async () => {
};
//
const addRecord = async () => {
const preIds = `1,${Cookies.get('sand-level')},42,149,702`; // 1id
const preIds = `1,${Cookies.get('sand-level')},42,67,149,702`; // 1id
const rule: Array<Record<string, any>> = [];
form.value.forEach((e, i) => {

@ -119,7 +119,7 @@ const submit = async () => {
};
//
const addRecord = async () => {
const preIds = `1,${Cookies.get('sand-level')},42,149,703,718`; // 1id
const preIds = `1,${Cookies.get('sand-level')},42,67,149,703,718`; // 1id
const rule: Array<Record<string, any>> = [
handleId(719, 232, form.value[0].coefficient, `${preIds},719`, 3),
handleId(723, 232, form.value[2].coefficient, `${preIds},720,723`, 3),

@ -112,7 +112,7 @@ const submit = async () => {
};
//
const addRecord = async () => {
const preIds = `1,${Cookies.get('sand-level')},42,149,704,747`; // 1id
const preIds = `1,${Cookies.get('sand-level')},42,67,149,704,747`; // 1id
const rule: Array<Record<string, any>> = [
handleId(750, 232, form.value[1].coefficient, `${preIds},748,750`, 3),
handleId(751, 232, form.value[2].coefficient, `${preIds},748,751`, 3),

Loading…
Cancel
Save