Selaa lähdekoodia

弹出框标题增加图标

zuohuaijun 3 vuotta sitten
vanhempi
commit
cb4caef26b
26 muutettua tiedostoa jossa 171 lisäystä ja 28 poistoa
  1. 1 2
      Web/src/theme/element.scss
  2. 7 1
      Web/src/views/system/codeGen/component/editCodeGenDialog.vue
  3. 7 1
      Web/src/views/system/config/component/editConfig.vue
  4. 7 1
      Web/src/views/system/database/component/addColumn.vue
  5. 7 1
      Web/src/views/system/database/component/addTable.vue
  6. 7 1
      Web/src/views/system/database/component/editColumn.vue
  7. 7 1
      Web/src/views/system/database/component/editTable.vue
  8. 7 1
      Web/src/views/system/database/component/genEntity.vue
  9. 7 1
      Web/src/views/system/dict/component/dictDataDialog.vue
  10. 7 1
      Web/src/views/system/dict/component/editDictData.vue
  11. 7 1
      Web/src/views/system/dict/component/editDictType.vue
  12. 7 1
      Web/src/views/system/file/index.vue
  13. 7 1
      Web/src/views/system/log/oplog/index.vue
  14. 7 1
      Web/src/views/system/menu/component/editMenu.vue
  15. 8 2
      Web/src/views/system/notice/component/editNotice.vue
  16. 1 1
      Web/src/views/system/onlineUser/index.vue
  17. 7 1
      Web/src/views/system/org/component/editOrg.vue
  18. 7 1
      Web/src/views/system/pos/component/editPos.vue
  19. 7 1
      Web/src/views/system/region/component/editRegion.vue
  20. 7 1
      Web/src/views/system/role/component/editRole.vue
  21. 7 1
      Web/src/views/system/role/component/grantData.vue
  22. 7 1
      Web/src/views/system/tenant/component/editTenant.vue
  23. 7 1
      Web/src/views/system/tenant/component/grantMenu.vue
  24. 7 1
      Web/src/views/system/timer/component/editTimer.vue
  25. 7 1
      Web/src/views/system/user/component/editUser.vue
  26. 7 1
      Web/src/views/system/user/component/userCenter.vue

+ 1 - 2
Web/src/theme/element.scss

@@ -278,14 +278,13 @@
 	padding-top: 10px;
 	// border-bottom: 1px solid var(--el-color-primary-light-1);
 	background: var(--el-color-primary-light-1);
-
 }
 .el-dialog__footer {
 	border-top: 1px dashed var(--el-color-primary-light-5);
 	padding-bottom: 10px;
   }
 .el-dialog__headerbtn{
-	height: 40px;
+	height: 32px;
 	font-weight: 900;
 	.el-dialog__close{
 		color: #FFF;

+ 7 - 1
Web/src/views/system/codeGen/component/editCodeGenDialog.vue

@@ -1,6 +1,12 @@
 <template>
 	<div class="sys-editCodeGen-container">
-		<el-dialog v-model="isShowDialog" :title="title" draggable width="700px">
+		<el-dialog v-model="isShowDialog" draggable width="700px">
+			<template #header>
+				<div style="color: #fff">
+					<el-icon size="16" style="margin-right: 3px; display: inline; vertical-align: middle"> <ele-Edit /> </el-icon>
+					<span> {{ title }} </span>
+				</div>
+			</template>
 			<el-form :model="ruleForm" ref="ruleFormRef" size="default" label-width="80px">
 				<el-row :gutter="35">
 					<el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12" class="mb20">

+ 7 - 1
Web/src/views/system/config/component/editConfig.vue

@@ -1,6 +1,12 @@
 <template>
 	<div class="sys-config-container">
-		<el-dialog v-model="isShowDialog" :title="title" draggable width="600px">
+		<el-dialog v-model="isShowDialog" draggable width="600px">
+			<template #header>
+				<div style="color: #fff">
+					<el-icon size="16" style="margin-right: 3px; display: inline; vertical-align: middle"> <ele-Edit /> </el-icon>
+					<span> {{ title }} </span>
+				</div>
+			</template>
 			<el-form :model="ruleForm" ref="ruleFormRef" size="default" label-width="80px">
 				<el-row :gutter="35">
 					<el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24" class="mb20">

+ 7 - 1
Web/src/views/system/database/component/addColumn.vue

@@ -1,6 +1,12 @@
 <template>
 	<div class="sys-dbColumn-container">
-		<el-dialog v-model="isShowDialog" title="增加列" draggable :close-on-click-modal="false" width="600px">
+		<el-dialog v-model="isShowDialog" draggable :close-on-click-modal="false" width="600px">
+			<template #header>
+				<div style="color: #fff">
+					<el-icon size="16" style="margin-right: 3px; display: inline; vertical-align: middle"> <ele-Edit /> </el-icon>
+					<span> 增加列 </span>
+				</div>
+			</template>
 			<el-form :model="ruleForm" ref="ruleFormRef" size="default" label-width="60px">
 				<el-row :gutter="35">
 					<el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24" class="mb20">

+ 7 - 1
Web/src/views/system/database/component/addTable.vue

@@ -1,6 +1,12 @@
 <template>
 	<div class="sys-dbTable-container">
-		<el-dialog v-model="isShowDialog" title="增加表" draggable :close-on-click-modal="false" width="1400px">
+		<el-dialog v-model="isShowDialog" draggable :close-on-click-modal="false" width="1400px">
+			<template #header>
+				<div style="color: #fff">
+					<el-icon size="16" style="margin-right: 3px; display: inline; vertical-align: middle"> <ele-Edit /> </el-icon>
+					<span> 增加表 </span>
+				</div>
+			</template>
 			<el-divider content-position="left">数据表信息</el-divider>
 			<el-form :model="ruleForm" ref="ruleFormRef" size="default" label-width="80px">
 				<el-row :gutter="35">

+ 7 - 1
Web/src/views/system/database/component/editColumn.vue

@@ -1,6 +1,12 @@
 <template>
 	<div class="sys-dbColumn-container">
-		<el-dialog v-model="isShowDialog" title="列编辑" draggable width="600px">
+		<el-dialog v-model="isShowDialog" draggable width="600px">
+			<template #header>
+				<div style="color: #fff">
+					<el-icon size="16" style="margin-right: 3px; display: inline; vertical-align: middle"> <ele-Edit /> </el-icon>
+					<span> 列编辑 </span>
+				</div>
+			</template>
 			<el-form :model="ruleForm" ref="ruleFormRef" size="default" label-width="80px">
 				<el-row :gutter="35">
 					<el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24" class="mb20">

+ 7 - 1
Web/src/views/system/database/component/editTable.vue

@@ -1,6 +1,12 @@
 <template>
 	<div class="sys-dbTable-container">
-		<el-dialog v-model="isShowDialog" title="表编辑" draggable width="600px">
+		<el-dialog v-model="isShowDialog" draggable width="600px">
+			<template #header>
+				<div style="color: #fff">
+					<el-icon size="16" style="margin-right: 3px; display: inline; vertical-align: middle"> <ele-Edit /> </el-icon>
+					<span> 表编辑 </span>
+				</div>
+			</template>
 			<el-form :model="ruleForm" ref="ruleFormRef" size="default" label-width="80px">
 				<el-row :gutter="35">
 					<el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24" class="mb20">

+ 7 - 1
Web/src/views/system/database/component/genEntity.vue

@@ -1,6 +1,12 @@
 <template>
 	<div class="sys-dbEntity-container">
-		<el-dialog v-model="isShowDialog" title="生成实体" draggable width="600px">
+		<el-dialog v-model="isShowDialog" draggable width="600px">
+			<template #header>
+				<div style="color: #fff">
+					<el-icon size="16" style="margin-right: 3px; display: inline; vertical-align: middle"> <ele-Cpu /> </el-icon>
+					<span> 生成实体 </span>
+				</div>
+			</template>
 			<el-form :model="ruleForm" ref="ruleFormRef" size="default" label-width="100px">
 				<el-row :gutter="35">
 					<el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24" class="mb20">

+ 7 - 1
Web/src/views/system/dict/component/dictDataDialog.vue

@@ -1,6 +1,12 @@
 <template>
 	<div class="sys-dictData-container">
-		<el-dialog title="字典值列表" v-model="isShowDialog" draggable width="860px">
+		<el-dialog v-model="isShowDialog" draggable width="860px">
+			<template #header>
+				<div style="color: #fff">
+					<el-icon size="16" style="margin-right: 3px; display: inline; vertical-align: middle"> <ele-Edit /> </el-icon>
+					<span> 字典值列表 </span>
+				</div>
+			</template>
 			<el-card shadow="hover" :body-style="{ paddingBottom: '0' }">
 				<el-form :model="queryParams" ref="queryForm" :inline="true">
 					<el-form-item label="值" prop="value">

+ 7 - 1
Web/src/views/system/dict/component/editDictData.vue

@@ -1,6 +1,12 @@
 <template>
 	<div class="sys-dictData-container">
-		<el-dialog v-model="isShowDialog" :title="title" draggable width="600px">
+		<el-dialog v-model="isShowDialog" draggable width="600px">
+			<template #header>
+				<div style="color: #fff">
+					<el-icon size="16" style="margin-right: 3px; display: inline; vertical-align: middle"> <ele-Edit /> </el-icon>
+					<span> {{ title }} </span>
+				</div>
+			</template>
 			<el-form :model="ruleForm" ref="ruleFormRef" size="default" label-width="80px">
 				<el-row :gutter="35">
 					<el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24" class="mb20">

+ 7 - 1
Web/src/views/system/dict/component/editDictType.vue

@@ -1,6 +1,12 @@
 <template>
 	<div class="sys-dictType-container">
-		<el-dialog v-model="isShowDialog" :title="title" draggable width="600px">
+		<el-dialog v-model="isShowDialog" draggable width="600px">
+			<template #header>
+				<div style="color: #fff">
+					<el-icon size="16" style="margin-right: 3px; display: inline; vertical-align: middle"> <ele-Edit /> </el-icon>
+					<span> {{ title }} </span>
+				</div>
+			</template>
 			<el-form :model="ruleForm" ref="ruleFormRef" size="default" label-width="80px">
 				<el-row :gutter="35">
 					<el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24" class="mb20">

+ 7 - 1
Web/src/views/system/file/index.vue

@@ -75,7 +75,13 @@
 			/>
 		</el-card>
 
-		<el-dialog title="上传文件" v-model="dialogVisible" :lock-scroll="false" draggable width="400px">
+		<el-dialog v-model="dialogVisible" :lock-scroll="false" draggable width="400px">
+			<template #header>
+				<div style="color: #fff">
+					<el-icon size="16" style="margin-right: 3px; display: inline; vertical-align: middle"> <ele-UploadFilled /> </el-icon>
+					<span> 上传文件 </span>
+				</div>
+			</template>
 			<div>
 				<el-upload ref="uploadRef" drag :auto-upload="false" :limit="1" :file-list="fileList" action="" :on-change="handleChange" accept=".jpg,.png,.bmp,.gif,.txt,.pdf,.xlsx,.docx">
 					<el-icon class="el-icon--upload">

+ 7 - 1
Web/src/views/system/log/oplog/index.vue

@@ -46,7 +46,13 @@
 				layout="total, sizes, prev, pager, next, jumper"
 			/>
 		</el-card>
-		<el-dialog v-model="dialogVisible" title="日志详情" draggable width="769px">
+		<el-dialog v-model="dialogVisible" draggable width="769px">
+			<template #header>
+				<div style="color: #fff">
+					<el-icon size="16" style="margin-right: 3px; display: inline; vertical-align: middle"> <ele-Document /> </el-icon>
+					<span> 日志详情 </span>
+				</div>
+			</template>
 			<pre>{{ content }}</pre>
 			<template #footer>
 				<span class="dialog-footer">

+ 7 - 1
Web/src/views/system/menu/component/editMenu.vue

@@ -1,6 +1,12 @@
 <template>
 	<div class="sys-menu-container">
-		<el-dialog v-model="isShowDialog" :title="title" draggable :close-on-click-modal="false" width="769px">
+		<el-dialog v-model="isShowDialog" draggable :close-on-click-modal="false" width="769px">
+			<template #header>
+				<div style="color: #fff">
+					<el-icon size="16" style="margin-right: 3px; display: inline; vertical-align: middle"> <ele-Edit /> </el-icon>
+					<span> {{ title }} </span>
+				</div>
+			</template>
 			<el-form :model="ruleForm" ref="ruleFormRef" size="default" label-width="80px">
 				<el-row :gutter="35">
 					<el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24" class="mb20">

+ 8 - 2
Web/src/views/system/notice/component/editNotice.vue

@@ -1,7 +1,13 @@
 <template>
 	<div class="sys-notice-container">
-		<el-dialog v-model="isShowDialog" :title="title" draggable :close-on-click-modal="false" width="800px">
-			<el-form :model="ruleForm" ref="ruleFormRef" size="default" label-width="80px">
+		<el-dialog v-model="isShowDialog" draggable :close-on-click-modal="false" width="800px">
+			<template #header>
+				<div style="color: #fff">
+					<el-icon size="16" style="margin-right: 3px; display: inline; vertical-align: middle"> <ele-Edit /> </el-icon>
+					<span> {{ title }} </span>
+				</div>
+			</template>
+			<el-form :model="ruleForm" ref="ruleFormRef" size="default">
 				<el-row :gutter="35">
 					<el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12" class="mb20">
 						<el-form-item label="标题" prop="title" :rules="[{ required: true, message: '标题不能为空', trigger: 'blur' }]">

+ 1 - 1
Web/src/views/system/onlineUser/index.vue

@@ -1,6 +1,6 @@
 <template>
 	<div class="sys-onlineUser-container">
-		<el-drawer v-model="state.isVisible" title="在线用户列表" size="45%">
+		<el-drawer v-model="state.isVisible" title="在线用户列表" size="40%">
 			<el-card shadow="hover" :body-style="{ paddingBottom: '0' }" style="margin: 8px">
 				<el-form :model="state.queryParams" ref="queryForm" :inline="true">
 					<el-form-item label="账号名称" prop="userName">

+ 7 - 1
Web/src/views/system/org/component/editOrg.vue

@@ -1,6 +1,12 @@
 <template>
 	<div class="sys-org-container">
-		<el-dialog v-model="isShowDialog" :title="title" draggable width="600px">
+		<el-dialog v-model="isShowDialog" draggable width="600px">
+			<template #header>
+				<div style="color: #fff">
+					<el-icon size="16" style="margin-right: 3px; display: inline; vertical-align: middle"> <ele-Edit /> </el-icon>
+					<span> {{ title }} </span>
+				</div>
+			</template>
 			<el-form :model="ruleForm" ref="ruleFormRef" size="default" label-width="80px">
 				<el-row :gutter="35">
 					<el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24" class="mb20">

+ 7 - 1
Web/src/views/system/pos/component/editPos.vue

@@ -1,6 +1,12 @@
 <template>
 	<div class="sys-pos-container">
-		<el-dialog v-model="isShowDialog" :title="title" draggable width="600px">
+		<el-dialog v-model="isShowDialog" draggable width="600px">
+			<template #header>
+				<div style="color: #fff">
+					<el-icon size="16" style="margin-right: 3px; display: inline; vertical-align: middle"> <ele-Edit /> </el-icon>
+					<span> {{ title }} </span>
+				</div>
+			</template>
 			<el-form :model="ruleForm" ref="ruleFormRef" size="default" label-width="80px">
 				<el-row :gutter="35">
 					<el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24" class="mb20">

+ 7 - 1
Web/src/views/system/region/component/editRegion.vue

@@ -1,6 +1,12 @@
 <template>
 	<div class="sys-region-container">
-		<el-dialog v-model="isShowDialog" :title="title" draggable width="600px">
+		<el-dialog v-model="isShowDialog" draggable width="600px">
+			<template #header>
+				<div style="color: #fff">
+					<el-icon size="16" style="margin-right: 3px; display: inline; vertical-align: middle"> <ele-Edit /> </el-icon>
+					<span> {{ title }} </span>
+				</div>
+			</template>
 			<el-form :model="ruleForm" ref="ruleFormRef" size="default" label-width="80px">
 				<el-row :gutter="35">
 					<!-- <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24" class="mb20">

+ 7 - 1
Web/src/views/system/role/component/editRole.vue

@@ -1,6 +1,12 @@
 <template>
 	<div class="sys-role-container">
-		<el-dialog v-model="isShowDialog" :title="title" draggable :close-on-click-modal="false" width="769px">
+		<el-dialog v-model="isShowDialog" draggable :close-on-click-modal="false" width="769px">
+			<template #header>
+				<div style="color: #fff">
+					<el-icon size="16" style="margin-right: 3px; display: inline; vertical-align: middle"> <ele-Edit /> </el-icon>
+					<span>{{ title }}</span>
+				</div>
+			</template>
 			<el-form :model="ruleForm" ref="ruleFormRef" size="default" label-width="80px">
 				<el-row :gutter="35">
 					<el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24" class="mb20">

+ 7 - 1
Web/src/views/system/role/component/grantData.vue

@@ -1,6 +1,12 @@
 <template>
 	<div class="sys-grantData-container">
-		<el-dialog v-model="isShowDialog" title="授权数据范围" draggable width="450px">
+		<el-dialog v-model="isShowDialog" draggable width="450px">
+			<template #header>
+				<div style="color: #fff">
+					<el-icon size="16" style="margin-right: 3px; display: inline; vertical-align: middle"> <ele-Edit /> </el-icon>
+					<span> 授权数据范围 </span>
+				</div>
+			</template>
 			<el-form :model="ruleForm" size="default" label-position="top">
 				<el-row :gutter="35">
 					<el-col :xs="24" :sm="24" :md="24" :lg="24" :xl1="24" class="mb20">

+ 7 - 1
Web/src/views/system/tenant/component/editTenant.vue

@@ -1,6 +1,12 @@
 <template>
 	<div class="sys-tenant-container">
-		<el-dialog v-model="isShowDialog" :title="title" draggable :close-on-click-modal="false" width="769px">
+		<el-dialog v-model="isShowDialog" draggable :close-on-click-modal="false" width="769px">
+			<template #header>
+				<div style="color: #fff">
+					<el-icon size="16" style="margin-right: 3px; display: inline; vertical-align: middle"> <ele-Edit /> </el-icon>
+					<span> {{ title }} </span>
+				</div>
+			</template>
 			<el-form :model="ruleForm" ref="ruleFormRef" size="default" label-width="100px">
 				<el-row :gutter="35">
 					<el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12" class="mb20">

+ 7 - 1
Web/src/views/system/tenant/component/grantMenu.vue

@@ -1,6 +1,12 @@
 <template>
 	<div class="sys-grantMenu-container">
-		<el-dialog v-model="isShowDialog" title="授权租户菜单" draggable width="769px">
+		<el-dialog v-model="isShowDialog" draggable width="769px">
+			<template #header>
+				<div style="color: #fff">
+					<el-icon size="16" style="margin-right: 3px; display: inline; vertical-align: middle"> <ele-Edit /> </el-icon>
+					<span> 授权租户菜单 </span>
+				</div>
+			</template>
 			<el-form :model="ruleForm" size="default">
 				<el-row :gutter="35">
 					<el-col :xs="24" :sm="24" :md="24" :lg="24" :xl1="24">

+ 7 - 1
Web/src/views/system/timer/component/editTimer.vue

@@ -1,6 +1,12 @@
 <template>
 	<div class="sys-timer-container">
-		<el-dialog v-model="isShowDialog" :title="title" draggable width="769px">
+		<el-dialog v-model="isShowDialog" draggable width="769px">
+			<template #header>
+				<div style="color: #fff">
+					<el-icon size="16" style="margin-right: 3px; display: inline; vertical-align: middle"> <ele-Edit /> </el-icon>
+					<span> {{ title }} </span>
+				</div>
+			</template>
 			<el-form :model="ruleForm" ref="ruleFormRef" size="default" label-width="100px">
 				<el-row :gutter="35">
 					<el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24" class="mb20">

+ 7 - 1
Web/src/views/system/user/component/editUser.vue

@@ -1,6 +1,12 @@
 <template>
 	<div class="sys-user-container">
-		<el-dialog v-model="isShowDialog" :title="title" draggable :close-on-click-modal="false" width="769px">
+		<el-dialog v-model="isShowDialog" draggable :close-on-click-modal="false" width="769px">
+			<template #header>
+				<div style="color: #fff">
+					<el-icon size="16" style="margin-right: 3px; display: inline; vertical-align: middle"> <ele-Edit /> </el-icon>
+					<span>{{ title }}</span>
+				</div>
+			</template>
 			<el-tabs v-loading="loading">
 				<el-tab-pane label="基础信息">
 					<el-form :model="ruleForm" ref="ruleFormRef" size="default" label-width="100px">

+ 7 - 1
Web/src/views/system/user/component/userCenter.vue

@@ -112,7 +112,13 @@
 			</el-col>
 		</el-row>
 
-		<el-dialog title="电子签名" v-model="signDialogVisible" draggable width="600px">
+		<el-dialog v-model="signDialogVisible" draggable width="600px">
+			<template #header>
+				<div style="color: #fff">
+					<el-icon size="16" style="margin-right: 3px; display: inline; vertical-align: middle"> <ele-EditPen /> </el-icon>
+					<span> 电子签名 </span>
+				</div>
+			</template>
 			<div style="border: 1px dashed gray; width: 100%; height: 250px">
 				<VueSignaturePad ref="signaturePadRef" :options="signOptions" style="background-color: #fff" />
 			</div>