姓名写死

This commit is contained in:
2026-06-30 14:53:45 +08:00
parent 0260deecf6
commit 731a46e9e5
@@ -307,15 +307,17 @@
v-model:value="queryName" v-model:value="queryName"
placeholder="请输入姓名" placeholder="请输入姓名"
size="small" size="small"
disabled
/> />
</div> </div>
<div class="form-item"> <div class="form-item">
<label>手机号 / 身份证 <span class="required">*</span></label> <label>手机号 <span class="required">*</span></label>
<a-input <a-input
v-model:value="queryIdOrMobile" v-model:value="queryIdOrMobile"
placeholder="手机号或身份证号" placeholder="手机号"
size="small" size="small"
disabled
/> />
</div> </div>
@@ -628,6 +630,7 @@
<script setup> <script setup>
import { import {
ref, ref,
toRef,
reactive, reactive,
computed, computed,
nextTick, nextTick,
@@ -635,6 +638,7 @@ import {
onUnmounted, onUnmounted,
watch, watch,
} from "vue"; } from "vue";
import { message, Modal } from "ant-design-vue"; import { message, Modal } from "ant-design-vue";
import { import {
CloudUploadOutlined, CloudUploadOutlined,
@@ -993,8 +997,6 @@ function resetModalState(record = null) {
contractName.value = record?.contractName || ""; contractName.value = record?.contractName || "";
creating.value = false; creating.value = false;
dragOver.value = false; dragOver.value = false;
queryName.value = "";
queryIdOrMobile.value = "";
queryEntName.value = ""; queryEntName.value = "";
querySealTypes.value = [0, 20, 10, 30, 40, 50, 60]; querySealTypes.value = [0, 20, 10, 30, 40, 50, 60];
fetchingSeals.value = false; fetchingSeals.value = false;
@@ -1243,9 +1245,13 @@ const querySealTypes = ref([0, 20, 10, 30, 40, 50, 60]);
const fetchingSeals = ref(false); const fetchingSeals = ref(false);
const sealList = ref([]); const sealList = ref([]);
queryName.value = '周小锋';
queryIdOrMobile.value = '17681520782';
async function fetchSeals() { async function fetchSeals() {
if (!queryName.value || !queryIdOrMobile.value) { if (!queryName.value || !queryIdOrMobile.value) {
message.warning("请先填写姓名和手机号 / 身份证"); message.warning("请先填写姓名和手机号");
return; return;
} }
@@ -1253,12 +1259,7 @@ async function fetchSeals() {
try { try {
const signerRes = await getUserUniqueId({ const signerRes = await getUserUniqueId({
name: queryName.value, name: queryName.value,
mobile: /^\d{11}$/.test(queryIdOrMobile.value) mobile: queryIdOrMobile.value,
? queryIdOrMobile.value
: "",
idCode: /^\d{15,18}[0-9Xx]?$/.test(queryIdOrMobile.value)
? queryIdOrMobile.value
: "",
}); });
if ( if (
@@ -1905,18 +1906,17 @@ watch(visible, (value) => {
} }
.info-title { .info-title {
font-size: 16px; font-size: 15px;
font-weight: 700; font-weight: 700;
color: #1e293b; color: #1e293b;
margin-bottom: 18px; margin-bottom: 14px;
} }
.info-item { .info-item {
display: grid; display: flex;
grid-template-columns: 72px minmax(0, 1fr); flex-direction: column;
align-items: start; gap: 4px;
column-gap: 12px; padding: 10px 0;
padding: 12px 0;
border-bottom: 1px dashed #eef2f6; border-bottom: 1px dashed #eef2f6;
font-size: 14px; font-size: 14px;
} }
@@ -1926,17 +1926,17 @@ watch(visible, (value) => {
} }
.info-item span { .info-item span {
color: #64748b; font-size: 12px;
white-space: nowrap; color: #94a3b8;
line-height: 1.6; line-height: 1.4;
} }
.info-item strong { .info-item strong {
color: #0f172a; color: #0f172a;
min-width: 0;
overflow-wrap: anywhere; overflow-wrap: anywhere;
word-break: break-word; word-break: break-word;
line-height: 1.6; line-height: 1.5;
font-weight: 600;
} }
.business-tag-row { .business-tag-row {
@@ -1970,13 +1970,12 @@ watch(visible, (value) => {
} }
.business-meta-item { .business-meta-item {
display: grid; display: flex;
grid-template-columns: 72px minmax(0, 1fr); flex-direction: column;
align-items: start; gap: 2px;
column-gap: 12px;
font-size: 12px; font-size: 12px;
color: #64748b; color: #64748b;
padding-bottom: 8px; padding-bottom: 6px;
border-bottom: 1px dashed #eef2f6; border-bottom: 1px dashed #eef2f6;
} }
@@ -1986,21 +1985,16 @@ watch(visible, (value) => {
} }
.business-meta-item span { .business-meta-item span {
white-space: nowrap; color: #94a3b8;
line-height: 1.6; line-height: 1.4;
} }
.business-meta-item strong { .business-meta-item strong {
min-width: 0;
text-align: left;
color: #0f172a; color: #0f172a;
font-weight: 600; font-weight: 600;
white-space: normal; line-height: 1.5;
overflow: visible;
text-overflow: initial;
overflow-wrap: anywhere; overflow-wrap: anywhere;
word-break: break-word; word-break: break-word;
line-height: 1.6;
} }
.upload-mode-hint { .upload-mode-hint {