This commit is contained in:
parent
67b7e64600
commit
559e46dc41
@ -15,7 +15,6 @@ import type { PropertyForm } from '#/api/property/productManagement/model';
|
|||||||
import PlantsProductModal from './plantsProduct-modal.vue';
|
import PlantsProductModal from './plantsProduct-modal.vue';
|
||||||
import PlantsProductDetail from './plantsProduct-detail.vue';
|
import PlantsProductDetail from './plantsProduct-detail.vue';
|
||||||
import { columns, querySchema } from './data';
|
import { columns, querySchema } from './data';
|
||||||
import { ref } from 'vue';
|
|
||||||
const formOptions: VbenFormProps = {
|
const formOptions: VbenFormProps = {
|
||||||
commonConfig: {
|
commonConfig: {
|
||||||
labelWidth: 80,
|
labelWidth: 80,
|
||||||
|
@ -59,15 +59,16 @@ async function handleOpenChange(open: boolean) {
|
|||||||
:is="renderDict(plantsProductDetail.state,'product_management_status')"
|
:is="renderDict(plantsProductDetail.state,'product_management_status')"
|
||||||
/>
|
/>
|
||||||
</DescriptionsItem>
|
</DescriptionsItem>
|
||||||
<DescriptionsItem label="产品图片">
|
|
||||||
<img v-if="plantsProductDetail.plantImg" :src="plantsProductDetail.plantImg" alt="图片加载失败" class="w-[100px] h-[100px]" />
|
|
||||||
</DescriptionsItem>
|
|
||||||
<DescriptionsItem label="备注">
|
|
||||||
{{ plantsProductDetail.remark }}
|
|
||||||
</DescriptionsItem>
|
|
||||||
<DescriptionsItem label="创建时间">
|
<DescriptionsItem label="创建时间">
|
||||||
{{ plantsProductDetail.createTime }}
|
{{ plantsProductDetail.createTime }}
|
||||||
</DescriptionsItem>
|
</DescriptionsItem>
|
||||||
|
<DescriptionsItem label="产品图片" :span="2">
|
||||||
|
<img v-if="plantsProductDetail.plantImg" :src="plantsProductDetail.plantImg" alt="图片加载失败" class="w-[100px] h-[100px]" />
|
||||||
|
</DescriptionsItem>
|
||||||
|
<DescriptionsItem label="备注" :span="2">
|
||||||
|
{{ plantsProductDetail.remark }}
|
||||||
|
</DescriptionsItem>
|
||||||
|
|
||||||
</Descriptions>
|
</Descriptions>
|
||||||
</BasicModal>
|
</BasicModal>
|
||||||
</template>
|
</template>
|
||||||
|
@ -32,8 +32,7 @@ async function handleOpenChange(open: boolean) {
|
|||||||
const {id} = modalApi.getData() as { id: number | string };
|
const {id} = modalApi.getData() as { id: number | string };
|
||||||
conferenceSettingsDetail.value = await meetInfo(id);
|
conferenceSettingsDetail.value = await meetInfo(id);
|
||||||
if (conferenceSettingsDetail.value?.picture) {
|
if (conferenceSettingsDetail.value?.picture) {
|
||||||
let imgIds = conferenceSettingsDetail.value.picture.split(',');
|
const res = await ossInfo(conferenceSettingsDetail.value?.picture);
|
||||||
const res = await ossInfo(imgIds);
|
|
||||||
if (res) {
|
if (res) {
|
||||||
let imgArr = [] as string[];
|
let imgArr = [] as string[];
|
||||||
res.forEach(item => {
|
res.forEach(item => {
|
||||||
|
Loading…
Reference in New Issue
Block a user