fix:工艺路线指导文件在日志中查看
This commit is contained in:
parent
ca9c398241
commit
40bcad0275
|
@ -40,7 +40,7 @@
|
||||||
<el-descriptions-item label="创建时间">{{
|
<el-descriptions-item label="创建时间">{{
|
||||||
mlogItem.create_time
|
mlogItem.create_time
|
||||||
}}</el-descriptions-item>
|
}}</el-descriptions-item>
|
||||||
<el-descriptions-item label="指导文件">
|
<el-descriptions-item label="指导文件" v-if="route_file!==null">
|
||||||
<el-button @click="showFile">查看</el-button>
|
<el-button @click="showFile">查看</el-button>
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
</el-descriptions>
|
</el-descriptions>
|
||||||
|
@ -317,7 +317,7 @@
|
||||||
<div style="display: flex;justify-content: flex-end;padding: 10px 20px;">
|
<div style="display: flex;justify-content: flex-end;padding: 10px 20px;">
|
||||||
<el-icon size="30" class="el-dialog__close" @click="fileVisible=false"><el-icon-close/></el-icon>
|
<el-icon size="30" class="el-dialog__close" @click="fileVisible=false"><el-icon-close/></el-icon>
|
||||||
</div>
|
</div>
|
||||||
<iframe src="http://49.232.14.174/media/2025/02/24/9%E6%9C%88%E4%BB%BD410_ebI85X4.pdf" style="width: 60%;height: 90%;">预览</iframe>
|
<iframe :src="route_file" style="width: 100%;height: 90%;">预览</iframe>
|
||||||
</div>
|
</div>
|
||||||
</el-drawer>
|
</el-drawer>
|
||||||
</template>
|
</template>
|
||||||
|
@ -408,7 +408,7 @@ export default {
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
route_file:'',
|
route_file:null,
|
||||||
handle_date:'',
|
handle_date:'',
|
||||||
handle_user:'',
|
handle_user:'',
|
||||||
wm:'',
|
wm:'',
|
||||||
|
@ -463,7 +463,7 @@ export default {
|
||||||
that.tableData2 = res;
|
that.tableData2 = res;
|
||||||
})
|
})
|
||||||
that.$API.mtm.routepack.list.req({page:0,search:res.routepack_name}).then((res) => {
|
that.$API.mtm.routepack.list.req({page:0,search:res.routepack_name}).then((res) => {
|
||||||
that.route_file = res[0].document_.file;
|
that.route_file = res[0].document_!==null?res[0].document_.path:null;
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue