Commit 0a33b2e9 authored by 黄媛媛's avatar 黄媛媛

update

parent 15022a62
...@@ -69,9 +69,9 @@ ...@@ -69,9 +69,9 @@
<p>{{detailsData.CustomerName}}</p> <p>{{detailsData.CustomerName}}</p>
</div> </div>
<div class="right"> <div class="right">
<el-button class="crm-btn query-btn" @click="editCust" v-if="detailsData.IsRead === 0">编辑</el-button> <el-button class="crm-btn query-btn" @click="editCust" v-if="detailsData.IsRead === 0 && transferState">编辑</el-button>
<!-- <el-button class="crm-btn easy-btn iconfont iconwancheng" v-if="detailsData.IsRead === 0">更改成交状态</el-button> --> <!-- <el-button class="crm-btn easy-btn iconfont iconwancheng" v-if="detailsData.IsRead === 0">更改成交状态</el-button> -->
<el-dropdown @command="handleCommand" style="top: 1px;" v-if="detailsData.IsRead === 0"> <el-dropdown @command="handleCommand" style="top: 1px;" v-if="detailsData.IsRead === 0 && transferState">
<el-button class="crm-btn crm-btn-more easy-btn margin-right0"> <el-button class="crm-btn crm-btn-more easy-btn margin-right0">
<i class="iconfont icongengduo"></i> <i class="iconfont icongengduo"></i>
</el-button> </el-button>
...@@ -169,6 +169,10 @@ export default { ...@@ -169,6 +169,10 @@ export default {
CustomerId: { CustomerId: {
type: Number, type: Number,
default: 0 default: 0
},
transferState: {
type: Boolean,
default: true
} }
}, },
data() { data() {
...@@ -193,6 +197,7 @@ export default { ...@@ -193,6 +197,7 @@ export default {
this.MsgBus.$on('RefreshInfoBox', function () { this.MsgBus.$on('RefreshInfoBox', function () {
$this.init() $this.init()
}) })
console.log("transferState",this.transferState)
}, },
methods: { methods: {
init(){ init(){
......
...@@ -173,7 +173,8 @@ export default { ...@@ -173,7 +173,8 @@ export default {
this.MsgBus.$emit('closeaddContacts') this.MsgBus.$emit('closeaddContacts')
}, },
addData(){ addData(){
this.form.CustomerId = this.ID // this.form.CustomerId = this.ID
this.form.InfoID = this.ID
this.apipost('/api/Customer/CreateMyCustomerContact', this.form, res=>{ this.apipost('/api/Customer/CreateMyCustomerContact', this.form, res=>{
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.$message.success('操作成功') this.$message.success('操作成功')
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<el-button slot="append" icon="el-icon-search" @click="getList"></el-button> <el-button slot="append" icon="el-icon-search" @click="getList"></el-button>
</el-input> </el-input>
</div> --> </div> -->
<el-select v-model="msg.Type" placeholder="请选择"> <el-select v-model="msg.Type" placeholder="请选择" @change="changeType">
<el-option <el-option
v-for="item in options" v-for="item in options"
:key="item.value" :key="item.value"
...@@ -501,7 +501,7 @@ export default { ...@@ -501,7 +501,7 @@ export default {
this.MsgBus.$off('editScene'); this.MsgBus.$off('editScene');
}, },
methods: { methods: {
changeWhere(item){ changeType(item){
this.msg.Type=item this.msg.Type=item
this.addSendMsg.GraduationType=item; this.addSendMsg.GraduationType=item;
this.msg.pageIndex=1 this.msg.pageIndex=1
......
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
<span>同行营销事件</span> <span>同行营销事件</span>
</div> </div>
<div class="events"> <div class="events">
<div class="event"> <div class="event" @click="goBirth('newlineEvent')">
<img src="../../assets/img/event/newline.png" /> <img src="../../assets/img/event/newline.png" />
<div class="content"> <div class="content">
<div class="ti">新线路推广</div> <div class="ti">新线路推广</div>
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="event"> <div class="event" @click="goBirth('newseriesEvent')">
<img src="../../assets/img/event/newteam.png" /> <img src="../../assets/img/event/newteam.png" />
<div class="content"> <div class="content">
<div class="ti">新系列推广</div> <div class="ti">新系列推广</div>
......
This diff is collapsed.
This diff is collapsed.
...@@ -234,6 +234,24 @@ export default new Router({ ...@@ -234,6 +234,24 @@ export default new Router({
title: "下次出行事件" title: "下次出行事件"
} }
}, },
{
path: "/newlineEvent",
name: "newlineEvent",
component: ()=>import('./components/sellevent/newline.vue'),
meta: {
title: "新线路推广事件"
}
},
{
path: "/newseriesEvent",
name: "newseriesEvent",
component: ()=>import('./components/sellevent/newseries.vue'),
meta: {
title: "新系列推广事件"
}
},
{ {
path: "/gaoxiao", path: "/gaoxiao",
name: "gaoxiao", name: "gaoxiao",
......
...@@ -441,6 +441,7 @@ export default { ...@@ -441,6 +441,7 @@ export default {
this.dialogClue = true this.dialogClue = true
}, },
editCust(){ editCust(){
console.log("1111");
this.dialogTableVisibleName = '修改客户' this.dialogTableVisibleName = '修改客户'
this.dialogCustomerVisible = true this.dialogCustomerVisible = true
}, },
......
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 to comment