diff --git a/zdxt-web-client/zdxt-efcode-enforcement-app/src/components/enforcement/register/EnforcementInfoSection.vue b/zdxt-web-client/zdxt-efcode-enforcement-app/src/components/enforcement/register/EnforcementInfoSection.vue new file mode 100644 index 00000000..b5094a4d --- /dev/null +++ b/zdxt-web-client/zdxt-efcode-enforcement-app/src/components/enforcement/register/EnforcementInfoSection.vue @@ -0,0 +1,431 @@ + + + 执法信息 + + + + + + + + + + *执法人员 + + + {{ defaultPerson?.name }} {{ defaultPerson?.id }} + + + + {{ person.name || '请选择' }} + + + + + 请选择 + + + + + + + + + + + + + + + + + + + + + 执法依据 + + + {{ basis || '请选择' }} + + + + + + + + + + + + + + + + + + + + + + 否 + 是 + + + + + + + + + + + + + + + 否 + 是 + + + + + + + + 本次执法是否为受委托事项 + + + + 附件 (不多于8张) + + + + + + + + + + \ No newline at end of file diff --git a/zdxt-web-client/zdxt-efcode-enforcement-app/src/components/enforcement/register/EnterpriseInfoSection.vue b/zdxt-web-client/zdxt-efcode-enforcement-app/src/components/enforcement/register/EnterpriseInfoSection.vue new file mode 100644 index 00000000..c5a1e9ff --- /dev/null +++ b/zdxt-web-client/zdxt-efcode-enforcement-app/src/components/enforcement/register/EnterpriseInfoSection.vue @@ -0,0 +1,76 @@ + + + 企业信息 + + + + + + + + + + + + \ No newline at end of file diff --git a/zdxt-web-client/zdxt-efcode-enforcement-app/src/components/enforcement/register/RegisterPopups.vue b/zdxt-web-client/zdxt-efcode-enforcement-app/src/components/enforcement/register/RegisterPopups.vue new file mode 100644 index 00000000..e845b95f --- /dev/null +++ b/zdxt-web-client/zdxt-efcode-enforcement-app/src/components/enforcement/register/RegisterPopups.vue @@ -0,0 +1,461 @@ + + + + + + + 选择企业 + + + + + 搜索 + + + + {{ item.enterpriseName }} + 统一社会信用代码:{{ item.enterpriseNumber }} + + + + + + + + + + + 预告查询 + + + + + + 执法事项:{{ notice.matter }} + 执法时间:{{ notice.time }} + + + 一键关联 + + + + + 加载中... + + 没有更多了 + + + + + + + + + + + + + + + + + + + 人员查询 + + + + + 搜索 + + + + {{ person.name }} + 执法证件号:{{ person.id }} + + + + + + + + + + + 执法依据 + + + + + 搜索 + + + + {{ item.name }} + + + + + + + + + + + \ No newline at end of file diff --git a/zdxt-web-client/zdxt-efcode-enforcement-app/src/router/enforcement-app/enf-main-router.js b/zdxt-web-client/zdxt-efcode-enforcement-app/src/router/enforcement-app/enf-main-router.js index e9ca0084..b6345944 100644 --- a/zdxt-web-client/zdxt-efcode-enforcement-app/src/router/enforcement-app/enf-main-router.js +++ b/zdxt-web-client/zdxt-efcode-enforcement-app/src/router/enforcement-app/enf-main-router.js @@ -83,7 +83,7 @@ const routes = [ }, // 执法端-登记页面 { - path: "/enforcement/register", + path: "/enforcement/enforcementRegister", name: "enforcementRegister", component: () => import("@/views/enforcement/enforce/enforcementRegister.vue"), meta: { diff --git a/zdxt-web-client/zdxt-efcode-enforcement-app/src/views/enforcement/enforce/enforcementRegister.vue b/zdxt-web-client/zdxt-efcode-enforcement-app/src/views/enforcement/enforce/enforcementRegister.vue index d0f66648..4e23ba9b 100644 --- a/zdxt-web-client/zdxt-efcode-enforcement-app/src/views/enforcement/enforce/enforcementRegister.vue +++ b/zdxt-web-client/zdxt-efcode-enforcement-app/src/views/enforcement/enforce/enforcementRegister.vue @@ -1,621 +1,234 @@ - + + - - 企业信息 - - 企业名称 - - - {{ enterpriseData?.enterpriseName || '请选择' }} - - - - - - 统一社会信用代码 - - - {{ enterpriseData?.enterpriseNumber || '请选择' }} - - - - + --> + + + + + + + + + + + + 保存 + 提交 - - - - 执法信息 - - - - 是否关联预告 - - - {{ formData.relatedNotice || '请选择' }} - - - - - - - - 执法单位 - {{ formData.enforcementUnit }} - - - - - 执法人员 - - - - {{ enforcementPersons[0]?.name }} {{ enforcementPersons[0]?.id }} - - - - {{ person.name - || '请选择' }} - - - - - 请选择 - - - - - - - - 执法类别 - - - {{ formData.category || '请选择' }} - - - - - - - - 任务来源 - - - {{ formData.taskSource || '请选择' }} - - - - - - - - 执法事项 - - - {{ charCount }}/1000 - - - - - - - 执法依据 - - - {{ basis || '请选择' }} - - - - - - - - - - 原因 - {{ formData.reason }} - - - - - 执法时间 - {{ formData.enforcementTime }} - - - - - 联合执法 - - - - - ✓ - - 否 - - - - - ✓ - - 是 - - - - - - - 受委托执法 - - - - - ✓ - - 否 - - - - - ✓ - - 是 - - - - 本次执法是否为受委托事项 - - - - 附件 - - (不多于8张) - - - - - - - - - - - 保存 - 提交 - - - - - - - 选择企业 - - - - - 搜索 - - - - {{ item.enterpriseName }} - 统一社会信用代码:{{ item.enterpriseNumber }} - - - - - - - - - - - 预告查询 - - - - - - 执法事项:{{ notice.matter }} - 执法时间:{{ notice.time }} - - - 一键关联 - - - - - 加载中... - - 没有更多了 - - - - - - - - - - - - - - - 人员查询 - - - - - 搜索 - - - - {{ person.name }} - 执法证件号:{{ person.id }} - - - - - - - - - - - 执法依据 - - - - - 搜索 - - - - {{ item.name }} - - - - - + + + + @@ -255,49 +250,65 @@ const toSign = () => { .white-body { margin: 0 0.3rem; width: calc(100% - 0.6rem); - min-height: 100vh; background-color: #fff; border-radius: 0.27rem; overflow: hidden; + margin-bottom: 20px; } } .tabs { display: flex; padding: 0.3rem 0.3rem 0; - gap: 0.1rem; } .tab-item { flex: 1; - height: 0.9rem; + height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; - overflow: hidden; - transform: skewX(-15deg); - span { - display: block; - width: 100%; - height: 100%; - line-height: 0.9rem; - text-align: center; + .tab-item-title { font-size: 0.38rem; - color: #1367fe; - background: #e6f0fd; - transform: skewX(15deg); } - &.active span { - background: linear-gradient(135deg, #3b82f6, #2563eb); - color: #fff; + &.portrayal { + background: url('@/assets/images/tab_bg1_1.png') no-repeat center center; + background-size: 100% 100%; + + .tab-item-title { + color: #1989fa; + } + + &.active { + background: url('@/assets/images/tab_bg1.png') no-repeat center center; + background-size: 100% 100%; + + .tab-item-title { + color: #fff; + } + } } -} -.tab-content { - padding: 0.3rem; + &.record { + background: url('@/assets/images/tab_bg.png') no-repeat center center; + background-size: 100% 100%; + + .tab-item-title { + color: #1989fa; + } + + &.active { + background: url('@/assets/images/tab_bg_1.png') no-repeat center center; + background-size: 100% 100%; + + .tab-item-title { + color: #fff; + } + } + } } .enterprise-card { @@ -320,10 +331,11 @@ const toSign = () => { .info-label { flex: none; - width: 2.2rem; - font-size: 0.35rem; - color: #333; + width: 74px; + font-size: 14px; + color: #000; line-height: 1.5; + margin-right: 30px; } .info-value { @@ -367,6 +379,13 @@ const toSign = () => { background: #fff; border-radius: 0.2rem; padding: 0 0.3rem; + margin: 0.3rem; +} + +.tab-content { + height: calc(100vh - 70px); + background: #fff; + box-sizing: border-box; } .record-tabs { @@ -382,26 +401,18 @@ const toSign = () => { cursor: pointer; position: relative; - span { - font-size: 0.35rem; - color: #999; - } + &.active { + border-bottom: 3px solid #1989fa; - &.active span { - color: #1367fe; - font-weight: 500; + span { + color: #1989fa; + font-weight: 650; + } } - &.active::after { - content: ''; - position: absolute; - bottom: 0; - left: 50%; - transform: translateX(-50%); - width: 1.5rem; - height: 0.06rem; - background: #1367fe; - border-radius: 0.03rem; + span { + font-size: 0.35rem; + color: #999; } } @@ -423,53 +434,54 @@ const toSign = () => { color: #999; } } - -.record-list { - margin-top: 0.3rem; -} - .record-card-item { background: #fff; - border-radius: 0.2rem; + border-radius: 8px; padding: 0.3rem; - margin-bottom: 0.3rem; + margin: 10px; + margin-top: 20px; + box-shadow: 0 0px 8px #e5e5e5; } .record-header { margin-bottom: 0.3rem; .record-date { - font-size: 0.32rem; + font-size: 14px; color: #999; margin-bottom: 0.15rem; } .record-company { - font-size: 0.38rem; - color: #333; - font-weight: 500; - margin-bottom: 0.15rem; + font-size: 16px; + color: #000; + font-weight: 600; + padding: 10px 0px 10px 20px; + letter-spacing: 0.05rem; } .record-count { - font-size: 0.32rem; - color: #666; + font-size: 14px; + color: #393939dd; + padding-left: 20px; + letter-spacing: 0.02rem; } } .record-timeline { position: relative; - padding-left: 0.4rem; - margin-top: 0.2rem; + margin-left: 28px; + margin-top: 26px; } -.record-timeline::before { +.timeline-item.has-line::before { content: ''; position: absolute; - left: 0.08rem; - top: 0; + left: 3px; + top: 20px; bottom: 0; - width: 1px; + width: 2px; + height: 48px; background: #e5e5e5; } @@ -480,14 +492,15 @@ const toSign = () => { position: relative; .timeline-dot { - width: 0.16rem; - height: 0.16rem; + width: 10px; + height: 10px; border-radius: 50%; background: #1367fe; margin-right: 0.2rem; flex-shrink: 0; position: relative; z-index: 1; + top: 4px; } .timeline-content { @@ -495,18 +508,19 @@ const toSign = () => { min-width: 0; .timeline-time { - font-size: 0.32rem; - color: #333; + font-size: 16px; + color: #ccc; font-weight: 400; - line-height: 1.4; + } .timeline-unit { - font-size: 0.28rem; + font-size: 14px; color: #999; - margin-top: 0.04rem; - padding-left: 0.4rem; - line-height: 1.4; + padding:10px 0px; + .unit-label{ + color: #000; + } } } } diff --git a/zdxt-web-client/zdxt-efcode-enforcement-app/src/views/enforcement/scanEntQRCode.vue b/zdxt-web-client/zdxt-efcode-enforcement-app/src/views/enforcement/scanEntQRCode.vue index 919768f9..24aea649 100644 --- a/zdxt-web-client/zdxt-efcode-enforcement-app/src/views/enforcement/scanEntQRCode.vue +++ b/zdxt-web-client/zdxt-efcode-enforcement-app/src/views/enforcement/scanEntQRCode.vue @@ -46,7 +46,6 @@ v-model:show="showSearchModal" position="bottom" :style="{ height: '80%' }" - round closeable close-icon="cross" :close-on-click-overlay="false" @@ -80,7 +79,6 @@ type="text" class="search-input" placeholder="请输入企业名称/统一信用代码" - @keyup.enter="handleSearch" /> { enterpriseList.value = []; finished.value = false; error.value = false; + loadEnterprises(); }; const loadEnterprises = () => { @@ -495,7 +494,7 @@ const selectEnterprise = (item) => { const toSign = () => { router.push({ - path: '/enforcement/register', + path: '/enforcement/enforcementRegister', query: { reason: '补录', checkCss: 9, @@ -651,14 +650,14 @@ onBeforeUnmount(() => { :deep(.van-popup__close-icon--top-right) { top: 0.3rem; right: 0.3rem; - color: #999; + color: #000; font-size: 0.5rem; z-index: 10; } .section-label { font-size: 0.35rem; - color: #333; + color: #000; margin-bottom: 0.25rem; font-weight: 500; } @@ -755,7 +754,7 @@ onBeforeUnmount(() => { .enterprise-item { display: flex; - align-items: center; + // align-items: center; padding: 0.3rem 0; border-bottom: 1px solid #f5f5f5; cursor: pointer; @@ -785,8 +784,9 @@ onBeforeUnmount(() => { .item-name { flex: 1; font-size: 0.35rem; - color: #333; + color: #000; line-height: 1.4; + margin-top: 5px; } .loading-more {