diff --git a/src/views/Template/wrongword.vue b/src/views/Template/wrongword.vue
index 94d25cb..f8cba41 100644
--- a/src/views/Template/wrongword.vue
+++ b/src/views/Template/wrongword.vue
@@ -297,7 +297,11 @@ export default {
this.$message.error("错误词不能与正确词相同");
return;
}
- this.$api.api.correctUpdate(this.ruleForm).then((res) => {
+ console.log(this.searchForm.houseId)
+ this.$api.api.correctUpdate({
+ ...this.ruleForm,
+ houseId: this.searchForm.houseId
+ }).then((res) => {
console.log(res);
if (res.code == 0) {
setTimeout(() => {
diff --git a/src/views/building/index.vue b/src/views/building/index.vue
index 284745e..069415f 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) => {
@@ -1237,7 +1275,7 @@ export default {
this.$api.api
.editZkhouse(this.ruleForm)
.then((res) => {
- console.log(res);
+ // console.log(res);
if (res.code == 0) {
this.dialogVisible = false;
setTimeout(() => {