|
|
|
@ -90,7 +90,7 @@ |
|
|
|
class="table-rounded" |
|
|
|
:loading="tableLoadingDM" |
|
|
|
> |
|
|
|
<el-table-column prop="id" label="序号" align="center" header-align="center" width="60"> |
|
|
|
<el-table-column prop="id" label="序号" align="center" header-align="center" width="80"> |
|
|
|
<template #default="scope"> |
|
|
|
{{ (currentPageDM - 1) * pageSizeDM + scope.$index + 1 }} |
|
|
|
</template> |
|
|
|
@ -276,10 +276,10 @@ |
|
|
|
header-cell-class-name="table-header" |
|
|
|
@sort-change="handleSortChangeDE" |
|
|
|
:default-sort="{ prop: null, order: null }" |
|
|
|
class="table-rounded" |
|
|
|
class="table-roundedDE" |
|
|
|
:loading="tableLoadingDE" |
|
|
|
> |
|
|
|
<el-table-column prop="id" label="序号" align="center" header-align="center" width="60"> |
|
|
|
<el-table-column prop="id" label="序号" align="center" header-align="center" width="80"> |
|
|
|
<template #default="scope"> |
|
|
|
{{ (currentPageDE - 1) * pageSizeDE + scope.$index + 1 }} |
|
|
|
</template> |
|
|
|
@ -707,10 +707,18 @@ const checkTokenNum = () => { |
|
|
|
return true; |
|
|
|
}; |
|
|
|
|
|
|
|
// 防抖 |
|
|
|
const NoshakeDM = ref(false) |
|
|
|
|
|
|
|
// DeepMate提交表单 |
|
|
|
const submitFormDM = async () => { |
|
|
|
// 防抖 |
|
|
|
if (NoshakeDM.value) return; |
|
|
|
NoshakeDM.value = true; |
|
|
|
|
|
|
|
// 表单校验 |
|
|
|
if (!checkHlids() || !checkTokenNum()) { |
|
|
|
NoshakeDM.value = false; |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
@ -740,6 +748,8 @@ const submitFormDM = async () => { |
|
|
|
DMTableData(); |
|
|
|
} catch (error) { |
|
|
|
ElMessage.error('添加权限失败,请重试'); |
|
|
|
} finally { |
|
|
|
NoshakeDM.value = false; |
|
|
|
} |
|
|
|
}; |
|
|
|
|
|
|
|
@ -1037,10 +1047,18 @@ const checkRemark = () => { |
|
|
|
return true; |
|
|
|
}; |
|
|
|
|
|
|
|
// 防抖 |
|
|
|
const NoshakeDE = ref(false) |
|
|
|
|
|
|
|
// 提交表单 |
|
|
|
const submitFormDE = async () => { |
|
|
|
// 防抖 |
|
|
|
if (NoshakeDE.value) return; |
|
|
|
NoshakeDE.value = true; |
|
|
|
|
|
|
|
// 表单校验 |
|
|
|
if (!checkHlidsDE() || !checkmodel() || !checkTime() || !checkRemark()) { |
|
|
|
NoshakeDE.value = false; |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
@ -1081,6 +1099,8 @@ const submitFormDE = async () => { |
|
|
|
DETableData(); |
|
|
|
} catch (error) { |
|
|
|
ElMessage.error('添加权限失败,请重试'); |
|
|
|
} finally { |
|
|
|
NoshakeDE.value = false; |
|
|
|
} |
|
|
|
}; |
|
|
|
|
|
|
|
@ -1172,6 +1192,7 @@ const openDetail = async(dccode) => { |
|
|
|
text-align: left; |
|
|
|
color: #333; |
|
|
|
margin-top: 13px; |
|
|
|
font-family: "SimHei", "Heiti SC", "Microsoft YaHei", sans-serif !important; |
|
|
|
} |
|
|
|
|
|
|
|
/* 按钮组 */ |
|
|
|
@ -1194,6 +1215,14 @@ const openDetail = async(dccode) => { |
|
|
|
border-radius: 12px !important; |
|
|
|
overflow: hidden !important; |
|
|
|
border: 1px solid #e4e7ed !important; |
|
|
|
min-height: 700px; |
|
|
|
} |
|
|
|
|
|
|
|
.table-roundedDE { |
|
|
|
border-radius: 12px !important; |
|
|
|
overflow: hidden !important; |
|
|
|
border: 1px solid #e4e7ed !important; |
|
|
|
min-height: 650px; |
|
|
|
} |
|
|
|
|
|
|
|
.table-header { |
|
|
|
@ -1379,7 +1408,8 @@ const openDetail = async(dccode) => { |
|
|
|
font-size: 15px; |
|
|
|
text-align: left; |
|
|
|
color: #333; |
|
|
|
margin-top: 0; |
|
|
|
margin-top: 0; |
|
|
|
font-family: "SimHei", "Heiti SC", "Microsoft YaHei", sans-serif !important; |
|
|
|
} |
|
|
|
|
|
|
|
/* 按钮组(深度探索) */ |
|
|
|
|