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

update

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