Commit afadce0f authored by 沈翠玲's avatar 沈翠玲

修改系统名字

parent 0682c3eb
......@@ -2,7 +2,7 @@
VITE_PORT = 8001
# spa-title
VITE_GLOB_APP_TITLE = 易数通
VITE_GLOB_APP_TITLE = 亿数据
# spa shortname
VITE_GLOB_APP_SHORT_NAME = 易数通
VITE_GLOB_APP_SHORT_NAME = 亿数据
......@@ -5,7 +5,7 @@
<link rel="icon" type="image/png" href="/logo1.png" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Noto+Sans+SC:100,300,400,500,700,900">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>易数通</title>
<title>亿数据</title>
</head>
<body>
<div id="app">
......
......@@ -47,6 +47,10 @@ export const fullBack = (params) => {
export const stayLoan = (params) => {
return request.get('/LoanDistribute/stay', params);
};
// 撤销留案
export const unstayLoan = (params) => {
return request.get('/LoanDistribute/unstay', params);
};
// 根据调节中心获取不同角色用户
export const getTenantUsers = (params) => {
return request.get('/tenant/getTenantUsers', params);
......
......@@ -5,7 +5,7 @@
<div class="view-account-top">
<div>
<!-- <img :src="websiteConfig.loginImage" alt="" /> -->
易数通数据平台
亿数据数据平台
</div>
<!-- <div class="view-account-top-desc">中后台解决方案</div> -->
</div>
......
......@@ -90,6 +90,7 @@
</el-dropdown>
<!-- <el-button type="primary" @click="delTag" style="margin-left: 10px">删除临时标签</el-button> -->
<el-button type="primary" style="margin-left: 10px" @click="stayCase">留案 </el-button>
<el-button type="primary" style="margin-left: 10px" @click="unstayCase">撤销留案 </el-button>
</div>
</template>
</ProTable>
......@@ -110,7 +111,7 @@
const caseLRef = ref();
import dayjs from 'dayjs';
import citydata from '../../../assets/citydata';
import { stayLoan } from '@/api/allcation';
import { stayLoan, unstayLoan } from '@/api/allcation';
import { onMounted } from 'vue';
import { useUserStore } from '@/stores/modules/user';
import { getPlatformPage } from '@/api/platform';
......@@ -280,6 +281,35 @@
});
query();
};
const unstayCase = async () => {
if (dataValue.value === '对选中项操作' && (!selectdList.value || !selectdList.value.length)) {
return ElMessage.warning({
message: '请先选择操作对象!',
plain: true,
});
}
await ElMessageBox.confirm('是否确认撤销留案?', '提示', {
confirmButtonText: '确认',
cancelButtonText: '取消',
type: 'warning',
});
const ids = selectdList.value.map((v) => v.id).join(',');
let param = {};
if (dataValue.value === '对选中项操作') {
param['loanIds'] = ids;
} else {
param = { ...curParam.value };
}
await unstayLoan(param);
ElMessage({
type: 'success',
message: '撤销留案成功!',
plain: true,
});
query();
};
const config = computed( () => {
return {
maxHeight: 800,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment