diff --git a/components.d.ts b/components.d.ts index 0d095a4..f092535 100644 --- a/components.d.ts +++ b/components.d.ts @@ -7,7 +7,6 @@ export {} declare module 'vue' { export interface GlobalComponents { - ElAutocomplete: typeof import('element-plus/es')['ElAutocomplete'] ElBadge: typeof import('element-plus/es')['ElBadge'] ElButton: typeof import('element-plus/es')['ElButton'] ElCard: typeof import('element-plus/es')['ElCard'] @@ -24,11 +23,7 @@ declare module 'vue' { ElForm: typeof import('element-plus/es')['ElForm'] ElFormItem: typeof import('element-plus/es')['ElFormItem'] ElInput: typeof import('element-plus/es')['ElInput'] - ElInputNumber: typeof import('element-plus/es')['ElInputNumber'] ElOption: typeof import('element-plus/es')['ElOption'] - ElPageHeader: typeof import('element-plus/es')['ElPageHeader'] - ElPagination: typeof import('element-plus/es')['ElPagination'] - ElPopover: typeof import('element-plus/es')['ElPopover'] ElProgress: typeof import('element-plus/es')['ElProgress'] ElRadio: typeof import('element-plus/es')['ElRadio'] ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup'] @@ -37,7 +32,6 @@ declare module 'vue' { ElSelect: typeof import('element-plus/es')['ElSelect'] ElStep: typeof import('element-plus/es')['ElStep'] ElSteps: typeof import('element-plus/es')['ElSteps'] - ElSwitch: typeof import('element-plus/es')['ElSwitch'] ElTable: typeof import('element-plus/es')['ElTable'] ElTableColumn: typeof import('element-plus/es')['ElTableColumn'] ElTabPane: typeof import('element-plus/es')['ElTabPane'] @@ -45,8 +39,6 @@ declare module 'vue' { ElTag: typeof import('element-plus/es')['ElTag'] ElTimeline: typeof import('element-plus/es')['ElTimeline'] ElTimelineItem: typeof import('element-plus/es')['ElTimelineItem'] - ElTooltip: typeof import('element-plus/es')['ElTooltip'] - ElTree: typeof import('element-plus/es')['ElTree'] ElTreeSelect: typeof import('element-plus/es')['ElTreeSelect'] ElUpload: typeof import('element-plus/es')['ElUpload'] FilePreview: typeof import('./src/components/FilePreview.vue')['default'] diff --git a/src/views/datascreen/details.vue b/src/views/datascreen/details.vue index fbd7b99..7b9e377 100644 --- a/src/views/datascreen/details.vue +++ b/src/views/datascreen/details.vue @@ -174,7 +174,7 @@ 是否一把手接访 - {{ formData.interviewIsLeader?'是':'否' }} + {{ formData.interviewIsLeader?'是': ( !formData.interviewIsLeader?'否':'') }} @@ -215,7 +215,7 @@ 是否需要问责 - {{ formData.verifyNeedAccountability?'需要':'不需要' }} + {{ formData.verifyNeedAccountability?'需要': (!formData.verifyNeedAccountability ? '不需要':'') }} @@ -272,7 +272,7 @@ 群众反应实现解决情况 - {{ formData.verifyIsResolved?'已解决':'未解决' }} + {{ formData.verifyIsResolved?'已解决': (!formData.verifyIsResolved ? '未解决':'') }} 办理反馈情况 @@ -390,6 +390,8 @@ const popupTitle = computed(() => { return mode.value == 'details' ? '信件详情' : '信件详情' }) + + let mailDetail= reactive([]) as any[]; let verifyFollowupPolice= { } @@ -490,6 +492,9 @@ function isJsonString(value) { } } + + + const convert = (time: number) => { let a: number | string = ~~(time / 3600); let b: number | string = ~~(time / 60) - a * 60; @@ -500,11 +505,11 @@ const convert = (time: number) => { c = String(c).padStart(2, "0"); if (a === '00') { - if(b === '00'){ - return `${c}秒`; - }else { - return `${b}分${c}秒`; - } + if(b === '00'){ + return `${c}秒`; + }else { + return `${b}分${c}秒`; + } } else{ return `${a}小时${b}分${c}秒`; } diff --git a/yarn.lock b/yarn.lock index 4c6fc63..c2a24f5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1319,11 +1319,6 @@ loader-utils@^1.1.0: emojis-list "^3.0.0" json5 "^1.0.1" -loadsh@^0.0.4: - version "0.0.4" - resolved "https://registry.npmmirror.com/loadsh/-/loadsh-0.0.4.tgz#5314babd12bb13315dde024a4ca70758c5489d2d" - integrity sha512-U+wLL8InpfRalWrr+0SuhWgGt10M4OyAk6G8xCYo2rwpiHtxZkWiFpjei0vO463ghW8LPCdhqQxXlMy2qicAEw== - local-pkg@^0.4.3: version "0.4.3" resolved "https://registry.npmjs.org/local-pkg/-/local-pkg-0.4.3.tgz" @@ -2186,6 +2181,13 @@ vue-seamless-scroll@^1.1.23: dependencies: comutils "^1.1.9" +vue3-photo-preview@^0.3.0: + version "0.3.0" + resolved "https://registry.npmmirror.com/vue3-photo-preview/-/vue3-photo-preview-0.3.0.tgz#082941ccbaad8504adcc6bd6a02560eb125d515e" + integrity sha512-DeZ076yN85RcfWdhcgSYVEj5Y721mi6rmDoShDb4Bt7z7Q5Rfs4Y8PlP66OIrsyE0x4KVLdE0auJGxrxXRJXjA== + dependencies: + lodash-es "^4.17.21" + vue@^3.2.26, vue@^3.3.11: version "3.4.15" resolved "https://registry.npmjs.org/vue/-/vue-3.4.15.tgz"