营销
This commit is contained in:
@@ -216,8 +216,8 @@ export function SelectMarketingManager(code) {
|
|||||||
method: 'post',
|
method: 'post',
|
||||||
data: {
|
data: {
|
||||||
type: '1',
|
type: '1',
|
||||||
name: '客户关系管理系统_按地区查询_营销经理',
|
name: '客户关系管理系统_按姓名查询_营销经理',
|
||||||
param: '省份流水号=' + code
|
param: '姓名=' + code
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -60,8 +60,8 @@ export function SelectMarketingManager(code) {
|
|||||||
method: 'post',
|
method: 'post',
|
||||||
data: {
|
data: {
|
||||||
type: '1',
|
type: '1',
|
||||||
name: '客户关系管理系统_按地区查询_营销经理',
|
name: '客户关系管理系统_按姓名查询_营销经理',
|
||||||
param: '省份流水号=' + code
|
param: '姓名=' + code
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
:value="item.value"/>
|
:value="item.value"/>
|
||||||
</el-select>
|
</el-select>
|
||||||
<span style="margin-left: 10px">销售经理:</span>
|
<span style="margin-left: 10px">销售经理:</span>
|
||||||
<el-input v-model="MarketingManagerValue" readonly clearable size="small" style="width:200px" placeholder="请双击选择营销经理" @dblclick.native="dialogFormVisiblePeople = true" @clear="clear()"/>
|
<el-input v-model="MarketingManagerValue" readonly clearable size="small" style="width:200px" placeholder="请双击选择营销经理" @dblclick.native="openName" @clear="clear()"/>
|
||||||
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 10px" @click="PageSize = 10;PageCurrent = 1;tableData2=[];getTableData()">查询</el-button>
|
<el-button type="success" icon="el-icon-search" size="small" style="margin-left: 10px" @click="PageSize = 10;PageCurrent = 1;tableData2=[];getTableData()">查询</el-button>
|
||||||
<el-button type="primary" icon="el-icon-circle-plus-outline" size="small" style="margin-left: 10px" @click="ADD('form2')">新增</el-button>
|
<el-button type="primary" icon="el-icon-circle-plus-outline" size="small" style="margin-left: 10px" @click="ADD('form2')">新增</el-button>
|
||||||
<el-badge :value="value" :max="99" class="item">
|
<el-badge :value="value" :max="99" class="item">
|
||||||
@@ -381,14 +381,17 @@
|
|||||||
</el-dialog>
|
</el-dialog>
|
||||||
<!--营销经理选择-->
|
<!--营销经理选择-->
|
||||||
<el-dialog :visible.sync="dialogFormVisiblePeople" title="营销经理" center width="500px">
|
<el-dialog :visible.sync="dialogFormVisiblePeople" title="营销经理" center width="500px">
|
||||||
<span>责权省份:</span>
|
<span>姓名:</span>
|
||||||
<el-select v-model="ProvinceValue" clearable filterable placeholder="请选择省份" style="margin-right: 10px" size="small" @change="changeProvince">
|
<el-input v-model="name" clearable size="small" style="width: 200px"/>
|
||||||
<el-option
|
<el-button size="small" type="success" @click="searchName">查询</el-button>
|
||||||
v-for="item in Province"
|
<!--<span>责权省份:</span>-->
|
||||||
:key="item.value"
|
<!--<el-select v-model="ProvinceValue" clearable filterable placeholder="请选择省份" style="margin-right: 10px" size="small" @change="changeProvince">-->
|
||||||
:label="item.label"
|
<!--<el-option-->
|
||||||
:value="item.value"/>
|
<!--v-for="item in Province"-->
|
||||||
</el-select>
|
<!--:key="item.value"-->
|
||||||
|
<!--:label="item.label"-->
|
||||||
|
<!--:value="item.value"/>-->
|
||||||
|
<!--</el-select>-->
|
||||||
<div style="margin-top: 15px">
|
<div style="margin-top: 15px">
|
||||||
<el-table :data="dataPeople" border style="width: 100%; text-align: center;" highlight-current-row @row-click="handleChange">
|
<el-table :data="dataPeople" border style="width: 100%; text-align: center;" highlight-current-row @row-click="handleChange">
|
||||||
<el-table-column label="销售经理" align="center" >
|
<el-table-column label="销售经理" align="center" >
|
||||||
@@ -639,6 +642,16 @@ export default {
|
|||||||
this.init()
|
this.init()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
searchName() { // 模糊查询姓名
|
||||||
|
SelectMarketingManager(this.name).then(response => {
|
||||||
|
this.dataPeople = response.data
|
||||||
|
})
|
||||||
|
},
|
||||||
|
openName() {
|
||||||
|
this.name = ''
|
||||||
|
this.dataPeople = []
|
||||||
|
this.dialogFormVisiblePeople = true
|
||||||
|
},
|
||||||
init() {
|
init() {
|
||||||
this.getSelect(selectProvince, ['省份', '省份流水号'], 'Province')
|
this.getSelect(selectProvince, ['省份', '省份流水号'], 'Province')
|
||||||
this.getSelect(searchProjectNumber, ['项目名称', '项目流水号'], 'entryName')
|
this.getSelect(searchProjectNumber, ['项目名称', '项目流水号'], 'entryName')
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
:value="item.value"/>
|
:value="item.value"/>
|
||||||
</el-select>
|
</el-select>
|
||||||
<span style="margin-left: 10px">销售经理:</span>
|
<span style="margin-left: 10px">销售经理:</span>
|
||||||
<el-input v-model="MarketingManagerValue" readonly clearable size="small" style="width:200px" placeholder="请双击选择营销经理" @dblclick.native="dialogFormVisiblePeople = true" @clear="clearPeople()"/>
|
<el-input v-model="MarketingManagerValue" readonly clearable size="small" style="width:200px" placeholder="请双击选择营销经理" @dblclick.native="openName" @clear="clearPeople()"/>
|
||||||
<span style="margin-left: 10px">开始日期:</span>
|
<span style="margin-left: 10px">开始日期:</span>
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
v-model="startTime"
|
v-model="startTime"
|
||||||
@@ -188,15 +188,18 @@
|
|||||||
</el-card>
|
</el-card>
|
||||||
|
|
||||||
<!--营销经理选择-->
|
<!--营销经理选择-->
|
||||||
<el-dialog :visible.sync="dialogFormVisiblePeople" title="营销经理" center width="30%">
|
<el-dialog :visible.sync="dialogFormVisiblePeople" title="营销经理" center width="500px">
|
||||||
<span>责权省份</span>
|
<span>姓名:</span>
|
||||||
<el-select v-model="ProvinceValue" clearable filterable placeholder="请选择省份" style="margin-right: 10px" size="small" @change="changeProvince">
|
<el-input v-model="name" clearable size="small" style="width: 200px"/>
|
||||||
<el-option
|
<el-button size="small" type="success" @click="searchName">查询</el-button>
|
||||||
v-for="item in Province"
|
<!--<span>责权省份:</span>-->
|
||||||
:key="item.value"
|
<!--<el-select v-model="ProvinceValue" clearable filterable placeholder="请选择省份" style="margin-right: 10px" size="small" @change="changeProvince">-->
|
||||||
:label="item.label"
|
<!--<el-option-->
|
||||||
:value="item.value"/>
|
<!--v-for="item in Province"-->
|
||||||
</el-select>
|
<!--:key="item.value"-->
|
||||||
|
<!--:label="item.label"-->
|
||||||
|
<!--:value="item.value"/>-->
|
||||||
|
<!--</el-select>-->
|
||||||
<div style="margin-top: 15px">
|
<div style="margin-top: 15px">
|
||||||
<el-table :data="dataPeople" border style="width: 100%; text-align: center;" highlight-current-row @row-click="handleChange">
|
<el-table :data="dataPeople" border style="width: 100%; text-align: center;" highlight-current-row @row-click="handleChange">
|
||||||
<el-table-column label="销售经理" align="center" >
|
<el-table-column label="销售经理" align="center" >
|
||||||
@@ -334,6 +337,7 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
name: '',
|
||||||
projectid: '', // 项目流水号
|
projectid: '', // 项目流水号
|
||||||
entryName: [], // 项目名称数组
|
entryName: [], // 项目名称数组
|
||||||
entryNameValue_check: '', // 项目名称check
|
entryNameValue_check: '', // 项目名称check
|
||||||
@@ -394,6 +398,16 @@ export default {
|
|||||||
this.fetchTableData1()
|
this.fetchTableData1()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
searchName() { // 模糊查询姓名
|
||||||
|
SelectMarketingManager(this.name).then(response => {
|
||||||
|
this.dataPeople = response.data
|
||||||
|
})
|
||||||
|
},
|
||||||
|
openName() {
|
||||||
|
this.name = ''
|
||||||
|
this.dataPeople = []
|
||||||
|
this.dialogFormVisiblePeople = true
|
||||||
|
},
|
||||||
// 初始化条件
|
// 初始化条件
|
||||||
init() {
|
init() {
|
||||||
this.getSelect(initProject, ['项目名称', '项目流水号'], 'entryName')
|
this.getSelect(initProject, ['项目名称', '项目流水号'], 'entryName')
|
||||||
|
|||||||
Reference in New Issue
Block a user