|
@@ -80,7 +80,7 @@
|
|
|
</el-col>
|
|
|
<el-col :xs="24" :sm="24" :md="24" :lg="12" :xl="12">
|
|
|
<el-form-item label="来电人姓名" prop="fromName" :rules="[{ required: true, message: '请填写来电人姓名', trigger: 'blur' }]">
|
|
|
- <el-input v-model="state.ruleForm.fromName" placeholder="请填写来电人姓名" clearable @input="inputName"> </el-input>
|
|
|
+ <el-input v-model="state.ruleForm.fromName" placeholder="请填写来电人姓名" clearable @input="inputName"> </el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :xs="24" :sm="24" :md="24" :lg="12" :xl="12">
|
|
@@ -104,9 +104,9 @@
|
|
|
label="联系电话"
|
|
|
prop="contact"
|
|
|
:rules="[
|
|
|
- { required: true, message: '请填写联系电话', trigger: 'blur' },
|
|
|
- { required: true, pattern: '[^ \x20]+', trigger: 'blur', message: '联系电话不能为空' },
|
|
|
- ]"
|
|
|
+ { required: true, message: '请填写联系电话', trigger: 'blur' },
|
|
|
+ { required: true, pattern: '[^ \x20]+', trigger: 'blur', message: '联系电话不能为空' },
|
|
|
+ ]"
|
|
|
>
|
|
|
<el-input v-model.trim="state.ruleForm.contact" placeholder="请填写联系电话" @blur="searchHistory" clearable> </el-input>
|
|
|
</el-form-item>
|
|
@@ -234,7 +234,7 @@
|
|
|
<el-col :xs="24" :sm="24" :md="24" :lg="16" :xl="16">
|
|
|
<el-input v-model="state.ruleForm.street" placeholder="请填写详细地址" clearable> </el-input>
|
|
|
</el-col>
|
|
|
-<!-- <el-col :xs="24" :sm="24" :md="24" :lg="7" :xl="7" :offset="1">
|
|
|
+ <!-- <el-col :xs="24" :sm="24" :md="24" :lg="7" :xl="7" :offset="1">
|
|
|
<el-button type="primary" link @click="selectLocation"><SvgIcon name="ele-Location" size="16px" /> 地图定位</el-button>
|
|
|
</el-col>-->
|
|
|
</el-form-item>
|
|
@@ -396,7 +396,7 @@
|
|
|
<el-card shadow="never">
|
|
|
<el-tabs v-model="rightBottomActive" @tab-change="handleRightBottom" stretch>
|
|
|
<el-tab-pane label="知识库" name="knowledge">
|
|
|
- <Knowledge ref="knowledgeRef" :formData="state.ruleForm"/>
|
|
|
+ <Knowledge ref="knowledgeRef" :formData="state.ruleForm" />
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="预案库" name="aa"> </el-tab-pane>
|
|
|
</el-tabs>
|
|
@@ -413,9 +413,9 @@
|
|
|
<!-- 重复工单选择 -->
|
|
|
<order-repeat-select ref="orderRepeatSelectRef" @orderRepeatSuccess="orderRepeatSuccess" />
|
|
|
<!-- 自贡流程办理 -->
|
|
|
- <z-g-process ref="zgProcessRef" @orderProcessSuccess="onCancel"/>
|
|
|
+ <z-g-process ref="zgProcessRef" @orderProcessSuccess="onCancel" />
|
|
|
<!-- 泸州流程办理 -->
|
|
|
- <l-z-process ref="lzProcessRef" @orderProcessSuccess="onCancel"/>
|
|
|
+ <l-z-process ref="lzProcessRef" @orderProcessSuccess="onCancel" />
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -507,10 +507,11 @@ const state = reactive<any>({
|
|
|
orderPushTypes: [], // 推送分类多选
|
|
|
acceptType: '咨询', // 受理类型
|
|
|
acceptTypeCode: '10', // 受理类型code
|
|
|
- acceptTypeObj:{ // 默认咨询
|
|
|
+ acceptTypeObj: {
|
|
|
+ // 默认咨询
|
|
|
dicDataValue: '10',
|
|
|
- dicDataName:'咨询',
|
|
|
- }
|
|
|
+ dicDataName: '咨询',
|
|
|
+ },
|
|
|
},
|
|
|
formLoading: false, // 表单加载状态
|
|
|
hotspotExternal: [], // 热点分类外部数据
|
|
@@ -808,9 +809,9 @@ const saveExpandForm = (val: any) => {
|
|
|
state.ruleForm.orderExtension = val;
|
|
|
};
|
|
|
// 受理内容失去焦点查询知识库
|
|
|
-const blurContent = ()=>{
|
|
|
+const blurContent = () => {
|
|
|
knowledgeRef.value.knowledgeRetrievalPaged();
|
|
|
-}
|
|
|
+};
|
|
|
// 选择重点关注事项
|
|
|
const changeFocusEvent = (val: string[]) => {
|
|
|
state.ruleForm.isUrgent = val.includes('0'); // 是否紧急工单
|
|
@@ -820,9 +821,12 @@ const changeFocusEvent = (val: string[]) => {
|
|
|
state.ruleForm.is24HoursComplete = val.includes('4'); // 24小时紧急工单
|
|
|
state.ruleForm.acceptSms = val.includes('5'); // 受理短信
|
|
|
state.ruleForm.isThreePartyConference = val.includes('6'); // 三方通话
|
|
|
- state.ruleForm.isSecret = val.includes('99'); // 是否保密
|
|
|
- state.ruleForm.focusOnEvents = val.join(','); // 获取值
|
|
|
- state.ruleForm.focusOnEventsName = state.focusOnEvents.filter((item: any) => val.includes(item.dicDataValue)).map((item: any) => item.dicDataName).join(',');
|
|
|
+ state.ruleForm.isSecret = val.includes('99'); // 是否保密
|
|
|
+ state.ruleForm.focusOnEvents = val.join(','); // 获取值
|
|
|
+ state.ruleForm.focusOnEventsName = state.focusOnEvents
|
|
|
+ .filter((item: any) => val.includes(item.dicDataValue))
|
|
|
+ .map((item: any) => item.dicDataName)
|
|
|
+ .join(',');
|
|
|
console.log(
|
|
|
`是否紧急工单:${val.includes('0')},是否行政执法类类工单:${val.includes('2')},是否形式主义工单:${val.includes('1')},是否敏感类工单:${val.includes(
|
|
|
'3'
|
|
@@ -925,7 +929,7 @@ const zgProcessRef = ref<RefType>();
|
|
|
const lzProcessRef = ref<RefType>();
|
|
|
const processOrder = (orderDetail: any, isAgent = false) => {
|
|
|
buttonLoading.value = false;
|
|
|
- if(['ZiGong'].includes(themeConfig.value.appScope)){
|
|
|
+ if (['ZiGong'].includes(themeConfig.value.appScope)) {
|
|
|
if (isAgent) {
|
|
|
// 代办
|
|
|
const params = {
|
|
@@ -970,7 +974,7 @@ const processOrder = (orderDetail: any, isAgent = false) => {
|
|
|
zgProcessRef.value.openDialog(params);
|
|
|
}
|
|
|
}
|
|
|
- }else if(['LuZhou'].includes(themeConfig.value.appScope)){
|
|
|
+ } else if (['LuZhou'].includes(themeConfig.value.appScope)) {
|
|
|
if (isAgent) {
|
|
|
// 代办
|
|
|
const params = {
|
|
@@ -1016,7 +1020,6 @@ const processOrder = (orderDetail: any, isAgent = false) => {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
};
|
|
|
const handleForm = (orderDetail: any, isAgent = false) => {
|
|
|
if (orderDetail.orderExtension?.orderTypeCode) {
|
|
@@ -1094,7 +1097,7 @@ const loadBaseData = async () => {
|
|
|
state.licenceTypeOptions = result?.licenceTypeOptions ?? [];
|
|
|
state.transpondCity = result?.transpondCity ?? [];
|
|
|
state.focusOnEvents = result?.focusOnEvents ?? [];
|
|
|
- state.focusOnEvents.unshift({dicDataName: '保密', dicDataValue: '99'})
|
|
|
+ state.focusOnEvents.unshift({ dicDataName: '保密', dicDataValue: '99' });
|
|
|
state.orderTags = result?.orderTags ?? [];
|
|
|
state.pushTypeOptions = state.pushTypeOptions.map((item: any) => {
|
|
|
return {
|
|
@@ -1130,7 +1133,7 @@ const loadForm = async () => {
|
|
|
const isNumberIdentityType = parseInt(<string>route.query.identityType);
|
|
|
if ([1, 2].includes(isNumberIdentityType)) {
|
|
|
// 按键接收(2:市民 1:企业) 默认市民
|
|
|
- if(isNumberIdentityType == 2) state.ruleForm.identityType = 1;
|
|
|
+ if (isNumberIdentityType == 2) state.ruleForm.identityType = 1;
|
|
|
else state.ruleForm.identityType = 2;
|
|
|
} else {
|
|
|
state.ruleForm.identityType = 1;
|
|
@@ -1281,9 +1284,9 @@ onUnmounted(() => {
|
|
|
});
|
|
|
</script>
|
|
|
<style lang="scss" scoped>
|
|
|
-.check-group{
|
|
|
- :deep(.el-checkbox){
|
|
|
+.check-group {
|
|
|
+ :deep(.el-checkbox) {
|
|
|
margin-right: 10px;
|
|
|
}
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|