Commit 82c2eed0 by qinjianhui

fix: 问题修改

parent 7b436e4b
...@@ -329,9 +329,9 @@ const submitReview = async (data: TypesettingListData, isDetail = false) => { ...@@ -329,9 +329,9 @@ const submitReview = async (data: TypesettingListData, isDetail = false) => {
detailable.value = isDetail detailable.value = isDetail
try { try {
submitReviewModelRef.value?.getExamineInfo(data) submitReviewModelRef.value?.getExamineInfo(data)
// if (data.state === '701' || data.state === '901') { if (data.state === '601' ||data.state === '701' || data.state === '901') {
submitReviewModelRef.value?.getPriceDetail(data) submitReviewModelRef.value?.getPriceDetail(data)
// } }
const res = await getTypesettingDetail(data.id) const res = await getTypesettingDetail(data.id)
row.value = res.data row.value = res.data
nextTick(() => { nextTick(() => {
......
...@@ -25,7 +25,11 @@ ...@@ -25,7 +25,11 @@
</div> </div>
</div> </div>
<div class="modals-image-big"> <div class="modals-image-big">
<img :src="mainImageUrl || row?.imageList[0]?.imagePath" alt="" class="img-sign" /> <img
:src="mainImageUrl || row?.imageList[0]?.imagePath"
alt=""
class="img-sign"
/>
</div> </div>
</div> </div>
</div> </div>
...@@ -291,7 +295,7 @@ ...@@ -291,7 +295,7 @@
<ElCol :span="12"> <ElCol :span="12">
<div class="detail-info-item"> <div class="detail-info-item">
<span class="label">样板要求</span> <span class="label">样板要求</span>
<p v-dompurify-html="row?.remark"></p> <p v-dompurify-html="row?.requirement"></p>
</div> </div>
</ElCol> </ElCol>
</ElRow> </ElRow>
...@@ -507,12 +511,12 @@ const getExamineInfo = async (data: TypesettingListData) => { ...@@ -507,12 +511,12 @@ const getExamineInfo = async (data: TypesettingListData) => {
const res = await getExamineInfoByIdApi(data.id) const res = await getExamineInfoByIdApi(data.id)
if (!res.data) return if (!res.data) return
versionList.value = res.data versionList.value = res.data
if (data?.state === '301' || data?.state === '401') { // if (data?.state === '301' || data?.state === '401') {
versionList.value.push({ versionList.value.push({
version: versionList.value.length + 1, version: versionList.value.length + 1,
examineImages: [], examineImages: [],
}) })
} // }
if (res.data.length > 0) { if (res.data.length > 0) {
version.value = res.data[res.data.length - 1].version ?? 1 version.value = res.data[res.data.length - 1].version ?? 1
lastVersion.value = res.data[res.data.length - 1].version ?? 1 lastVersion.value = res.data[res.data.length - 1].version ?? 1
...@@ -741,6 +745,7 @@ defineExpose({ getExamineInfo, reset, getPriceDetail }) ...@@ -741,6 +745,7 @@ defineExpose({ getExamineInfo, reset, getPriceDetail })
} }
.detail-info { .detail-info {
height: 600px; height: 600px;
overflow-y: auto;
:deep(.el-row) { :deep(.el-row) {
height: 30px; height: 30px;
line-height: 30px; line-height: 30px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment