|
|
|
@ -11,87 +11,195 @@ |
|
|
|
<h3>12345政务热线</h3> |
|
|
|
<div class="m-table" |
|
|
|
style=" width: 50%; display: flex; flex-direction:column;align-items: center;justify-content: space-between;"> |
|
|
|
<div v-for="(item, index) in sysAdvancedList " |
|
|
|
style=" border-bottom: 1px dotted #000;width: 100%; display: flex; flex-direction: row;align-items: center;justify-content: space-between;"> |
|
|
|
<div style="display: flex; flex-direction: column;"> |
|
|
|
<h4 v-if="item.advancedName == '联系当事人时限'">设置“联系当事人时限”默认值:</h4> |
|
|
|
<h4 v-if="item.advancedName == '办结时限'">设置“(部门)办结时限”默认值:</h4> |
|
|
|
<h4 v-if="item.advancedName == '短信通知'">派件是否默认开启短信通知部门负责人:</h4> |
|
|
|
<h4 v-if="item.advancedName == '联系当事人时限'">“联系当事人时限”设置为“派件时间”之后的 |
|
|
|
<el-input-number v-model="item.timeInterval" @change="handleChange(item)" |
|
|
|
style="width: 150px;" :min="1" label="描述文字"></el-input-number>小时 |
|
|
|
</h4> |
|
|
|
<h4 v-if="item.advancedName == '办结时限'">(部门)办结时限”设置为“(上级)办结时限”的前 |
|
|
|
<el-input-number v-model="item.timeInterval" @change="handleChange(item)" |
|
|
|
style="width: 150px;" :min="1" label="描述文字"></el-input-number>小时 |
|
|
|
</h4> |
|
|
|
<div style="display: flex; flex-direction: column;"> |
|
|
|
<div |
|
|
|
style="display: flex;border-bottom: 1px dotted #000; flex-direction: row; align-items: center; justify-content: space-between;"> |
|
|
|
<div> |
|
|
|
<div style="display: flex; flex-direction: row; align-items: center;"> |
|
|
|
<div style="width: 10px; height: 10px; background-color: #4e89ec"></div> |
|
|
|
<div style="font-weight:800;font-size: 18px; margin-left: 10px;"> |
|
|
|
设置联系当事人(初访)时限 |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
style=" margin: 20px;font-size: 16px; display: flex; align-items: center;"> |
|
|
|
“退件时限”设置为“派件时间”之后的 |
|
|
|
<el-input-number @change="handleChange()" |
|
|
|
v-model="sysAdvancedList.contactLimit" |
|
|
|
style="width: 150px; margin-left: 5px" :min="1" |
|
|
|
label="描述文字"></el-input-number> |
|
|
|
<div style="margin-left: 5px;">小时”</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<el-switch v-model="sysAdvancedList.contactFlag" active-color="#13ce66" |
|
|
|
:active-value="1" :inactive-value="0" inactive-color="#eaecf0" |
|
|
|
@change="handleChange()"></el-switch> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
style="margin-top: 20px; display: flex;border-bottom: 1px dotted #000; flex-direction: row; align-items: center; justify-content: space-between;"> |
|
|
|
<div> |
|
|
|
<div style="display: flex; flex-direction: row; align-items: center;"> |
|
|
|
<div style="width: 10px; height: 10px; background-color: #4e89ec"></div> |
|
|
|
<div style="font-weight:800;font-size: 18px; margin-left: 10px;"> |
|
|
|
设置(部门)办结时限 |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
style=" margin: 20px;font-size: 16px; display: flex; align-items: center;"> |
|
|
|
“(部门)办结时限”设置为“(上级)办结时限”的前 |
|
|
|
<el-input-number @change="handleChange()" |
|
|
|
v-model="sysAdvancedList.resolveLimitDay" |
|
|
|
style="width: 150px; margin-left: 5px" :min="1" |
|
|
|
label="描述文字"></el-input-number> |
|
|
|
<div style="margin-left: 5px;">天的</div><el-time-select |
|
|
|
v-model="sysAdvancedList.resolveLimitTime" |
|
|
|
style="margin-left: 5px; width: 120px;" |
|
|
|
:picker-options="{ start: '00:00', step: '00:15', end: '24:00' }" @change="handleChange()" |
|
|
|
placeholder="选择时间"></el-time-select> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<el-switch v-model="sysAdvancedList.resolveLimitFlag" active-color="#13ce66" |
|
|
|
:active-value=1 :inactive-value=0 inactive-color="#eaecf0" |
|
|
|
@change="handleChange()"></el-switch> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
style="margin-top: 20px; display: flex;border-bottom: 1px dotted #000; flex-direction: row; align-items: center; justify-content: space-between;"> |
|
|
|
<div> |
|
|
|
<div style="display: flex; flex-direction: row; align-items: center;"> |
|
|
|
<div style="width: 10px; height: 10px; background-color: #4e89ec"></div> |
|
|
|
<div style="font-weight:800;font-size: 18px; margin-left: 10px;"> |
|
|
|
设置退件时限 |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
style=" margin: 20px;font-size: 16px; display: flex; align-items: center;"> |
|
|
|
“退件时限”设置为“派件时间”之后的 |
|
|
|
<el-input-number @change="handleChange()" |
|
|
|
v-model="sysAdvancedList.returnLimit" |
|
|
|
style="width: 150px; margin-left: 5px" :min="1" |
|
|
|
label="描述文字"></el-input-number> |
|
|
|
<div style="margin-left: 5px;">小时内,超过该实现推荐即为“超期退件”</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<el-switch v-model="sysAdvancedList.returnFlag" active-color="#13ce66" |
|
|
|
:active-value=1 :inactive-value=0 inactive-color="#eaecf0" |
|
|
|
@change="handleChange()"> |
|
|
|
|
|
|
|
</el-switch> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
style="margin-top: 20px; display: flex;border-bottom: 1px dotted #000; flex-direction: row; align-items: center; justify-content: space-between;"> |
|
|
|
<div> |
|
|
|
<div style="display: flex; flex-direction: row; align-items: center;"> |
|
|
|
<div style="width: 10px; height: 10px; background-color: #4e89ec"></div> |
|
|
|
<div style="font-weight:800;font-size: 18px; margin-left: 10px;"> |
|
|
|
事件办理过程中上传录音默认设置 |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
style="margin: 20px; font-size: 16px; display: flex; align-items: center;"> |
|
|
|
联系当事人(初访)时(默认) : |
|
|
|
<div style="margin-left: 20px;"> |
|
|
|
<el-radio v-model="sysAdvancedList.contactVoiceFlag" @change="handleChange()" |
|
|
|
:label="1" >需要录音</el-radio> |
|
|
|
<el-radio v-model="sysAdvancedList.contactVoiceFlag" @change="handleChange()" |
|
|
|
:label="0" >不需要录音</el-radio> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
style="margin: 20px; font-size: 16px; display: flex; align-items: center;"> |
|
|
|
事件办结时(默认) : |
|
|
|
<div style="margin-left: 20px;"> |
|
|
|
<el-radio v-model="sysAdvancedList.resolveVoiceFlag" @change="handleChange()" |
|
|
|
:label="1">需要录音</el-radio> |
|
|
|
<el-radio v-model="sysAdvancedList.resolveVoiceFlag" @change="handleChange()" |
|
|
|
:label="0">不需要录音</el-radio> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<el-switch v-model="item.openFlag" active-color="#13ce66" |
|
|
|
inactive-color="#eaecf0" :active-value=1 :inactive-value=0 |
|
|
|
@change="handleSwitch(item)"> |
|
|
|
<div |
|
|
|
style="margin-top: 20px; display: flex;border-bottom: 1px dotted #000; flex-direction: row; align-items: center; justify-content: space-between;"> |
|
|
|
<div> |
|
|
|
<div style="display: flex; flex-direction: row; align-items: center;"> |
|
|
|
<div style="width: 10px; height: 10px; background-color: #4e89ec"></div> |
|
|
|
<div style="font-weight:800;font-size: 18px; margin-left: 10px;"> |
|
|
|
派件是否默认开启“短信通知相关人员” |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
style=" margin: 20px;font-size: 16px; display: flex; align-items: center;"> |
|
|
|
<div style=""> 请选择短信通知哪些人员(可多选) :</div> |
|
|
|
<div style="margin-left: 20px;"> |
|
|
|
<template> |
|
|
|
<el-checkbox v-model="sysAdvancedList.responsibleLeader" |
|
|
|
:true-label="1" :false-label="0" @change="handleChange"> |
|
|
|
部门分管领导 |
|
|
|
</el-checkbox> |
|
|
|
<el-checkbox v-model="sysAdvancedList.deptLeader" |
|
|
|
@change="handleChange()" :true-label="1" :false-label="0">部门负责人</el-checkbox> |
|
|
|
<el-checkbox v-model="sysAdvancedList.deptStaff" |
|
|
|
@change="handleChange()" :true-label="1" :false-label="0" label="1">部门工作人员</el-checkbox> |
|
|
|
</template> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<el-switch v-model="sysAdvancedList.smsFlag" active-color="#13ce66" |
|
|
|
:active-value=1 :inactive-value=0 inactive-color="#eaecf0" |
|
|
|
@change="handleChange"> |
|
|
|
|
|
|
|
</el-switch> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
style=" margin-top: 20px;display: flex;border-bottom: 1px dotted #000; flex-direction: row; align-items: center; justify-content: space-between;"> |
|
|
|
<div> |
|
|
|
<div style="display: flex; flex-direction: row; align-items: center;"> |
|
|
|
<div style="width: 10px; height: 10px; background-color: #4e89ec"></div> |
|
|
|
<div style="font-weight:800;font-size: 18px; margin-left: 10px;"> |
|
|
|
是否需要开启热线专班(专员)回访 |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
style=" margin: 20px;font-size: 16px; display: flex; align-items: center;"> |
|
|
|
若开启热线专班(专员)回访,对已办结的事件进行审核归档时需要填写相应的回访信息。 |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<el-switch v-model="sysAdvancedList.hotlineSpecialTeamFlag" active-color="#13ce66" |
|
|
|
:active-value=1 :inactive-value=0 inactive-color="#eaecf0" |
|
|
|
@change="handleChange()"> |
|
|
|
</el-switch> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
style=" margin-top: 20px;display: flex; flex-direction: row; align-items: center; justify-content: space-between;"> |
|
|
|
<div> |
|
|
|
<div style="display: flex; flex-direction: row; align-items: center;"> |
|
|
|
<div style="width: 10px; height: 10px; background-color: #4e89ec"></div> |
|
|
|
<div style="font-weight:800;font-size: 18px; margin-left: 10px;"> |
|
|
|
允许以下角色导出12345热线事件数据 |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
style=" margin: 20px;font-size: 16px; display: flex; align-items: center;"> |
|
|
|
<div style="margin-right: 10px;"> |
|
|
|
请选择允许哪些角色可以导出12345热线事件数据(可多选) : |
|
|
|
</div> |
|
|
|
<el-select v-model="sysAdvancedList.exportDataRoleList" multiple |
|
|
|
style="width: 160px;" placeholder="请选择" @change="handleChange()"> |
|
|
|
<el-option v-for="item in govroleList" :key="item.id" |
|
|
|
:label="item.name" :value="item.id"> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<!-- <el-switch v-model="sysAdvancedList" active-color="#13ce66" |
|
|
|
inactive-color="#eaecf0"> |
|
|
|
</el-switch> --> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<!-- <div |
|
|
|
style=" border-bottom: 1px dotted #000;width: 100%; display: flex; flex-direction: row;align-items: center;justify-content: space-between;"> |
|
|
|
<div style="display: flex; flex-direction: column;"> |
|
|
|
<h3>设置“(部门)办结时限”默认值</h3> |
|
|
|
<h3>“(部门)办结时限”设置为“(上级)办结时限”的前 <el-input-number v-model="num" @change="handleChange" |
|
|
|
style="width: 150px;" :min="1" :max="48" label="描述文字"></el-input-number>的小时</h3> |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<el-switch v-model="HotlineShow" active-color="#13ce66" inactive-color="#eaecf0"> |
|
|
|
</el-switch> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
style="width: 100%; display: flex; flex-direction: row;align-items: center;justify-content: space-between;"> |
|
|
|
<div style="display: flex; flex-direction: column;"> |
|
|
|
<h3>派件是否默认开启短信通知部门负责人:</h3> |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<el-switch v-model="HotlineShow" active-color="#13ce66" inactive-color="#eaecf0"> |
|
|
|
</el-switch> |
|
|
|
</div> |
|
|
|
</div> --> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<!-- |
|
|
|
|
|
|
|
<h3>居民上报事件</h3> |
|
|
|
<div class="m-table" |
|
|
|
style=" border-bottom: 1px dotted #000;width: 100%; display: flex; flex-direction: row;align-items: center;justify-content: space-between;"> |
|
|
|
<div |
|
|
|
style="width: 100%; display: flex; flex-direction: row;align-items: center;justify-content: space-between;"> |
|
|
|
<div style="display: flex; flex-direction: column;"> |
|
|
|
<h3>开启自动派单:</h3> |
|
|
|
<h3>开启自动派单功能须先设置“事件类型”和“处理部门”的对应关系</h3> |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<el-switch v-model="HotlineShow" active-color="#13ce66" inactive-color="#eaecf0"> |
|
|
|
</el-switch> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> --> |
|
|
|
<!-- <h3>文明币有效期设置</h3> |
|
|
|
<div class="m-table" |
|
|
|
style=" border-bottom: 1px dotted #000;width: 100%; display: flex; flex-direction: row;"> |
|
|
|
<div style="display: flex; flex-direction: column;"> |
|
|
|
<h3>文明币有效期设置:</h3> |
|
|
|
</div> |
|
|
|
<div style="margin-left: 20px;margin-top: 12px; display: flex; flex-direction: column;"> |
|
|
|
<template> |
|
|
|
<el-radio v-model="radio" label="1">永久有效</el-radio> |
|
|
|
<el-radio v-model="radio" label="2" style="margin-top: 10px;"> |
|
|
|
<el-input-number v-model="num" @change="handleChange" :min="1" |
|
|
|
style="width: 150px;" :max="10" label="描述文字"></el-input-number>(个月) |
|
|
|
</el-radio> |
|
|
|
</template> |
|
|
|
</div> |
|
|
|
</div> --> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
@ -100,7 +208,7 @@ |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
<script> |
|
|
|
import { requestPost } from '@/js/dai/request'; |
|
|
|
import { requestPost,requestGet } from '@/js/dai/request'; |
|
|
|
import nextTick from 'dai-js/tools/nextTick'; |
|
|
|
import { mapGetters } from 'vuex'; |
|
|
|
// import addForm from './residentCategoryComponents/addForm.vue'; |
|
|
|
@ -112,7 +220,11 @@ export default { |
|
|
|
num:"", |
|
|
|
HotlineShow:1, |
|
|
|
customerId:"", |
|
|
|
sysAdvancedList:[] |
|
|
|
govroleList:[], |
|
|
|
|
|
|
|
sysAdvancedList:{ |
|
|
|
|
|
|
|
} |
|
|
|
}; |
|
|
|
}, |
|
|
|
components: { }, |
|
|
|
@ -129,11 +241,11 @@ export default { |
|
|
|
this.customerId=this.$store.state.customerId |
|
|
|
this.agencyId = this.user.agencyId; |
|
|
|
this.sysAdvancedPage(); |
|
|
|
this.getGovroleList() |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
handleSwitch(row){ |
|
|
|
console.log(row,this.num,"sdgmlsdlgjk"); |
|
|
|
|
|
|
|
const url = '/sys/sysAdvanced/update'; |
|
|
|
const param = { |
|
|
|
id: row.id, |
|
|
|
@ -147,38 +259,46 @@ export default { |
|
|
|
} |
|
|
|
}); |
|
|
|
}, |
|
|
|
handleChange(row){ |
|
|
|
console.log(row,this.num,"sdgmlsdlgjk"); |
|
|
|
const url = '/sys/sysAdvanced/update'; |
|
|
|
getGovroleList(){ |
|
|
|
const url = '/gov/access/govrole/page'; |
|
|
|
const param = { |
|
|
|
id: row.id, |
|
|
|
timeInterval:row.timeInterval, |
|
|
|
// openFlag:this.openFlag, |
|
|
|
remark:row.remark.slice(0, 7)+row.timeInterval+ row.remark.slice(-2) |
|
|
|
pageSize:20, |
|
|
|
pageNo:1, |
|
|
|
name:"" |
|
|
|
}; |
|
|
|
requestGet(url, param).then(res=>{ |
|
|
|
if (res.code === 0) { |
|
|
|
this.govroleList=res.data.list |
|
|
|
} |
|
|
|
}); |
|
|
|
}, |
|
|
|
handleChange(value){ |
|
|
|
console.log(value,"dsfl;slkdjf"); |
|
|
|
|
|
|
|
const url = '/governance/icEventConfig/update'; |
|
|
|
this.sysAdvancedList.exportDataRole=this.sysAdvancedList.exportDataRoleList.toString() |
|
|
|
const param = { |
|
|
|
...this.sysAdvancedList |
|
|
|
}; |
|
|
|
console.log(param,"sdlkjggsdklf"); |
|
|
|
requestPost(url, param).then(res=>{ |
|
|
|
if (res.code === 0) { |
|
|
|
console.log("sgl.msl;kgm"); |
|
|
|
|
|
|
|
this.sysAdvancedPage() |
|
|
|
} |
|
|
|
}); |
|
|
|
});contactFlag |
|
|
|
|
|
|
|
}, |
|
|
|
//update/id |
|
|
|
// json格式的id |
|
|
|
async sysAdvancedPage(row) { |
|
|
|
console.log("dfgkljdlk;fg"); |
|
|
|
|
|
|
|
const url = '/sys/sysAdvanced/page'; |
|
|
|
const url = '/governance/icEventConfig/getStreetConfigDetail'; |
|
|
|
const param = { |
|
|
|
customerId: this.customerId, |
|
|
|
orgId: this.agencyId, |
|
|
|
}; |
|
|
|
const { data, code, msg } = await requestPost(url, param); |
|
|
|
const { data, code, msg } = await requestGet(url, param); |
|
|
|
if (code === 0) { |
|
|
|
this.sysAdvancedList=data.list |
|
|
|
|
|
|
|
this.sysAdvancedList=data |
|
|
|
console.log(this.sysAdvancedList,"sdfklsdjlk"); |
|
|
|
} else { |
|
|
|
this.$message.error(msg); |
|
|
|
} |
|
|
|
|