From 61009cfc74119047aa3169d20989698e765b924b Mon Sep 17 00:00:00 2001 From: monkeyhouyi Date: Mon, 12 Aug 2024 16:11:12 +0800 Subject: [PATCH] 2024/8/8 --- src/components/CompanyForm/index.vue | 2 +- src/components/InfoEditRecord/index.vue | 2 +- src/components/InfoForm/index.vue | 2 +- src/components/PasswordForm/index.vue | 2 +- src/utils/ncc.js | 15 +++++++++++++++ src/views/DisposalSuggestions/Form.vue | 7 +++++-- src/views/baseCaseHandling/Form.vue | 528 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- src/views/baseCaseHandling/index.vue | 136 ++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------------------------------------- src/views/baseInspectionReport/Form.vue | 59 +++++++++++++++++++++++++++++++++-------------------------- src/views/baseSpecialAction/Form.vue | 10 ++++++++-- src/views/baseSpecialAction/index.vue | 6 +++--- src/views/baseSystemInfo/DetailForm.vue | 16 ++++++++-------- src/views/baseSystemInfo/InspectForm.vue | 58 +++++++++++++++++++++++++++++++++------------------------- src/views/homePage/components/news/NewsDialog.vue | 2 +- src/views/overView/Overview.vue | 35 +++++++++++++++++++++++++++-------- src/views/overView/msgForm.vue | 124 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------- 16 files changed, 504 insertions(+), 500 deletions(-) diff --git a/src/components/CompanyForm/index.vue b/src/components/CompanyForm/index.vue index 165eb39..73775e6 100644 --- a/src/components/CompanyForm/index.vue +++ b/src/components/CompanyForm/index.vue @@ -14,7 +14,7 @@ width="60%" top="15vh" :modal-append-to-body="false" - class="NCC-dialog company-dialog" + class="NCC-dialog NCC-dialog_center company-dialog" > diff --git a/src/components/InfoEditRecord/index.vue b/src/components/InfoEditRecord/index.vue index 83265e9..8f53466 100644 --- a/src/components/InfoEditRecord/index.vue +++ b/src/components/InfoEditRecord/index.vue @@ -12,7 +12,7 @@ width="80%" top="10vh" :modal-append-to-body="false" - class="NCC-dialog dialog-box" + class="NCC-dialog NCC-dialog_center dialog-box" destroy-on-close > diff --git a/src/components/InfoForm/index.vue b/src/components/InfoForm/index.vue index 307cbab..76a4118 100644 --- a/src/components/InfoForm/index.vue +++ b/src/components/InfoForm/index.vue @@ -12,7 +12,7 @@ width="80%" top="10vh" :modal-append-to-body="false" - class="NCC-dialog dialog-box" + class="NCC-dialog NCC-dialog_center dialog-box" destroy-on-close > diff --git a/src/utils/ncc.js b/src/utils/ncc.js index 0eaf4e1..86b6f7e 100644 --- a/src/utils/ncc.js +++ b/src/utils/ncc.js @@ -233,6 +233,21 @@ const ncc = { return 'primary' } }, + stateDeadLine(time){ + let date = (new Date()).getTime(); + let timeDiff = time - date; + + if(timeDiff < 0) { + // 超时 + return `(已超时)` + } else if(timeDiff / (1000 * 60 * 60 * 24) < 3) { + // 小于三天警告即将超时 + return `(即将超时)` + } else { + // 未超时 + return '' + } + }, storageSet(obj) { for (let i in obj) { cacheItem(i, obj[i]) diff --git a/src/views/DisposalSuggestions/Form.vue b/src/views/DisposalSuggestions/Form.vue index f344b7a..f9ed044 100644 --- a/src/views/DisposalSuggestions/Form.vue +++ b/src/views/DisposalSuggestions/Form.vue @@ -86,7 +86,7 @@ label-width="100px" label-position="right" > - + + + + + - + - - - - - - - + + + - + + + + + + - + - + diff --git a/src/views/baseSystemInfo/InspectForm.vue b/src/views/baseSystemInfo/InspectForm.vue index 792b034..7afcb07 100644 --- a/src/views/baseSystemInfo/InspectForm.vue +++ b/src/views/baseSystemInfo/InspectForm.vue @@ -5,7 +5,7 @@ :visible.sync="visible" class="NCC-dialog NCC-dialog_center" lock-scroll - width="70%" + width="60%" > - - + + {{ item.FullName }} + @@ -59,7 +60,7 @@ - + - - - - - - + - + + + + + + + { + this.sourceOptions = data; + }) + }, loadList(query) { this.name_loading = true; getInfoList({pageIndex: 1, pageSize: 100, keyword: query }).then(({ data }) => { diff --git a/src/views/homePage/components/news/NewsDialog.vue b/src/views/homePage/components/news/NewsDialog.vue index 5193356..4d62729 100644 --- a/src/views/homePage/components/news/NewsDialog.vue +++ b/src/views/homePage/components/news/NewsDialog.vue @@ -38,7 +38,7 @@ @@ -234,5 +301,18 @@ export default { margin-bottom: 8px; color: #000; } + .files { + border-top: #e8e8e8 1px solid; + padding-top: 10px; + margin-top: 10px; + .title-tag { + line-height: 40px; + font-size: 12px; + margin-right: 10px; + } + :deep(.el-tag) { + margin: 0 5px; + } + } } -- libgit2 0.21.4