Commit d2085adb authored by 祁正's avatar 祁正

Dialog对话框全局修改

parent 1b90c3eb
...@@ -95,3 +95,22 @@ ...@@ -95,3 +95,22 @@
.el-dropdown .el-dropdown-link { .el-dropdown .el-dropdown-link {
color: var(--el-color-primary) !important; color: var(--el-color-primary) !important;
} }
//对话框全局修改
.el-dialog__header.show-close{
background-color: #f3f4f7;
font-size: 16px;
padding: 14px 16px;
font-weight: bold;
color: #545559;
}
.el-dialog{
padding: 0;
}
.el-dialog__title{
font-size: 16px;
color: #0C214D;
}
.el-dialog__body{
padding: 16px;
}
...@@ -337,6 +337,8 @@ ...@@ -337,6 +337,8 @@
:dept-list="userList" :dept-list="userList"
name-key="nickName" name-key="nickName"
dept-key="dept" dept-key="dept"
name-list-key="nickName"
name-id-key="userId"
:selection-mode="selectType" :selection-mode="selectType"
@submit="handleSelectionSubmit" @submit="handleSelectionSubmit"
@close="() => selectRole = false" @close="() => selectRole = false"
...@@ -357,7 +359,7 @@ ...@@ -357,7 +359,7 @@
<el-table-column label="部门" align="center" prop="deptName" /> <el-table-column label="部门" align="center" prop="deptName" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width"> <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template #default="scope"> <template #default="scope">
<el-button type="text" style="color: rgb(255,54,54)" @click="copeAdd(scope.row)">移除</el-button> <el-button type="text" style="color: rgb(255,54,54)" @click="remove(scope.row)">移除</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
...@@ -384,6 +386,8 @@ const tableList =ref([]) ...@@ -384,6 +386,8 @@ const tableList =ref([])
const modelCodeList = ref([]) const modelCodeList = ref([])
const dialogVisible = ref(false) const dialogVisible = ref(false)
const dialogTitle = ref('') const dialogTitle = ref('')
//临时打开的认证负责人
const tPersonListStr = ref('')
//人员选择数据 //人员选择数据
const userList = ref([]) const userList = ref([])
const selectRole = ref(false) //组件控制,默认关闭 const selectRole = ref(false) //组件控制,默认关闭
...@@ -395,9 +399,7 @@ const total = ref(0) ...@@ -395,9 +399,7 @@ const total = ref(0)
const unitList = ref([]) const unitList = ref([])
const brandList = ref([]) const brandList = ref([])
const drawerQueryParams = ref({ const drawerQueryParams = ref({
//暂时写死等接口
approvalPerson:"2",
certificationResponsiblePerson:"2,100,101"
}) })
const queryParams = ref({ const queryParams = ref({
pageNum: 1, pageNum: 1,
...@@ -497,6 +499,11 @@ function getBrandDataList(){ ...@@ -497,6 +499,11 @@ function getBrandDataList(){
}) })
} }
function remove(row){
console.log(row)
}
function onChange(){ function onChange(){
let id = drawerQueryParams.value.businessDivisionId let id = drawerQueryParams.value.businessDivisionId
drawerQueryParams.value.vehicleSeries = null drawerQueryParams.value.vehicleSeries = null
...@@ -551,9 +558,7 @@ function getALLModelCodeList(){ ...@@ -551,9 +558,7 @@ function getALLModelCodeList(){
//抽屉取消 //抽屉取消
function cancelClick(){ function cancelClick(){
drawerQueryParams.value = { drawerQueryParams.value = {
//暂时写死等接口
approvalPerson:"2",
certificationResponsiblePerson:"2,100,101"
} }
drawer.value = false drawer.value = false
} }
...@@ -608,12 +613,7 @@ getBrandDataList() ...@@ -608,12 +613,7 @@ getBrandDataList()
:deep(.el-pagination.is-background .el-pager li.is-active){ :deep(.el-pagination.is-background .el-pager li.is-active){
background-color: #0154FB; background-color: #0154FB;
} }
:deep(.el-dialog__title){
font-size: 14px;
font-weight: bold;
color: #545559;
}
:deep(.custom-dialog) { :deep(.custom-dialog) {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
......
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