作者 张晓杰

修改查看图片

... ... @@ -25,12 +25,6 @@
<th scop="col" class="table_lable">产品类型:</th>
<th scop="col">
{{model.productType}}
<!-- <span v-if="model.productType =='XC'">线槽</span>
<span v-if="model.productType =='JD'">接地</span>
<span v-if="model.productType =='QZ'">卡子</span>
<span v-if="model.productType =='GX'">柜、箱、盒</span>
<span v-if="model.productType =='SJ'">司机室</span>
<span v-if="model.productType =='FS'">附属钢</span> -->
</th>
</tr>
<tr>
... ... @@ -69,11 +63,13 @@
</div>
<div style="display:inline-block;width:45%;">
<div class="show" >
<img :src="getImgView(show)" :preview="num" alt="" height="100px">
<!-- <img :src="getImgView(show)" :preview="num" alt="" height="100px"> -->
<img :src="httpUrl+show" :preview="num" alt="" height="100px">
</div>
<div class="imgBox">
<div :class="[num == index?'borderShow':'']" v-for="(item,index) of picList" :key="index" @click="onImg(index)">
<img :src="getImgView(item)" height="25px" alt="" style="margin-left: 20px;">
<!-- <img :src="getImgView(item)" height="25px" alt="" style="margin-left: 20px;"> -->
<img :src="httpUrl +(item)" height="25px" alt="" style="margin-left: 20px;">
</div>
</div>
</div>
... ... @@ -88,18 +84,16 @@ import { httpAction } from '@/api/manage'
import { validateDuplicateValue } from '@/utils/util'
import { duplicateCheck } from '@/api/api'
import {listProductType} from '@/api/ProductTpye'
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
// import { JeecgListMixin } from '@/mixins/JeecgListMixin'
import moment from 'moment'
// let apiBaseUrl = window._CONFIG['domianURL'] || "/jeecg-boot";
export default {
name: "ViewOrdersModal",
mixins: [JeecgListMixin],
// mixins: [JeecgListMixin],
components: {
},
data() {
return {
title: "生产订单详情",
// baseURL:apiBaseUrl,
httpUrl:window._CONFIG['staticDomainURL']+'/',
options:[],
width: 1000,
... ... @@ -119,9 +113,13 @@ export default {
picList:"",
show:"",
num: 0,
url: {
list: "/order_form/tblOrderForm/list",
}
// url: {
// list: "/order_form/tblOrderForm/list",
// delete: "/order_form/tblOrderForm/delete",
// deleteBatch: "/order_form/tblOrderForm/deleteBatch",
// exportXlsUrl: "/order_form/tblOrderForm/exportXls",
// importExcelUrl: "order_form/tblOrderForm/importExcel",
// },
}
},
... ... @@ -140,7 +138,7 @@ export default {
var picList = this.model.pics.split(',')
this.picList = picList
this.show = this.picList[0];
console.log('this.picList',this.picList)
// console.log('this.picList',this.picList)
this.visible = true;
this.loadTree()
},
... ...