姓名写死

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