正在显示
1 个修改的文件
包含
12 行增加
和
9 行删除
| @@ -50,10 +50,10 @@ | @@ -50,10 +50,10 @@ | ||
| 50 | <th scop="col" class="table_lable">已派发工时:</th> | 50 | <th scop="col" class="table_lable">已派发工时:</th> |
| 51 | <th scop="col">{{model.dispatchedWorkingHours}}</th> | 51 | <th scop="col">{{model.dispatchedWorkingHours}}</th> |
| 52 | </tr> | 52 | </tr> |
| 53 | - <tr v-if="model.files != null"> | 53 | + <tr v-if="designFile"> |
| 54 | <th scop="col" class="table_lable">设计图文件:</th> | 54 | <th scop="col" class="table_lable">设计图文件:</th> |
| 55 | <th scop="col"> | 55 | <th scop="col"> |
| 56 | - <div v-for="(item,index) in model.files.split(',')" :key="index"> | 56 | + <div v-for="(item,index) in designFile.split(',')" :key="index"> |
| 57 | <a :href=httpUrl+item target="_blank">{{index+1}}. {{item.replace("temp/","")}}</a><br> | 57 | <a :href=httpUrl+item target="_blank">{{index+1}}. {{item.replace("temp/","")}}</a><br> |
| 58 | </div> | 58 | </div> |
| 59 | </th> | 59 | </th> |
| @@ -61,7 +61,7 @@ | @@ -61,7 +61,7 @@ | ||
| 61 | </table> | 61 | </table> |
| 62 | </div> | 62 | </div> |
| 63 | <div class="imgDiv"> | 63 | <div class="imgDiv"> |
| 64 | - <div v-if="model.designPic"> | 64 | + <div v-if="picList"> |
| 65 | <a-carousel arrows> | 65 | <a-carousel arrows> |
| 66 | <div slot="prevArrow" slot-scope="props" class="custom-slick-arrow" style="left: 10px;zIndex: 1"> | 66 | <div slot="prevArrow" slot-scope="props" class="custom-slick-arrow" style="left: 10px;zIndex: 1"> |
| 67 | <a-icon type="left-circle" /> | 67 | <a-icon type="left-circle" /> |
| @@ -110,7 +110,8 @@ export default { | @@ -110,7 +110,8 @@ export default { | ||
| 110 | picList: '', | 110 | picList: '', |
| 111 | show: '', | 111 | show: '', |
| 112 | num: 0, | 112 | num: 0, |
| 113 | - imageSrc: '', | 113 | + // imageSrc: '', |
| 114 | + designFile:'', | ||
| 114 | files: '', | 115 | files: '', |
| 115 | model: {}, | 116 | model: {}, |
| 116 | res: [], | 117 | res: [], |
| @@ -236,9 +237,9 @@ export default { | @@ -236,9 +237,9 @@ export default { | ||
| 236 | // } | 237 | // } |
| 237 | // }) | 238 | // }) |
| 238 | querygx(this.url.querygx, this.model).then((res) => { | 239 | querygx(this.url.querygx, this.model).then((res) => { |
| 239 | - console.log('工序订单号:', orderId) | ||
| 240 | - console.log('工序产品类型:', productType) | ||
| 241 | - console.log('工序查询:', res) | 240 | + // console.log('工序订单号:', orderId) |
| 241 | + // console.log('工序产品类型:', productType) | ||
| 242 | + // console.log('工序查询:', res) | ||
| 242 | this.res = res.result | 243 | this.res = res.result |
| 243 | }) | 244 | }) |
| 244 | }, | 245 | }, |
| @@ -261,14 +262,16 @@ export default { | @@ -261,14 +262,16 @@ export default { | ||
| 261 | 262 | ||
| 262 | if (res.result) { | 263 | if (res.result) { |
| 263 | const result = res.result; | 264 | const result = res.result; |
| 265 | + // console.log('result',result) | ||
| 264 | if (result.designPic) { | 266 | if (result.designPic) { |
| 265 | - this.imageSrc = result.designPic; | 267 | + // console.log('result.designPic',result.designPic) |
| 268 | + // this.imageSrc = result.designPic; | ||
| 266 | this.picList = result.designPic.split(','); | 269 | this.picList = result.designPic.split(','); |
| 267 | this.show = this.picList[0]; | 270 | this.show = this.picList[0]; |
| 268 | } | 271 | } |
| 269 | if (result.designFile) { | 272 | if (result.designFile) { |
| 270 | this.designFile = result.designFile; | 273 | this.designFile = result.designFile; |
| 271 | - console.log('files:', this.designFile); | 274 | + // console.log('files:', this.designFile); |
| 272 | } | 275 | } |
| 273 | } else { | 276 | } else { |
| 274 | console.log('Response result or required properties are missing.'); | 277 | console.log('Response result or required properties are missing.'); |
-
请 注册 或 登录 后发表评论