diff --git a/src/config/index.js b/src/config/index.js index 378556b9..52cfedd8 100644 --- a/src/config/index.js +++ b/src/config/index.js @@ -12,7 +12,7 @@ const DEFAULT_CONFIG = { CORE_VER: "1.6.3", //接口地址 - API_URL: process.env.NODE_ENV === 'development' && process.env.VUE_APP_PROXY === 'true' ? "/api" : process.env.VUE_APP_API_BASEURL, + API_URL: process.env.NODE_ENV === 'development' && process.env.VUE_APP_PROXY === 'false' ? "/api" : process.env.VUE_APP_API_BASEURL, //请求超时 TIMEOUT: 10000, diff --git a/src/views/am/audio.vue b/src/views/am/audio.vue index 390e2b14..da70713d 100644 --- a/src/views/am/audio.vue +++ b/src/views/am/audio.vue @@ -142,7 +142,7 @@ export default { }, async syncData() { this.syncLoading = true; - var res = await this.$API.third.tdevice.vchannelSync.req({}); + var res = await this.$API.third.tdevice.speakerSync.req({}); this.syncLoading = false; }, }, diff --git a/src/views/rpm/rpj.vue b/src/views/rpm/rpj.vue index 0b84258a..8f6e7e3d 100644 --- a/src/views/rpm/rpj.vue +++ b/src/views/rpm/rpj.vue @@ -178,6 +178,7 @@ 30: "待入厂", 40: "进行中", 50: "已完成", + 60: "已关闭" }, act_states: { 0: "草稿中", diff --git a/src/views/vm/visit.vue b/src/views/vm/visit.vue index c7aafa58..78ad15b5 100644 --- a/src/views/vm/visit.vue +++ b/src/views/vm/visit.vue @@ -197,6 +197,7 @@ 30: "待入厂", 40: "进行中", 50: "已完成", + 60: "已关闭" }, act_states: { 0: "草稿中",//p