Commit d1a9ef73 by 肖康

x

parent 6c16d9fb
<template> <template>
<div id="app"> <div id="app">
<keep-alive exclude="index"> <keep-alive exclude="index,listDetail">
<router-view class="router-view"></router-view> <router-view class="router-view"></router-view>
</keep-alive> </keep-alive>
</div> </div>
......
.listDetail{
.detail-nav{
background: #fff;
padding:20px;
font-size: 14px;
color:#333;
span{
margin-right: 45px;
}
}
}
\ No newline at end of file
.listDetail .detail-nav{background:#fff;padding:20px;font-size:14px;color:#333}.listDetail .detail-nav span{margin-right:45px}
\ No newline at end of file
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
</el-table-column> </el-table-column>
<el-table-column label="单号" min-width="20%"> <el-table-column label="单号" min-width="20%">
<template slot-scope="scope"> <template slot-scope="scope">
<a :href="'/#/listDetail?sn='+scope.row.up_sn" class="f-blue">{{scope.row.up_sn}}</a> <a :href="'/#/listDetail?sn='+scope.row.up_sn+'&id='+scope.row.id" class="f-blue">{{scope.row.up_sn}}</a>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="file_name" label="文件名字" min-width="20%"> <el-table-column prop="file_name" label="文件名字" min-width="20%">
......
<template> <template>
<div class="index pagex"> <div class="listDetail pagex">
我是库存列表详情 <div class="detail-nav">
<span>单号:SD202104060008</span>
<span>文件名:圣和堂-联营数据上传.csv</span>
<span>上传时间:2021-03-30</span>
<span>状态:处理中</span>
</div>
<Menu/> <Menu/>
</div> </div>
...@@ -22,24 +27,18 @@ ...@@ -22,24 +27,18 @@
}, },
watch: {}, watch: {},
created() { created() {
this.getInfo()
console.log(this.$route.query.params)
}, },
computed: {}, computed: {},
methods: { methods: {
ceshi() { getInfo(){
//this.$message.error('上传头像图片只能是 JPG 格式!'); this.$http('get', "/api/uploadSku/info", {
Message('这是一条消息提示'); id: this.$route.query.id
this.$http('get', "/getJoke1", { }).then(res => {
page: 1, count: 2, type: 'video'
})
.then(res => {
console.log(res)
})
.catch(err => {
console.log(err.message);
})
} })
}
}, },
components: { components: {
Menu Menu
...@@ -47,5 +46,5 @@ ...@@ -47,5 +46,5 @@
}; };
</script> </script>
<style scoped> <style scoped>
/* @import "../../assets/css/index/index.min.css"; */ @import "../../assets/css/store/listDetail.min.css";
</style> </style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment