diff --git a/src/views/Receive/index.vue b/src/views/Receive/index.vue index daa2aa0..a0e4527 100644 --- a/src/views/Receive/index.vue +++ b/src/views/Receive/index.vue @@ -318,10 +318,6 @@

销讲词

-
- -

销讲词销讲词销讲词

-

销讲词销讲词

@@ -2446,7 +2442,6 @@ export default { responseType: "blob", }) .then((res) => { - console.log(res, "adasdjslakd"); let blob = new Blob([res], { type: "audio/*" }); saveAs(blob, "audio.mp3"); @@ -2484,14 +2479,14 @@ export default { padding: 9px 10px !important; } .rateboxcenttit { - width: 100%; - height: 44px; - background: #F8F8F8; - display: flex; - align-items: center; - color: #333333; - font-size: 16px; - &>div { + width: 100%; + height: 44px; + background: #F8F8F8; + display: flex; + align-items: center; + color: #333333; + font-size: 16px; + &>div { flex:1; white-space: nowrap; overflow: hidden; @@ -2500,75 +2495,74 @@ export default { } } .ratebutton { - width: 68px; - height: 26px; - background: #2671E2; - border-radius: 4px; - font-size: 14px; - font-weight: 400; - color: #FFFFFF; - text-align: center; - line-height: 26px; - margin:0 auto; + width: 68px; + height: 26px; + background: #2671E2; + border-radius: 4px; + font-size: 14px; + font-weight: 400; + color: #FFFFFF; + text-align: center; + line-height: 26px; + margin:0 auto; } .ratebutton1 { - width: 68px; - height: 26px; - background: #F2F2F2; - border-radius: 4px; - font-size: 14px; - font-weight: 400; - color: #999999; - text-align: center; - line-height: 26px; - margin:0 auto; + width: 68px; + height: 26px; + background: #F2F2F2; + border-radius: 4px; + font-size: 14px; + font-weight: 400; + color: #999999; + text-align: center; + line-height: 26px; + margin:0 auto; } /*话术*/ .huashu-title{ - background: #fff; - font-size: 16px; - line-height: 20px; - padding: 10px 20px; + background: #fff; + font-size: 16px; + line-height: 20px; + padding: 10px 20px; } .huashu{ - width: 400px; - padding: 0 20px 30px; - display: flex; - align-items: center; - flex-wrap: wrap; - background: #fff; - .huashu-item{ - margin-right: 20px; - height: 30px; - line-height: 30px; - display: flex; - align-items: center; - .text{ - font-size: 14px; - color: #666; - margin-left: 5px; - - } - } + width: 400px; + padding: 0 20px 30px; + display: flex; + align-items: center; + flex-wrap: wrap; + background: #fff; + .huashu-item{ + margin-right: 20px; + height: 30px; + line-height: 30px; + display: flex; + align-items: center; + .text{ + font-size: 14px; + color: #666; + margin-left: 5px; + } + } } .rateboxcent { - width: 100%; - height: 50px; - border-bottom: 1px solid #F8F8F8; - display: flex; - align-items: center; - color: #666666; - font-size: 14px; - &>div{ - flex:1; - text-align: center; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - } + width: 100%; + height: 50px; + border-bottom: 1px solid #F8F8F8; + display: flex; + align-items: center; + color: #666666; + font-size: 14px; + &>div{ + flex:1; + text-align: center; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + } } .mydesc{ @@ -2609,7 +2603,6 @@ export default { line-height: 18px; word-break: break-all; margin: 0; - max-width: 100px; } } } diff --git a/src/views/Template/wrongword.vue b/src/views/Template/wrongword.vue index 94d25cb..7af905e 100644 --- a/src/views/Template/wrongword.vue +++ b/src/views/Template/wrongword.vue @@ -286,8 +286,6 @@ export default { if (valid) { // 编辑 if (this.editFlag) { - console.log("编辑"); - if (this.mistakenList.indexOf(this.ruleForm.correctWord) != -1) { this.$message.error("正确词不能与错误词相同"); return; @@ -297,12 +295,13 @@ export default { this.$message.error("错误词不能与正确词相同"); return; } - this.$api.api.correctUpdate(this.ruleForm).then((res) => { - console.log(res); + this.$api.api.correctUpdate({ + ...this.ruleForm, + houseId: this.searchForm.houseId + }).then((res) => { if (res.code == 0) { setTimeout(() => { this.loadingFlag = false; - console.log("防重"); }, 1); this.dialogVisible = false; this.$message.success("编辑成功"); @@ -321,11 +320,10 @@ export default { ...this.ruleForm, }) .then((res) => { - console.log(res); + // console.log(res); if (res.code == 0) { setTimeout(() => { this.loadingFlag = false; - console.log("防重"); }, 1); this.dialogVisible = false; this.$message.success("新增常错词成功"); diff --git a/vue.config.js b/vue.config.js index f5aa733..49b7ff2 100644 --- a/vue.config.js +++ b/vue.config.js @@ -2,12 +2,11 @@ * 配置参考: * https://cli.vuejs.org/zh/config/ */ -// const url = 'http://192.168.31.161:9999' //长龙 +// const url = 'http://192.168.31.160:9999' //长龙 // const url = 'http://192.168.31.149:9999' // 胜浩 // const url = 'http://127.0.0.1:9999' // 本地 -const url = 'http://39.97.244.65:9999' // 新测试服务器 -// const url = 'http://81.70.55.170:9999' // 旧测试服务器 +const url = 'http://39.97.244.65:9999' // 测试服务器 // const url = 'http://62.234.122.43:9999' //正式服务器1 // const url = 'http://82.156.35.22:9999' // 正式服务器2