From b843c4e69e2c408487e353b31115d99c2627565b Mon Sep 17 00:00:00 2001 From: corala <18339694416@163.com> Date: Tue, 3 Jan 2023 14:22:17 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=AC=E5=86=99=E6=96=B9=E5=BC=8F=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/building/index.vue | 48 ++++++++++++++++++++++++++++++++---- 1 file changed, 43 insertions(+), 5 deletions(-) diff --git a/src/views/building/index.vue b/src/views/building/index.vue index 284745e..02afacf 100644 --- a/src/views/building/index.vue +++ b/src/views/building/index.vue @@ -441,6 +441,14 @@ :disabled="passFlag" > + + + + + + + +
取 消 - 保存
@@ -877,6 +882,8 @@ export default { offLine: ["08:00", "20:00"], // 离线推送时间段 caseShow: '0', // 优秀案例 tagMatching: '0', // 客户标签匹配 + transliterationMethod: '',//转写方式 + language:'',//语言 }, ruleForm1: {}, optionsagentId: [], @@ -885,6 +892,9 @@ export default { propertyName: [ { required: true, message: "请填写项目名称", trigger: "change" }, ], + transliterationMethod: [ + { required: true, message: "请选择转写方式", trigger: "change" }, + ], managerPassword: [ { required: true, message: "请填写密码", trigger: "blur" }, { @@ -930,6 +940,8 @@ export default { agentForm: { agentId: "", }, + projectlist:[],//转写方式 + languageList:[]//语言 }; }, computed: { @@ -952,10 +964,11 @@ export default { this.cus_build_index_change = this.permissions["cus_build_index_change"]; this.cus_build_index_sys = this.permissions["cus_build_index_sys"]; this.cus_build_index_agent = this.permissions["cus_build_index_agent"]; - this.cus_build_index_bindAgent = - this.permissions["cus_build_index_bindAgent"]; + this.cus_build_index_bindAgent = this.permissions["cus_build_index_bindAgent"]; this.cus_build_index_del = this.permissions["cus_build_index_del"]; this.cus_build_index_open = this.permissions["cus_build_index_open"]; + // 获取转写方式数据 + this.findTransferMethod() }, mounted() { if (this.$route.query.serviceStatus) { @@ -994,8 +1007,33 @@ export default { this.zkhousePage(); // 获取项目列表 this.zkhousePages(); + }, methods: { + changeFun(value){ + // console.log(value) + this.ruleForm.language = '' + this.projectlist.forEach(item=>{ + if(item.code==value){ + this.languageList = item.list + } + }) + }, + // 转写方式 + findTransferMethod(){ + axios({ + url: `autoSR/zkhouse/findTransferMethod`, + method: "get", + data: { + }, + }).then((res) => { + console.log(res) + if(res.code==0){ + this.projectlist = res.data||[] + this.languageList = res.data&&res.data[0].list||[] + } + }); + }, // 获取当前页面的显隐 setTableOption() { this.$db.getDataByKey(this.tableIdName).then((res) => {