diff --git a/.env.cldevelopment b/.env.cldevelopment index 476142a..2a32da8 100644 --- a/.env.cldevelopment +++ b/.env.cldevelopment @@ -1 +1 @@ -VUE_APP_BASE_API = 'http://192.168.31.160:9999' \ No newline at end of file +VUE_APP_BASE_API = 'http://192.168.31.161:9999' \ No newline at end of file diff --git a/.env.shdevelopment b/.env.shdevelopment index 43dd154..0448db4 100644 --- a/.env.shdevelopment +++ b/.env.shdevelopment @@ -1 +1 @@ -VUE_APP_BASE_API = 'http://192.168.31.85:9999' \ No newline at end of file +VUE_APP_BASE_API = 'http://192.168.31.86:9999' \ No newline at end of file diff --git a/package.json b/package.json index d932670..cef0a3c 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "scripts": { "pre": "cnpm install || yarn --registry https://registry.npm.taobao.org || npm install --registry https://registry.npm.taobao.org ", "dev": "vue-cli-service serve", + "serve": "vue-cli-service serve --mode production", "cl": "vue-cli-service serve --mode cldevelopment", "sh": "vue-cli-service serve --mode shdevelopment", "local": "vue-cli-service serve --mode localdevelopment", diff --git a/src/api/modules/api.js b/src/api/modules/api.js index f2ddc99..a3d81af 100644 --- a/src/api/modules/api.js +++ b/src/api/modules/api.js @@ -302,6 +302,7 @@ export function houseListWhenAddUser(query) { params:query }) } +// 获取项目列表 export function findHouseByUser(query) { return request({ url: '/autoSR/zkhouse/findHouseByUser', diff --git a/src/api/modules/http.js b/src/api/modules/http.js index 89c4a7a..b481463 100644 --- a/src/api/modules/http.js +++ b/src/api/modules/http.js @@ -951,3 +951,135 @@ export function findByRepetitionName(params) { }) } + + +// 无效接待审核列表 +export function InvalidReceptionGetList(params) { + return request({ + url: 'autoSR/audit/reception/getPageList', + method: 'get', + params + }) +} + +// 无效接待原因列表 +export function InvalidReceptionReasonList(params) { + return request({ + url: 'autoSR/audit/reception/invalidList', + method: 'get', + params + }) +} + + +// 添加无效接待原因 +export function InvalidReceptionAddInvalid(params) { + return request({ + url: 'autoSR/audit/reception/addInvalid', + method: 'get', + params + }) +} + +// 删除无效接待原因 +export function InvalidReceptionDelete(params) { + return request({ + url: 'autoSR/audit/reception/delete', + method: 'get', + params + }) +} + +// 删除无效接待原因 +export function InvalidReceptionUpdateSort(params) { + return request({ + url: 'autoSR/audit/reception/updateSort', + method: 'get', + params + }) +} + +// 编辑无效接待原因 +export function InvalidReceptionUpdateInvalid(params) { + return request({ + url: 'autoSR/audit/reception/updateInvalid', + method: 'get', + params + }) +} + + +// 获取当前角色绑定的项目 +export function InvalidFindHouseListByAccount(params) { + return request({ + url: 'autoSR/zkhouse/findHouseListByAccount', + method: 'get', + params + }) +} + + +// 获取无效审核列表的接待详情 +export function InvalidFindReceptionLog(params) { + return request({ + url: 'autoSR/audit/reception/findReceptionLog', + method: 'get', + params + }) +} + +// 获取无效审核列表的录音详情 +export function InvalidFindBycusId(params) { + return request({ + url: 'autoSR/zk/file/findBycusId', + method: 'get', + params + }) +} + + +// 删除接待记录 +export function deleteCS(params) { + return request({ + url: 'autoSR/customer/deleteCS', + method: 'get', + params + }) +} + +// 无效审核状态更改 +export function updateReception(data) { + return request({ + url: 'autoSR/audit/reception/updateReception', + method: 'post', + data + }) +} + +// 部门 +export function getAllDeptName(params) { + return request({ + url: 'autoSR/api/zkAgentPool/getAllDeptName', + method: 'get', + params + }) +} + + +// 顾问 +export function getAllAccountName(params) { + return request({ + url: 'autoSR/api/zkAgentPool/getAllAccountName', + method: 'get', + params + }) +} + +// 顾问 +export function invalidReceptionRank(data) { + return request({ + url: 'autoSR/audit/reception/invalidReceptionRank', + method: 'post', + data: data + }) +} \ No newline at end of file diff --git a/src/router/axios.js b/src/router/axios.js index 47ff382..eb2cfe7 100644 --- a/src/router/axios.js +++ b/src/router/axios.js @@ -63,7 +63,7 @@ axios.interceptors.response.use(res => { NProgress.done() const status = Number(res.status) || 200 const message = res.data.msg || errorCode[status] || errorCode['default'] - if (status === 401 || status === 500) { + if ((status === 401 || status === 500) && process.env.NODE_ENV === 'production') { idx++ if(idx==1){ Message({ diff --git a/src/views/Customer/invalidAuditList.vue b/src/views/Customer/invalidAuditList.vue new file mode 100644 index 0000000..30f7894 --- /dev/null +++ b/src/views/Customer/invalidAuditList.vue @@ -0,0 +1,1797 @@ + + + + + \ No newline at end of file diff --git a/src/views/Customer/label.vue b/src/views/Customer/label.vue index 30cf10c..2f52fc8 100644 --- a/src/views/Customer/label.vue +++ b/src/views/Customer/label.vue @@ -57,37 +57,37 @@ - + 添加二级 - 编辑 + 编辑 - + 添加三级 - 编辑 + 编辑 编辑模型 - 删除 + 删除 - 编辑 + 编辑 - 编辑模型 + 编辑模型 - 删除 + 删除 @@ -237,6 +237,15 @@ 例如:意向面积:120平,场景:我想要一个120平的; +
+
是否必选:
+
+ + + + +
+