|
@@ -18,7 +18,7 @@
|
|
</div>
|
|
</div>
|
|
<div v-else class="checkForm">
|
|
<div v-else class="checkForm">
|
|
<div v-if="!editStatus" class="headerName">
|
|
<div v-if="!editStatus" class="headerName">
|
|
- <div class="titleText">当前检验人:{{ checkName }}</div>
|
|
|
|
|
|
+ <div class="titleText">当前检验人:{{ showName }}</div>
|
|
<div
|
|
<div
|
|
class="titleText"
|
|
class="titleText"
|
|
style="margin-right: 15%; display: flex; align-items: center"
|
|
style="margin-right: 15%; display: flex; align-items: center"
|
|
@@ -116,7 +116,7 @@
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
<div v-if="editStatus" class="headerName">
|
|
<div v-if="editStatus" class="headerName">
|
|
- <div class="titleText">当前检验人:{{ checkName }}</div>
|
|
|
|
|
|
+ <div class="titleText">当前检验人:{{ showName }}</div>
|
|
<div
|
|
<div
|
|
class="titleText"
|
|
class="titleText"
|
|
style="margin-right: 15%; display: flex; align-items: center"
|
|
style="margin-right: 15%; display: flex; align-items: center"
|
|
@@ -164,6 +164,7 @@ const formRef = ref(null);
|
|
const formData = ref({});
|
|
const formData = ref({});
|
|
provide("formData", formData);
|
|
provide("formData", formData);
|
|
const checkName = ref(null);
|
|
const checkName = ref(null);
|
|
|
|
+const showName = ref(null)
|
|
const checkType = ref("first_check");
|
|
const checkType = ref("first_check");
|
|
const editStatus = ref(false);
|
|
const editStatus = ref(false);
|
|
const editCheck = async (row) => {
|
|
const editCheck = async (row) => {
|
|
@@ -344,6 +345,7 @@ const checkUserVal = async () => {
|
|
ElMessage.success("记录成功!请开展检验操作");
|
|
ElMessage.success("记录成功!请开展检验操作");
|
|
inspectStore.checkName = data.userName;
|
|
inspectStore.checkName = data.userName;
|
|
checkName.value = data.userName;
|
|
checkName.value = data.userName;
|
|
|
|
+ showName.value = data.nickName
|
|
} else {
|
|
} else {
|
|
ElMessage.error(msg);
|
|
ElMessage.error(msg);
|
|
}
|
|
}
|