ソースを参照

提交修改

newStyle
douzhuo 1年前
コミット
41d9baded4
3個のファイルの変更11行の追加8行の削除
  1. +1
    -1
      src/api/modules/api.js
  2. +6
    -4
      src/views/ReceivingRecords/index.vue
  3. +4
    -3
      src/views/building/index.vue

+ 1
- 1
src/api/modules/api.js ファイルの表示

@@ -460,7 +460,7 @@ export function invalidList(query) {
// 转写方式数据获取 // 转写方式数据获取
export function findTransferMethod(query) { export function findTransferMethod(query) {
return request({ return request({
url: '/autoSR/properties/findTransferMethod',
url: '/autoSR/zkhouse/findTransferMethod',
method:'get', method:'get',
params:query params:query
}) })


+ 6
- 4
src/views/ReceivingRecords/index.vue ファイルの表示

@@ -732,9 +732,10 @@ export default {
// 转写方式数据获取 // 转写方式数据获取
findTransferMethod() { findTransferMethod() {
this.$api.api.findTransferMethod().then((res) => { this.$api.api.findTransferMethod().then((res) => {
if (res.data && res.data.obj) {
this.projectList = res.data.data || [];
this.languageList = (res.data.data && res.data.data[0].list) || [];
console.log(res,' sajdklasjdklasjdklsajkdls')
if (res.data) {
this.projectList = res.data || [];
this.languageList = (res.data && res.data[0].list) || [];
} }
}); });
}, },
@@ -943,7 +944,8 @@ export default {
this.searchForm.projectId = res.data[0].id; this.searchForm.projectId = res.data[0].id;
} }
this.houseChange(); this.houseChange();

// 获取转写方式
this.findTransferMethod()
// 获取销讲业务 // 获取销讲业务
this.getMarketingBusiness(); this.getMarketingBusiness();
}); });


+ 4
- 3
src/views/building/index.vue ファイルの表示

@@ -367,8 +367,8 @@
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>


<el-form-item label="短录音转写" prop="tagMatching">
<el-radio-group v-model="ruleForm.tagMatching">
<el-form-item label="短录音转写" prop="shortRecordingSetting">
<el-radio-group v-model="ruleForm.shortRecordingSetting">
<el-radio :label="0">转写</el-radio> <el-radio :label="0">转写</el-radio>
<el-radio :label="1">不转写</el-radio> <el-radio :label="1">不转写</el-radio>
</el-radio-group> </el-radio-group>
@@ -791,7 +791,6 @@ export default {
agentName: "", agentName: "",
operationalPeople: "", operationalPeople: "",
operationStaffId: "", operationStaffId: "",
shortRecordingSetting: 0, // 短录音是否转写 是否转写短录音 0 转写(默认) 1 不转写
}, },
areaList: [], areaList: [],
operaList: [], operaList: [],
@@ -892,6 +891,7 @@ export default {
tagMatching: 0, // 客户标签匹配 tagMatching: 0, // 客户标签匹配
transliterationMethod: '',//转写方式 transliterationMethod: '',//转写方式
language:'',//语言 language:'',//语言
shortRecordingSetting: 0, // 短录音是否转写 是否转写短录音 0 转写(默认) 1 不转写
}, },
ruleForm1: {}, ruleForm1: {},
optionsagentId: [], optionsagentId: [],
@@ -1414,6 +1414,7 @@ export default {
]; ];
// console.log(this.time) // console.log(this.time)
this.ruleForm = Object.assign({}, row); this.ruleForm = Object.assign({}, row);
this.ruleForm.shortRecordingSetting = row.shortRecordingSetting || 0
this.ruleForm.area = [this.ruleForm.provinceId, this.ruleForm.cityId]; this.ruleForm.area = [this.ruleForm.provinceId, this.ruleForm.cityId];
this.ruleForm.time = row.time || "22:00"; this.ruleForm.time = row.time || "22:00";
if (row.offLine && row.offLine.indexOf('~') != -1) { if (row.offLine && row.offLine.indexOf('~') != -1) {


読み込み中…
キャンセル
保存