|
|
|
<template>
|
|
|
|
<j-modal :title="title" :width="width" :visible="visible" :confirmLoading="confirmLoading" :maskClosable="false"
|
|
|
|
switchFullscreen @ok="handleOk" @cancel="handleCancel" cancelText="关闭">
|
|
|
|
<j-modal :title="title" :width="width" :visible="visible"
|
|
|
|
switchFullscreen @cancel="handleCancel" cancelText="关闭">
|
|
|
|
<a-spin :spinning="confirmLoading">
|
|
|
|
<div style="display: flex">
|
|
|
|
<div style="display:inline-block;width:50%;margin: auto;">
|
|
...
|
...
|
@@ -52,7 +52,7 @@ |
|
|
|
<th scop="col">{{model.dispatchedWorkingHours}}</th>
|
|
|
|
</tr>
|
|
|
|
<tr v-if="model.files">
|
|
|
|
<th scop="col" class="table_lable">主料图文件:</th>
|
|
|
|
<th scop="col" class="table_lable">文件:</th>
|
|
|
|
<th scop="col">
|
|
|
|
<div v-for="(item,index) in model.files.split(',')" :key="index">
|
|
|
|
<a :href=httpUrl+item target="_blank">{{index+1}}. {{item.replace("temp/","")}}</a><br>
|
|
...
|
...
|
@@ -61,7 +61,7 @@ |
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<div style="display:inline-block;width:45%;" v-if="picList">
|
|
|
|
<div style="display:inline-block;width:45%;" v-if="model.pics">
|
|
|
|
<div class="show" >
|
|
|
|
<!-- <img :src="getImgView(show)" :preview="num" alt="" height="100px"> -->
|
|
|
|
<img :src="httpUrl+show" :preview="num" alt="" height="100px">
|
|
...
|
...
|
@@ -134,6 +134,7 @@ export default { |
|
|
|
this.edit(this.modelDefault);
|
|
|
|
},
|
|
|
|
edit(record) {
|
|
|
|
this.picList = ""
|
|
|
|
this.model = Object.assign({}, record);
|
|
|
|
console.log('this.model',this.model)
|
|
|
|
if(this.model.pics){
|
...
|
...
|
|