|
|
|
@ -28,24 +28,28 @@ |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<!-- </a-card>--> |
|
|
|
|
<!-- 基础动作--> |
|
|
|
|
<div style="width: 96%;margin:0 auto 30px"> |
|
|
|
|
<h2 style="text-align: left;margin-bottom: 30px;border-bottom: 1px solid #e8e8e8;padding-bottom: 20px">基础动作</h2> |
|
|
|
|
<basicAction :tableModel="basicActionData"></basicAction> |
|
|
|
|
<div class="coin"> |
|
|
|
|
<h2>基础动作</h2> |
|
|
|
|
<basicAction :model="basicActionData"></basicAction> |
|
|
|
|
</div> |
|
|
|
|
<div style="width: 96%;margin:0 auto 30px"> |
|
|
|
|
<h2 style="text-align: left;margin-bottom: 30px;border-bottom: 1px solid #e8e8e8;padding-bottom: 20px">工序面料</h2> |
|
|
|
|
<processFabric :tableModel="accessoriesData"></processFabric> |
|
|
|
|
<div class="coin"> |
|
|
|
|
<h2>工序面料</h2> |
|
|
|
|
<processAccessories :model="accessoriesData"></processAccessories> |
|
|
|
|
</div> |
|
|
|
|
<div class="coin"> |
|
|
|
|
<h2>工序辅料</h2> |
|
|
|
|
<processFabric :model="fabricData"></processFabric> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
</a-modal> |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
<script> |
|
|
|
|
import zyProcess from '@/components/procedure/zyProcess' |
|
|
|
|
import basicAction from '@/components/procedure/basicAction' |
|
|
|
|
import processAccessories from '@/components/procedure/processAccessories' |
|
|
|
|
import processFabric from '@/components/procedure/processFabric' |
|
|
|
|
export default { |
|
|
|
|
components:{zyProcess,basicAction,processFabric}, |
|
|
|
|
components:{zyProcess,basicAction,processAccessories,processFabric}, |
|
|
|
|
data() { |
|
|
|
|
return{ |
|
|
|
|
ModalText: 'Content of the modal', |
|
|
|
@ -56,9 +60,10 @@ |
|
|
|
|
img1:require('@/assets/9-2.png'),//默认图片 |
|
|
|
|
mp4:'', |
|
|
|
|
data:{}, |
|
|
|
|
ProcessData:{}, |
|
|
|
|
basicActionData:[], |
|
|
|
|
accessoriesData:[], |
|
|
|
|
ProcessData:{},//基本工序相关数据 |
|
|
|
|
basicActionData:[],//基础动作相关数据 |
|
|
|
|
accessoriesData:[],//面料相关数据 |
|
|
|
|
fabricData:[],//辅料相关数据 |
|
|
|
|
headStyle:{ |
|
|
|
|
height:'10px' |
|
|
|
|
}, |
|
|
|
@ -73,11 +78,13 @@ |
|
|
|
|
res=>{ |
|
|
|
|
this.data = res.result |
|
|
|
|
this.ProcessData = res.result.zyProcess |
|
|
|
|
this.basicActionData = res.result.zyProcessAction |
|
|
|
|
this.accessoriesData = res.result.zyProcessAccessories |
|
|
|
|
console.log('this.data') |
|
|
|
|
this.basicActionData = res.result.zyClothActions |
|
|
|
|
this.accessoriesData = res.result.zyFabrics |
|
|
|
|
this.fabricData = res.result.zyAccessories |
|
|
|
|
console.log('工序详情页') |
|
|
|
|
console.log(this.data) |
|
|
|
|
console.log(this.accessoriesData) |
|
|
|
|
console.log(this.fabricData) |
|
|
|
|
this.img = "http://10.100.200.112/jeecg-boot/sys/common/static/"+this.data.image; |
|
|
|
|
this.mp4 = "http://10.100.200.112/jeecg-boot/sys/common/static/"+this.data.vedio; |
|
|
|
|
} |
|
|
|
@ -101,4 +108,6 @@ |
|
|
|
|
.table{border-color:#d9d9d9;border-radius: 3px} |
|
|
|
|
.table td{padding: 10px 20px;max-width: 380px;white-space:nowrap} |
|
|
|
|
.table td span{color: #333} |
|
|
|
|
.coin{width: 96%;margin:0 auto 30px;border-bottom: 1px solid #e8e8e8;} |
|
|
|
|
.coin h2{text-align: left;margin-bottom: 30px;border-bottom: 1px solid #e8e8e8;padding-bottom: 20px} |
|
|
|
|
</style> |