|
@@ -89,7 +89,7 @@
|
|
<!-- 来电弹单 -->
|
|
<!-- 来电弹单 -->
|
|
<template v-if="state.createBy === 'tel'">
|
|
<template v-if="state.createBy === 'tel'">
|
|
<el-form-item label="来电号码" prop="fromPhone">
|
|
<el-form-item label="来电号码" prop="fromPhone">
|
|
- <el-input v-model="state.ruleForm.fromPhone" placeholder="请填写来电号码" disabled> </el-input>
|
|
|
|
|
|
+ <el-input v-model="state.ruleForm.fromPhone" placeholder="请填写来电号码"> </el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</template>
|
|
</template>
|
|
<!-- 互联网来信 -->
|
|
<!-- 互联网来信 -->
|
|
@@ -428,7 +428,7 @@
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
|
|
<el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
|
|
<el-form-item label="工单标题" prop="title" :rules="[{ required: true, message: '请填写工单标题', trigger: 'blur' }]">
|
|
<el-form-item label="工单标题" prop="title" :rules="[{ required: true, message: '请填写工单标题', trigger: 'blur' }]">
|
|
- <el-input v-model="state.ruleForm.title" placeholder="请填写工单标题" clearable> </el-input>
|
|
|
|
|
|
+ <el-input v-model="state.ruleForm.title" placeholder="请填写工单标题" clearable @input="inputTitle"> </el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
|
|
<el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
|
|
@@ -557,8 +557,8 @@ const state = reactive<any>({
|
|
ageRange: null, // 年龄段
|
|
ageRange: null, // 年龄段
|
|
ageRangeCode: null, // 年龄段code
|
|
ageRangeCode: null, // 年龄段code
|
|
contact: null, // 联系电话
|
|
contact: null, // 联系电话
|
|
- acceptSms: false, // 是否接收短信 默认false
|
|
|
|
isSecret: false, // 是否保密 默认false
|
|
isSecret: false, // 是否保密 默认false
|
|
|
|
+ acceptSms: false, // 是否接收短信 默认false
|
|
enterpriseName: null, // 企业名称
|
|
enterpriseName: null, // 企业名称
|
|
zhuanBanMingCheng: null, // 专班名称
|
|
zhuanBanMingCheng: null, // 专班名称
|
|
no: null, // 工单编码
|
|
no: null, // 工单编码
|
|
@@ -805,6 +805,17 @@ const searchHistory = () => {
|
|
citizenPortraitRef.value.getCitizen();
|
|
citizenPortraitRef.value.getCitizen();
|
|
rightBottomActive.value = 'draw';
|
|
rightBottomActive.value = 'draw';
|
|
};
|
|
};
|
|
|
|
+// 填写标题时根据填写内容自动选择受理类型
|
|
|
|
+const inputTitle = (val: string) => {
|
|
|
|
+ if (!state.ruleForm.acceptType) {
|
|
|
|
+ const item = state.acceptTypeOptions.find((item: any) => item.dicDataName === val);
|
|
|
|
+ if (item) {
|
|
|
|
+ state.ruleForm.acceptTypeObj = item;
|
|
|
|
+ state.ruleForm.acceptType = item.dicDataName;
|
|
|
|
+ state.ruleForm.acceptTypeCode = item.dicDataValue;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+};
|
|
const rightActive = ref<string>('history'); // 右侧顶部Tab
|
|
const rightActive = ref<string>('history'); // 右侧顶部Tab
|
|
const handleRight = (val: string) => {};
|
|
const handleRight = (val: string) => {};
|
|
const rightBottomActive = ref<string>('voice'); // 右侧底部Tab
|
|
const rightBottomActive = ref<string>('voice'); // 右侧底部Tab
|