Browse Source

init

newStyle
lancer 2 years ago
parent
commit
d91c1058d1
3 changed files with 27 additions and 4 deletions
  1. +1
    -1
      src/api/modules/api.js
  2. +24
    -1
      src/views/Customer/index.vue
  3. +2
    -2
      vue.config.js

+ 1
- 1
src/api/modules/api.js View File

@@ -1169,7 +1169,7 @@ export function setSourceupDateSort(data) {
// 客户管理违禁词
export function sensitivewordsList(data) {
return request({
url: '/autoSR/sensitivewords/list ',
url: '/autoSR/sensitivewords/list',
method: 'get',
params: data
})


+ 24
- 1
src/views/Customer/index.vue View File

@@ -228,6 +228,24 @@
>
</el-option>
</el-select>
</div>
<div class="div-labox">
<div class="labeltext">违禁标签:</div>
<el-select
v-model="searchForm.sensitiveWords"
clearable
filterable
placeholder="请选择"
class="div-inpbox"
>
<el-option
v-for="item in sensitiveList"
:key="item.id"
:label="item.words"
:value="item.words"
>
</el-option>
</el-select>
</div>
</div>
<div class="app-topbox">
@@ -497,6 +515,7 @@ export default {
timeType: "0",
clientStage: "",
orderBy:'',
sensitiveWords:'',
},
clientStagelist: [],
sensitiveList:[],//违禁词
@@ -577,6 +596,7 @@ export default {
searchForm: "",
timeType: "0",
orderBy:'',
sensitiveWords:'',
projectId:
this.orgType == 3
? localStorage.getItem("houseId")
@@ -585,13 +605,15 @@ export default {
this.findbypage();
},
houseChange() {
this.searchForm.sensitiveWords=''
this.searchForm.keywordsId=[]
this.findbypage();
this.findKeywords();
// 获取置业顾问列表
this.findUserListByHouseId();
this.getclientStage();
// 获取违禁词
// this.sensitivewordsList()
this.sensitivewordsList()
},
// 违禁词
sensitivewordsList(){
@@ -599,6 +621,7 @@ export default {
houseId: this.searchForm.projectId,
};
this.$api.api.sensitivewordsList(obj).then((res) => {
console.log(res,'suhju')
this.sensitiveList = res.data;
});
},


+ 2
- 2
vue.config.js View File

@@ -4,10 +4,10 @@
*/
// const url = 'http://pigx-gateway'
// const url = 'http://39.97.167.65:9999' //测试
// const url = 'http://192.168.31.167:9999' //长龙
const url = 'http://192.168.31.167:9999' //长龙
// const url = 'http://192.168.31.134:9999' //嘉豪
// const url = 'http://192.168.31.100:9999' //王笑
const url = 'http://62.234.122.43:9999' //正式
// const url = 'http://62.234.122.43:9999' //正式

const CompressionWebpackPlugin = require('compression-webpack-plugin')
const productionGzipExtensions = ['js', 'css']


Loading…
Cancel
Save