Commit 9f1e3aae by chenwq

嘀加上架-运营确认和运营查看

1 parent f3c878ec
...@@ -705,7 +705,7 @@ export const routerName = { ...@@ -705,7 +705,7 @@ export const routerName = {
path: "/contractDetail", path: "/contractDetail",
name: "contractDetail", name: "contractDetail",
meta: { meta: {
title: "运营确认", title: "运营查看",
authId: "9031305", authId: "9031305",
parentId: "90313", parentId: "90313",
sideHidden: true, sideHidden: true,
......
<!-- 查看 - 基础信息 -->
<template>
<div class="edit-page base-info">
<div class="title">
<span>基础信息</span>
</div>
<div style="padding: 20px;">
<div>啦啦啦</div>
</div>
</div>
</template>
<script>
export default {
name: 'BaseInfo',
props: {},
data() {
//这里存放数据
return {
}
},
methods: {},
};
</script>
<style lang="scss" scoped>
@import "../../style/editdetailCon.scss";
</style>
<!-- 查看 - 分账配置 -->
<template>
<div class="edit-page division-config">
<div class="title">
<span>分账配置</span>
</div>
<div style="padding: 20px;">
<div>啦啦啦</div>
</div>
</div>
</template>
<script>
export default {
name: 'DivisionConfig',
props: {},
data() {
//这里存放数据
return {
}
},
methods: {},
};
</script>
<style lang="scss" scoped>
@import "../../style/editdetailCon.scss";
</style>
<!-- 查看 - 对账配置 -->
<template>
<div class="edit-page finance-config">
<div class="title">
<span>对账配置</span>
</div>
<div style="padding: 20px;">
<div>啦啦啦</div>
</div>
</div>
</template>
<script>
export default {
name: 'FinanceConfig',
props: {},
data() {
//这里存放数据
return {
}
},
methods: {},
};
</script>
<style lang="scss" scoped>
@import "../../style/editdetailCon.scss";
</style>
<!-- 查看 - 上架商品及测算 -->
<template>
<div class="edit-page goods-info">
<div class="title">
<span>上架商品及测算</span>
</div>
<div style="padding: 20px;">
<div>啦啦啦</div>
</div>
</div>
</template>
<script>
export default {
name: 'GoodsInfo',
props: {},
data() {
//这里存放数据
return {
}
},
methods: {},
};
</script>
<style lang="scss" scoped>
@import "../../style/editdetailCon.scss";
</style>
<!-- 查看 - 流量方信息 -->
<template>
<div class="edit-page shop-merchant-info">
<div class="title">
<span>流量方信息</span>
</div>
<div style="padding: 20px;">
<div>啦啦啦</div>
</div>
</div>
</template>
<script>
export default {
name: 'ShopMerchantInfo',
props: {},
data() {
//这里存放数据
return {
}
},
methods: {},
};
</script>
<style lang="scss" scoped>
@import "../../style/editdetailCon.scss";
</style>
<!-- 编辑 - 基础信息 -->
<template> <template>
<div class="base-info"> <div class="edit-page base-info">
<div class="title"> <div class="title">
<span>基础信息</span> <span>基础信息</span>
</div> </div>
...@@ -22,18 +23,5 @@ export default { ...@@ -22,18 +23,5 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.base-info { @import "../../style/editdetailCon.scss";
margin: 0 0px 20px;
background: #ffffff;
.title {
height: 58px;
line-height: 58px;
padding: 0 20px;
border-bottom: 1px solid #e5e5e5;
font-size: 20px;
font-weight: 600;
color: #333333;
}
}
</style> </style>
<!-- 编辑 - 分账配置 -->
<template> <template>
<div class="division-config"> <div class="edit-page division-config">
<div class="title"> <div class="title">
<span>分账配置</span> <span>分账配置</span>
</div> </div>
...@@ -22,18 +23,5 @@ export default { ...@@ -22,18 +23,5 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.division-config { @import "../../style/editdetailCon.scss";
margin: 0 0px 20px;
background: #ffffff;
.title {
height: 58px;
line-height: 58px;
padding: 0 20px;
border-bottom: 1px solid #e5e5e5;
font-size: 20px;
font-weight: 600;
color: #333333;
}
}
</style> </style>
<!-- 编辑 - 对账配置 -->
<template> <template>
<div class="finance-config"> <div class="edit-page finance-config">
<div class="title"> <div class="title">
<span>对账配置</span> <span>对账配置</span>
</div> </div>
...@@ -22,18 +23,5 @@ export default { ...@@ -22,18 +23,5 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.finance-config { @import "../../style/editdetailCon.scss";
margin: 0 0px 20px;
background: #ffffff;
.title {
height: 58px;
line-height: 58px;
padding: 0 20px;
border-bottom: 1px solid #e5e5e5;
font-size: 20px;
font-weight: 600;
color: #333333;
}
}
</style> </style>
<!-- 编辑 - 上架商品及测算 -->
<template> <template>
<div class="goods-info"> <div class="edit-page goods-info">
<div class="title"> <div class="title">
<span>上架商品及测算</span> <span>上架商品及测算</span>
</div> </div>
...@@ -22,18 +23,5 @@ export default { ...@@ -22,18 +23,5 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.goods-info { @import "../../style/editdetailCon.scss";
margin: 0 0px 20px;
background: #ffffff;
.title {
height: 58px;
line-height: 58px;
padding: 0 20px;
border-bottom: 1px solid #e5e5e5;
font-size: 20px;
font-weight: 600;
color: #333333;
}
}
</style> </style>
<!-- 编辑 - 流量方信息 -->
<template> <template>
<div class="shop-merchant-info"> <div class="edit-page shop-merchant-info">
<div class="title"> <div class="title">
<span>流量方信息</span> <span>流量方信息</span>
</div> </div>
...@@ -22,18 +23,5 @@ export default { ...@@ -22,18 +23,5 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.shop-merchant-info { @import "../../style/editdetailCon.scss";
margin: 0 0px 20px;
background: #ffffff;
.title {
height: 58px;
line-height: 58px;
padding: 0 20px;
border-bottom: 1px solid #e5e5e5;
font-size: 20px;
font-weight: 600;
color: #333333;
}
}
</style> </style>
<!-- 编辑 - 运营确认 -->
<template>
<d2-container class="edit-contract" v-loading="isLoad">
<!-- 基础信息 -->
<base-info></base-info>
<!-- 流量方信息 -->
<shop-merchant-info></shop-merchant-info>
<!-- 上架商品及测算 -->
<goods-info></goods-info>
<!-- 分账配置 -->
<division-config></division-config>
<!-- 对账配置 -->
<finance-config></finance-config>
<div style="margin-top: 40px;text-align: center;">
<el-button type="primary" @click="handleBack()">
返回
</el-button>
</div>
</d2-container>
</template>
<script>
import { mapActions } from 'vuex'
import BaseInfo from './components/detailCon/BaseInfo.vue'
import ShopMerchantInfo from './components/detailCon/ShopMerchantInfo'
import GoodsInfo from './components/detailCon/GoodsInfo.vue'
import DivisionConfig from './components/detailCon/DivisionConfig.vue'
import FinanceConfig from './components/detailCon/FinanceConfig.vue'
export default {
name: 'contractDetail',
data() {
return {
isLoad: true,
editData: {},
};
},
components: {
BaseInfo,
ShopMerchantInfo,
GoodsInfo,
DivisionConfig,
FinanceConfig
},
mounted() {
this.getDetail()
},
//方法集合
methods: {
...mapActions({
close: 'd2admin/page/close'
}),
getDetail() {
this.isLoad = false
},
handleBack() {
this.close({ tagName: '/shelfManage' })
this.$router.push({ name: 'shelfManage' })
this.close({ tagName: '/contractDetail' })
}
},
};
</script>
<style lang="scss" scoped>
.cancel-btn {
width: 70px;
}
</style>
...@@ -88,7 +88,7 @@ export default { ...@@ -88,7 +88,7 @@ export default {
beforeSearchFn() { }, beforeSearchFn() { },
handleReset() { }, handleReset() { },
// 编辑合同 // 确认 - 编辑合同
handleEditContract(row) { handleEditContract(row) {
this.close({ tagName: '/editContract' }) this.close({ tagName: '/editContract' })
this.$router.push({ this.$router.push({
...@@ -98,8 +98,15 @@ export default { ...@@ -98,8 +98,15 @@ export default {
} }
}) })
}, },
// 查看合同 // 查看 - 查看合同
handleContractDetail() {} handleContractDetail(row) {
this.close({ tagName: '/contractDetail' })
this.$router.push({
name: 'contractDetail',
params: {
id: row.id
}
})}
} }
} }
</script> </script>
......
.edit-page {
margin: 0 0px 20px;
background: #ffffff;
.title {
height: 58px;
line-height: 58px;
padding: 0 20px;
border-bottom: 1px solid #e5e5e5;
font-size: 20px;
font-weight: 600;
color: #333333;
}
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!