作者 张晓杰

修改查看图片

@@ -25,12 +25,6 @@ @@ -25,12 +25,6 @@
25 <th scop="col" class="table_lable">产品类型:</th> 25 <th scop="col" class="table_lable">产品类型:</th>
26 <th scop="col"> 26 <th scop="col">
27 {{model.productType}} 27 {{model.productType}}
28 - <!-- <span v-if="model.productType =='XC'">线槽</span>  
29 - <span v-if="model.productType =='JD'">接地</span>  
30 - <span v-if="model.productType =='QZ'">卡子</span>  
31 - <span v-if="model.productType =='GX'">柜、箱、盒</span>  
32 - <span v-if="model.productType =='SJ'">司机室</span>  
33 - <span v-if="model.productType =='FS'">附属钢</span> -->  
34 </th> 28 </th>
35 </tr> 29 </tr>
36 <tr> 30 <tr>
@@ -69,11 +63,13 @@ @@ -69,11 +63,13 @@
69 </div> 63 </div>
70 <div style="display:inline-block;width:45%;"> 64 <div style="display:inline-block;width:45%;">
71 <div class="show" > 65 <div class="show" >
72 - <img :src="getImgView(show)" :preview="num" alt="" height="100px"> 66 + <!-- <img :src="getImgView(show)" :preview="num" alt="" height="100px"> -->
  67 + <img :src="httpUrl+show" :preview="num" alt="" height="100px">
73 </div> 68 </div>
74 <div class="imgBox"> 69 <div class="imgBox">
75 <div :class="[num == index?'borderShow':'']" v-for="(item,index) of picList" :key="index" @click="onImg(index)"> 70 <div :class="[num == index?'borderShow':'']" v-for="(item,index) of picList" :key="index" @click="onImg(index)">
76 - <img :src="getImgView(item)" height="25px" alt="" style="margin-left: 20px;"> 71 + <!-- <img :src="getImgView(item)" height="25px" alt="" style="margin-left: 20px;"> -->
  72 + <img :src="httpUrl +(item)" height="25px" alt="" style="margin-left: 20px;">
77 </div> 73 </div>
78 </div> 74 </div>
79 </div> 75 </div>
@@ -88,18 +84,16 @@ import { httpAction } from '@/api/manage' @@ -88,18 +84,16 @@ import { httpAction } from '@/api/manage'
88 import { validateDuplicateValue } from '@/utils/util' 84 import { validateDuplicateValue } from '@/utils/util'
89 import { duplicateCheck } from '@/api/api' 85 import { duplicateCheck } from '@/api/api'
90 import {listProductType} from '@/api/ProductTpye' 86 import {listProductType} from '@/api/ProductTpye'
91 -import { JeecgListMixin } from '@/mixins/JeecgListMixin' 87 +// import { JeecgListMixin } from '@/mixins/JeecgListMixin'
92 import moment from 'moment' 88 import moment from 'moment'
93 -// let apiBaseUrl = window._CONFIG['domianURL'] || "/jeecg-boot";  
94 export default { 89 export default {
95 name: "ViewOrdersModal", 90 name: "ViewOrdersModal",
96 - mixins: [JeecgListMixin], 91 + // mixins: [JeecgListMixin],
97 components: { 92 components: {
98 }, 93 },
99 data() { 94 data() {
100 return { 95 return {
101 title: "生产订单详情", 96 title: "生产订单详情",
102 - // baseURL:apiBaseUrl,  
103 httpUrl:window._CONFIG['staticDomainURL']+'/', 97 httpUrl:window._CONFIG['staticDomainURL']+'/',
104 options:[], 98 options:[],
105 width: 1000, 99 width: 1000,
@@ -119,9 +113,13 @@ export default { @@ -119,9 +113,13 @@ export default {
119 picList:"", 113 picList:"",
120 show:"", 114 show:"",
121 num: 0, 115 num: 0,
122 - url: {  
123 - list: "/order_form/tblOrderForm/list",  
124 - } 116 + // url: {
  117 + // list: "/order_form/tblOrderForm/list",
  118 + // delete: "/order_form/tblOrderForm/delete",
  119 + // deleteBatch: "/order_form/tblOrderForm/deleteBatch",
  120 + // exportXlsUrl: "/order_form/tblOrderForm/exportXls",
  121 + // importExcelUrl: "order_form/tblOrderForm/importExcel",
  122 + // },
125 123
126 } 124 }
127 }, 125 },
@@ -140,7 +138,7 @@ export default { @@ -140,7 +138,7 @@ export default {
140 var picList = this.model.pics.split(',') 138 var picList = this.model.pics.split(',')
141 this.picList = picList 139 this.picList = picList
142 this.show = this.picList[0]; 140 this.show = this.picList[0];
143 - console.log('this.picList',this.picList) 141 + // console.log('this.picList',this.picList)
144 this.visible = true; 142 this.visible = true;
145 this.loadTree() 143 this.loadTree()
146 }, 144 },