diff --git a/frontend/src/components/deCustomCm/deDatePick.vue b/frontend/src/components/deCustomCm/deDatePick.vue new file mode 100644 index 0000000000..ce1f42316f --- /dev/null +++ b/frontend/src/components/deCustomCm/deDatePick.vue @@ -0,0 +1,56 @@ + + + + + \ No newline at end of file diff --git a/frontend/src/components/deCustomCm/dePwd.vue b/frontend/src/components/deCustomCm/dePwd.vue new file mode 100644 index 0000000000..48dc37697c --- /dev/null +++ b/frontend/src/components/deCustomCm/dePwd.vue @@ -0,0 +1,76 @@ + + + + \ No newline at end of file diff --git a/frontend/src/components/widget/DeWidget/DeDate.vue b/frontend/src/components/widget/DeWidget/DeDate.vue index ab557e31cf..c78db79bfa 100644 --- a/frontend/src/components/widget/DeWidget/DeDate.vue +++ b/frontend/src/components/widget/DeWidget/DeDate.vue @@ -296,6 +296,16 @@ export default { border:1px solid var(--BrDateColor, #dfe4ed) !important; background: var(--BgDateColor, #FFFFFF) !important; + .el-picker-panel__sidebar { + background: var(--BgDateColor, #FFFFFF) !important; + border-right: 1px solid var(--BrDateColor, #dfe4ed) !important; + + .el-picker-panel__shortcut { + color: var(--DateColor, #606266); + } + } + + .popper__arrow, .popper__arrow::after { display: none !important; @@ -310,6 +320,10 @@ export default { border-bottom:1px solid var(--BrDateColor, #e6ebf5) !important; } + .el-date-table td.in-range:not(.end-date):not(.start-date) div span { + color: #3370ff; + } + .el-date-range-picker__header, .el-date-table th, .el-date-table__row, diff --git a/frontend/src/icons/svg/de-search.svg b/frontend/src/icons/svg/de-search.svg new file mode 100644 index 0000000000..0986c29cd5 --- /dev/null +++ b/frontend/src/icons/svg/de-search.svg @@ -0,0 +1,3 @@ + + + diff --git a/frontend/src/icons/svg/de_pwd_invisible.svg b/frontend/src/icons/svg/de_pwd_invisible.svg new file mode 100644 index 0000000000..661ebba33e --- /dev/null +++ b/frontend/src/icons/svg/de_pwd_invisible.svg @@ -0,0 +1,3 @@ + + + diff --git a/frontend/src/icons/svg/de_pwd_visible.svg b/frontend/src/icons/svg/de_pwd_visible.svg new file mode 100644 index 0000000000..4e7ba5e799 --- /dev/null +++ b/frontend/src/icons/svg/de_pwd_visible.svg @@ -0,0 +1,3 @@ + + + diff --git a/frontend/src/icons/svg/pwd_invisible.svg b/frontend/src/icons/svg/pwd_invisible.svg new file mode 100644 index 0000000000..661ebba33e --- /dev/null +++ b/frontend/src/icons/svg/pwd_invisible.svg @@ -0,0 +1,3 @@ + + + diff --git a/frontend/src/icons/svg/pwd_visible.svg b/frontend/src/icons/svg/pwd_visible.svg new file mode 100644 index 0000000000..4e7ba5e799 --- /dev/null +++ b/frontend/src/icons/svg/pwd_visible.svg @@ -0,0 +1,3 @@ + + + diff --git a/frontend/src/layout/components/Sidebar/index.vue b/frontend/src/layout/components/Sidebar/index.vue index fa60246509..2cf79107b9 100644 --- a/frontend/src/layout/components/Sidebar/index.vue +++ b/frontend/src/layout/components/Sidebar/index.vue @@ -97,8 +97,8 @@ export default { font-family: PingFang SC; font-size: 14px; font-weight: 400; - color: #646a73; - background: #fff; + color: var(--SiderTextColor, #646a73); + background-color: var(--SiderBG, #ffffff); cursor: pointer; i { diff --git a/frontend/src/styles/index.scss b/frontend/src/styles/index.scss index 8702b16346..c2925ce407 100644 --- a/frontend/src/styles/index.scss +++ b/frontend/src/styles/index.scss @@ -1196,4 +1196,20 @@ div:focus { position: absolute; right: 12px; bottom: 12px; +} + + +.de-input-search { + .el-input__inner { + padding-left: 36px; + } + .el-input__prefix { + left: 12px; + display: flex; + align-items: center; + justify-content: center; + svg { + font-size: 16px; + } + } } \ No newline at end of file diff --git a/frontend/src/views/panel/template/component/TemplateItem.vue b/frontend/src/views/panel/template/component/TemplateItem.vue index c093e27048..dd7de4be51 100644 --- a/frontend/src/views/panel/template/component/TemplateItem.vue +++ b/frontend/src/views/panel/template/component/TemplateItem.vue @@ -72,7 +72,7 @@ export default { background: #ffffff; border: 1px solid var(--deCardStrokeColor, #dee0e3); border-radius: 4px; - margin: 0 12.5px 25px 12.5px; + margin: 0 24px 25px 0; .card-img-model { border-bottom: 1px solid var(--deCardStrokeColor, #dee0e3); height: 144px; diff --git a/frontend/src/views/panel/template/component/TemplateList.vue b/frontend/src/views/panel/template/component/TemplateList.vue index c678e112ee..c17737d7b2 100644 --- a/frontend/src/views/panel/template/component/TemplateList.vue +++ b/frontend/src/views/panel/template/component/TemplateList.vue @@ -2,11 +2,13 @@
+ > + + this.$emit("templateDelete", template.id), - }; - this.handlerConfirm(options); + title: "system_parameter_setting.delete_this_category", + content: "system_parameter_setting.also_be_deleted", + type: "primary", + cb: () => this.$emit("templateDelete", template.id), + }; + this.handlerConfirm(options); }, templateEdit(template) { this.$emit("templateEdit", template); @@ -163,7 +165,7 @@ export default { display: flex; align-items: center; border-radius: 4px; - color: var(--deTextPrimary, #1F2329); + color: var(--deTextPrimary, #1f2329); font-family: "PingFang SC"; font-style: normal; font-weight: 500; diff --git a/frontend/src/views/panel/template/index.vue b/frontend/src/views/panel/template/index.vue index 7ddfabdca4..49d7028e63 100644 --- a/frontend/src/views/panel/template/index.vue +++ b/frontend/src/views/panel/template/index.vue @@ -152,8 +152,8 @@ export default { currentTemplateLabel: "", currentTemplateId: "", templateList: [], - templateMiniWidth: 262, - templateCurWidth: 262, + templateMiniWidth: 286, + templateCurWidth: 286, formType: "", originName: "", templateDialog: { @@ -187,9 +187,8 @@ export default { const curSeparator = Math.trunc( templateMainDom.offsetWidth / _this.templateMiniWidth ); - console.log(1, curSeparator); _this.templateCurWidth = - Math.trunc(templateMainDom.offsetWidth / curSeparator) - 50; + Math.trunc(templateMainDom.offsetWidth / curSeparator) - 24 - curSeparator; }); }); }, @@ -387,7 +386,7 @@ export default { .de-tabs-right { flex: 1; background: #fff; - padding: 24px 12px 24px 12px; + padding: 24px 0 24px 24px; overflow: hidden; .template-box { @@ -403,6 +402,7 @@ export default { .active-template { margin: 4px 0 20px 0; + padding-right: 24px; font-family: "PingFang SC"; font-style: normal; font-weight: 500; diff --git a/frontend/src/views/system/SysParam/BasicSetting.vue b/frontend/src/views/system/SysParam/BasicSetting.vue index 4d7b2f0482..685b230111 100644 --- a/frontend/src/views/system/SysParam/BasicSetting.vue +++ b/frontend/src/views/system/SysParam/BasicSetting.vue @@ -15,9 +15,10 @@ - + - @@ -134,12 +125,13 @@ import { emailInfo, updateInfo, validate } from "@/api/system/email"; import operater from "./operater"; import msgCfm from '@/components/msgCfm' - +import dePwd from '@/components/deCustomCm/dePwd.vue' export default { name: "EmailSetting", mixins: [msgCfm], components: { operater, + dePwd }, data() { return { @@ -183,9 +175,6 @@ export default { this.query(); }, methods: { - changeType() { - this.$refs.input = "password"; - }, query() { emailInfo().then((response) => { this.formInline = response.data; diff --git a/frontend/src/views/system/SysParam/KettleSetting.vue b/frontend/src/views/system/SysParam/KettleSetting.vue index 0787e3aca4..c7d32330f2 100644 --- a/frontend/src/views/system/SysParam/KettleSetting.vue +++ b/frontend/src/views/system/SysParam/KettleSetting.vue @@ -93,7 +93,7 @@ :label="$t('kettle.passwd')" prop="configuration.passwd" > - + @@ -122,11 +122,12 @@ import { } from "@/api/system/kettle"; import i18n from "@/lang"; import GridTable from "@/components/gridTable/index.vue"; +import dePwd from '@/components/deCustomCm/dePwd.vue' import msgCfm from '@/components/msgCfm' export default { name: "KettleSetting", - components: { GridTable }, + components: { GridTable, dePwd }, mixins: [msgCfm], data() { return { @@ -339,7 +340,7 @@ export default { justify-content: center; align-items: center; border-radius: 2px; - width: 40px; + padding: 1px 6px; height: 24px; } \ No newline at end of file diff --git a/frontend/src/views/system/log/filterUser.vue b/frontend/src/views/system/log/filterUser.vue new file mode 100644 index 0000000000..88b9f22c42 --- /dev/null +++ b/frontend/src/views/system/log/filterUser.vue @@ -0,0 +1,403 @@ + + + + + \ No newline at end of file diff --git a/frontend/src/views/system/log/index.vue b/frontend/src/views/system/log/index.vue index 76f62fbb8b..33819ebe83 100644 --- a/frontend/src/views/system/log/index.vue +++ b/frontend/src/views/system/log/index.vue @@ -1,162 +1,393 @@ + diff --git a/frontend/src/views/system/task/TaskRecord.vue b/frontend/src/views/system/task/TaskRecord.vue index a9da44989e..6f8cce5cfe 100644 --- a/frontend/src/views/system/task/TaskRecord.vue +++ b/frontend/src/views/system/task/TaskRecord.vue @@ -13,8 +13,8 @@ clearable ref="search" v-model="nikeName" - @blur="clearSearch" - @clear="clearSearch" + @blur="initSearch" + @clear="initSearch" > {{ $t("dedaterange.label") }}
- - +
@@ -143,8 +135,12 @@ import { filterDataset, dateFormat } from "./options"; import { allRoles } from "@/api/system/user"; import { getDatasetTree, treeByDatasetId } from "@/api/system/dept"; import { queryAuthModel } from "@/api/authModel/authModel"; +import DeDatePick from '@/components/deCustomCm/deDatePick.vue' export default { + components: { + DeDatePick + }, data() { return { treeLoading: false, diff --git a/frontend/src/views/system/task/filterUserRecord.vue b/frontend/src/views/system/task/filterUserRecord.vue index 186edc0a6e..d910d12974 100644 --- a/frontend/src/views/system/task/filterUserRecord.vue +++ b/frontend/src/views/system/task/filterUserRecord.vue @@ -7,127 +7,120 @@ v-closePress direction="rtl" > -
- -
- {{ $t("dataset.datalist") }} -
- {{ ele.name }} - +
+
+ {{ $t("dataset.datalist") }} +
+ {{ ele.name }} - - - - - {{ data.name }} - - - - + + + + + {{ data.name }} + + + + + + {{ data.name }} - {{ data.name }} - - + - - - + + + + + + {{ $t("panel.more") }} - + {{ $t("panel.more") }} - +
-
-
- {{ $t(ele.name) }} -
- {{ $t(item.name) }} +
+ {{ $t(ele.name) }} +
+ {{ $t(item.name) }} +
-
-
- {{ $t("dedaterange.label") }} -
- - +
+ {{ $t("dedaterange.label") }} +
+ +
-
{{ $t("commons.reset") @@ -142,8 +135,12 @@