|
...
|
...
|
@@ -50,10 +50,10 @@ |
|
|
|
<th scop="col" class="table_lable">已派发工时:</th>
|
|
|
|
<th scop="col">{{model.dispatchedWorkingHours}}</th>
|
|
|
|
</tr>
|
|
|
|
<tr v-if="model.files != null">
|
|
|
|
<tr v-if="designFile">
|
|
|
|
<th scop="col" class="table_lable">设计图文件:</th>
|
|
|
|
<th scop="col">
|
|
|
|
<div v-for="(item,index) in model.files.split(',')" :key="index">
|
|
|
|
<div v-for="(item,index) in designFile.split(',')" :key="index">
|
|
|
|
<a :href=httpUrl+item target="_blank">{{index+1}}. {{item.replace("temp/","")}}</a><br>
|
|
|
|
</div>
|
|
|
|
</th>
|
|
...
|
...
|
@@ -61,7 +61,7 @@ |
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<div class="imgDiv">
|
|
|
|
<div v-if="model.designPic">
|
|
|
|
<div v-if="picList">
|
|
|
|
<a-carousel arrows>
|
|
|
|
<div slot="prevArrow" slot-scope="props" class="custom-slick-arrow" style="left: 10px;zIndex: 1">
|
|
|
|
<a-icon type="left-circle" />
|
|
...
|
...
|
@@ -110,7 +110,8 @@ export default { |
|
|
|
picList: '',
|
|
|
|
show: '',
|
|
|
|
num: 0,
|
|
|
|
imageSrc: '',
|
|
|
|
// imageSrc: '',
|
|
|
|
designFile:'',
|
|
|
|
files: '',
|
|
|
|
model: {},
|
|
|
|
res: [],
|
|
...
|
...
|
@@ -236,9 +237,9 @@ export default { |
|
|
|
// }
|
|
|
|
// })
|
|
|
|
querygx(this.url.querygx, this.model).then((res) => {
|
|
|
|
console.log('工序订单号:', orderId)
|
|
|
|
console.log('工序产品类型:', productType)
|
|
|
|
console.log('工序查询:', res)
|
|
|
|
// console.log('工序订单号:', orderId)
|
|
|
|
// console.log('工序产品类型:', productType)
|
|
|
|
// console.log('工序查询:', res)
|
|
|
|
this.res = res.result
|
|
|
|
})
|
|
|
|
},
|
|
...
|
...
|
@@ -261,14 +262,16 @@ export default { |
|
|
|
|
|
|
|
if (res.result) {
|
|
|
|
const result = res.result;
|
|
|
|
// console.log('result',result)
|
|
|
|
if (result.designPic) {
|
|
|
|
this.imageSrc = result.designPic;
|
|
|
|
// console.log('result.designPic',result.designPic)
|
|
|
|
// this.imageSrc = result.designPic;
|
|
|
|
this.picList = result.designPic.split(',');
|
|
|
|
this.show = this.picList[0];
|
|
|
|
}
|
|
|
|
if (result.designFile) {
|
|
|
|
this.designFile = result.designFile;
|
|
|
|
console.log('files:', this.designFile);
|
|
|
|
// console.log('files:', this.designFile);
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
console.log('Response result or required properties are missing.');
|
...
|
...
|
|