diff --git a/config/index.js b/config/index.js
index 2d9a62d1..47c7e8d1 100644
--- a/config/index.js
+++ b/config/index.js
@@ -8,7 +8,6 @@ const os = require('os')
const networkInterfaces = os.networkInterfaces()
const ip = networkInterfaces['WLAN'][1] ? networkInterfaces['WLAN'][1].address : networkInterfaces['WLAN'][0].address
-
module.exports = {
dev: {
// Paths
diff --git a/src/views/MarketingCenter/CRM/index.vue b/src/views/MarketingCenter/CRM/index.vue
index b6ddc1b5..46a4245f 100644
--- a/src/views/MarketingCenter/CRM/index.vue
+++ b/src/views/MarketingCenter/CRM/index.vue
@@ -23,6 +23,51 @@
查询
+
+ 添加销售经理
+ 销售经理
+
+
+
+
+
+
+
+
+ {{ scope.row.姓名 }}
+
+
+
+
+ {{ scope.row.性别 }}
+
+
+
+
+ {{ scope.row.联系电话 }}
+
+
+
+
+ {{ scope.row.出生日期 }}
+
+
+
+
+ 编辑
+ 删除
+
+
+
+
@@ -49,55 +94,10 @@
-
- 添加销售经理
- 销售经理
-
-
-
- {{ scope.row.省份 }}
-
-
-
-
- {{ scope.row.姓名 }}
-
-
-
-
- {{ scope.row.性别 }}
-
-
-
-
- {{ scope.row.联系电话 }}
-
-
-
-
- {{ scope.row.出生日期 }}
-
-
-
-
- 编辑
- 删除
-
-
-
-
新增客户
客户信息
-
+
{{ scope.row.省份 }}
@@ -403,13 +403,20 @@ export default {
this.dataPeople = tree(data, 0)
})
this.getSelect(initCustomer, ['客户名称', '客户流水号'], 'CustomerName')
+ selectMarketingManager(1).then(response => {
+ this.loading3 = false
+ for (let i = 0; i < response.data.length; i++) {
+ response.data[i].出生日期 = (response.data[i].出生日期).split(' ')[0]
+ }
+ this.tableData3 = response.data
+ })
},
getCurrentRow(row) {
this.CustomerNameValue = ''
this.AdressID = row
this.getTable(selectCustomer, [this.AdressID, this.pageCurrent, this.pageSize], ['tableData2', 'total', 'loading2'])
this.loading3 = true
- selectMarketingManager(this.AdressID).then(response => {
+ selectMarketingManager(1).then(response => {
this.loading3 = false
for (let i = 0; i < response.data.length; i++) {
response.data[i].出生日期 = (response.data[i].出生日期).split(' ')[0]
@@ -450,7 +457,7 @@ export default {
return this.AdressID
}).then(data => {
this.loading3 = false
- selectMarketingManager(data).then(response => {
+ selectMarketingManager(1).then(response => {
this.loading3 = false
for (let i = 0; i < response.data.length; i++) {
response.data[i].出生日期 = (response.data[i].出生日期).split(' ')[0]
@@ -482,7 +489,7 @@ export default {
},
handleDeleteMarketingManager(index, row) {
function a() {
- selectMarketingManager(this.AdressID).then(response => {
+ selectMarketingManager(1).then(response => {
this.loading3 = false
for (let i = 0; i < response.data.length; i++) {
response.data[i].出生日期 = (response.data[i].出生日期).split(' ')[0]
@@ -493,13 +500,9 @@ export default {
this.deleteRow(deleteMarketingManager, row.营销经理地区流水号, a)
},
addMarketingManager() {
- if (this.AdressID === '' || this.AdressID === null) {
- this.$message.warning('请选择一个省份')
- } else {
this.dialogFormVisible1 = true
this.title1 = '增加'
this.addForm('form1')
- }
},
callOff1() {
this.dialogFormVisible1 = false
@@ -508,7 +511,7 @@ export default {
function a() {
this.dialogFormVisible1 = false
this.loading3 = true
- selectMarketingManager(this.AdressID).then(response => {
+ selectMarketingManager(1).then(response => {
this.loading3 = false
for (let i = 0; i < response.data.length; i++) {
response.data[i].出生日期 = (response.data[i].出生日期).split(' ')[0]
@@ -517,7 +520,7 @@ export default {
})
}
if (this.flag === 1) {
- this.addTable(addMarketingManager, [this.peopleid, this.AdressID], 'form1', a)
+ this.addTable(addMarketingManager, [this.peopleid, 1], 'form1', a)
} else {
this.editTable(editMarketingManager, [this.peopleid, this.a], 'form1', a)
}