|
|
@@ -15,7 +15,7 @@ |
|
|
|
</el-radio-group> |
|
|
|
<div style="margin-left: 26px"> |
|
|
|
<el-date-picker |
|
|
|
style="width: 250px; height: 32px; line-height: 32px" |
|
|
|
style="width: 260px; height: 32px; line-height: 32px" |
|
|
|
@change="confirmtime()" |
|
|
|
v-model="customtime" |
|
|
|
type="daterange" |
|
|
@@ -27,24 +27,27 @@ |
|
|
|
</el-date-picker> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="screeningboxlebl" style="margin-left: 20px">项目:</div> |
|
|
|
<div style="height: 32px"> |
|
|
|
<el-select |
|
|
|
v-model="params.projectId" |
|
|
|
collapse-tags |
|
|
|
filterable |
|
|
|
clearable |
|
|
|
placeholder="请选择" |
|
|
|
> |
|
|
|
<el-option |
|
|
|
v-for="item in projectList" |
|
|
|
:key="item.id" |
|
|
|
:label="item.propertyName" |
|
|
|
:value="item.id" |
|
|
|
<template v-if="orgType == 2"> |
|
|
|
<div class="screeningboxlebl" style="margin-left: 20px">项目:</div> |
|
|
|
<div style="height: 32px"> |
|
|
|
<el-select |
|
|
|
v-model="params.projectId" |
|
|
|
collapse-tags |
|
|
|
filterable |
|
|
|
clearable |
|
|
|
placeholder="请选择" |
|
|
|
> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
|
<el-option |
|
|
|
v-for="item in projectList" |
|
|
|
:key="item.id" |
|
|
|
:label="item.propertyName" |
|
|
|
:value="item.id" |
|
|
|
> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
|
|
|
|
<div class="screeningboxlebl">关键词:</div> |
|
|
|
<el-input |
|
|
|
class="inputbox" |
|
|
@@ -213,7 +216,7 @@ |
|
|
|
</p> |
|
|
|
</div> |
|
|
|
<div class="bottom"> |
|
|
|
<div style="display: flex;width: 100%;"> |
|
|
|
<div style="display: flex; width: 100%"> |
|
|
|
<div id="aplayer" style="flex: 1"></div> |
|
|
|
<div style="margin: 25px 0 0 -5px" @click="download()"> |
|
|
|
<img |
|
|
@@ -382,17 +385,25 @@ |
|
|
|
//审核状态auditStatus; //审核状态 |
|
|
|
0:待审核,1:通过审核,2:审核驳回,3:已撤销--%> --> |
|
|
|
<!-- 审核权限 --> |
|
|
|
<template v-if="scopeInfo.auditStatus == 0 && checkPermitBtn('invalid_watch_examine')"> |
|
|
|
<template |
|
|
|
v-if=" |
|
|
|
scopeInfo.auditStatus == 0 && |
|
|
|
checkPermitBtn('invalid_watch_examine') |
|
|
|
" |
|
|
|
> |
|
|
|
<div class="btns pass" @click="changeAuditStatus(1)">通过</div> |
|
|
|
</template> |
|
|
|
<template v-if="scopeInfo.auditStatus == 0 && checkPermitBtn('invalid_watch_examine')"> |
|
|
|
<template |
|
|
|
v-if=" |
|
|
|
scopeInfo.auditStatus == 0 && |
|
|
|
checkPermitBtn('invalid_watch_examine') |
|
|
|
" |
|
|
|
> |
|
|
|
<div class="btns rejued" @click="rejectReasonTips(2)">驳回</div> |
|
|
|
</template> |
|
|
|
<!-- 标记有效无效接待 --> |
|
|
|
<template |
|
|
|
v-if=" |
|
|
|
scopeInfo.auditStatus == 0 && checkPermitBtns('bjyx') |
|
|
|
" |
|
|
|
v-if="scopeInfo.auditStatus == 0 && checkPermitBtns('bjyx')" |
|
|
|
> |
|
|
|
<div class="btns rejued" @click="changeAuditStatus(3)">撤销</div> |
|
|
|
</template> |
|
|
@@ -439,6 +450,7 @@ import { exportMethodPost } from "@/util/util"; |
|
|
|
export default { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
orgType: localStorage.getItem("orgType"), // 当前登录项目的类型 |
|
|
|
projectList: [], // 项目列表 |
|
|
|
tableData: [], // table数据 |
|
|
|
customtime: [], // 时间picker |
|
|
@@ -454,6 +466,7 @@ export default { |
|
|
|
pageSize: 10, // 页数 |
|
|
|
projectId: "", // 项目id |
|
|
|
auditStatus: -1, // 审核状态 -1全部 0:待审核,1:通过审核,2:审核驳回,3:已撤销 |
|
|
|
orgCode: '', // 公司id |
|
|
|
}, |
|
|
|
auditStatusListIndex: -1, // 默认选中全部 |
|
|
|
auditStatusList: [ |
|
|
@@ -504,14 +517,16 @@ export default { |
|
|
|
// 是否有审核权限 |
|
|
|
checkPermitBtn() { |
|
|
|
return (name) => { |
|
|
|
return this.permissions[name] ? true : false |
|
|
|
return this.permissions[name] ? true : false; |
|
|
|
}; |
|
|
|
}, |
|
|
|
|
|
|
|
// 是否有审核权限(小程序) |
|
|
|
checkPermitBtns() { |
|
|
|
return (name) => { |
|
|
|
let index = this.littPermitBtn.findIndex((item) => item.permission == name); |
|
|
|
let index = this.littPermitBtn.findIndex( |
|
|
|
(item) => item.permission == name |
|
|
|
); |
|
|
|
return index != -1; |
|
|
|
}; |
|
|
|
}, |
|
|
@@ -535,10 +550,15 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
mounted() { |
|
|
|
this.getPageList(); |
|
|
|
created() { |
|
|
|
this.getFindHouseListByAccount(); |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
if (this.orgType != 2) { |
|
|
|
this.params.projectId = localStorage.getItem("houseId"); |
|
|
|
} |
|
|
|
this.params.orgCode = localStorage.getItem("orgCode"); |
|
|
|
}, |
|
|
|
|
|
|
|
methods: { |
|
|
|
handleSelect(e) { |
|
|
@@ -586,18 +606,20 @@ export default { |
|
|
|
this.$message.error("请输入无效原因"); |
|
|
|
return; |
|
|
|
} |
|
|
|
this.$api.http.updateReception({ |
|
|
|
id: this.scopeInfo.id, |
|
|
|
auditStatus: status, |
|
|
|
rejectReason: this.rejectReason, // 驳回原因 |
|
|
|
}).then((res) => { |
|
|
|
this.$api.http |
|
|
|
.updateReception({ |
|
|
|
id: this.scopeInfo.id, |
|
|
|
auditStatus: status, |
|
|
|
rejectReason: this.rejectReason, // 驳回原因 |
|
|
|
}) |
|
|
|
.then((res) => { |
|
|
|
if (res.code == 10000) { |
|
|
|
this.$message.success(res.message) |
|
|
|
this.$message.success(res.message); |
|
|
|
if (status == 2) this.dialogReason = false; |
|
|
|
this.resetAuditParams(); |
|
|
|
this.getPageList(); |
|
|
|
} else { |
|
|
|
this.$message.error(res.message) |
|
|
|
this.$message.error(res.message); |
|
|
|
} |
|
|
|
}); |
|
|
|
}, |
|
|
@@ -609,11 +631,20 @@ export default { |
|
|
|
}, |
|
|
|
// 获取项目列表 |
|
|
|
getFindHouseListByAccount() { |
|
|
|
this.$api.http.InvalidFindHouseListByAccount().then((res) => { |
|
|
|
if (res.code == 10000) { |
|
|
|
this.$api.api |
|
|
|
.findHouseByUser({ |
|
|
|
orgType: localStorage.getItem("orgType"), |
|
|
|
}) |
|
|
|
.then((res) => { |
|
|
|
this.projectList = res.data; |
|
|
|
} |
|
|
|
}); |
|
|
|
if (this.orgType == 2) { |
|
|
|
this.params.projectId = res.data[0].id; |
|
|
|
} |
|
|
|
|
|
|
|
this.getPageList(); |
|
|
|
}).catch(() => { |
|
|
|
this.getPageList(); |
|
|
|
}); |
|
|
|
}, |
|
|
|
// 获取待审核列表 |
|
|
|
getPageList() { |
|
|
@@ -846,7 +877,11 @@ export default { |
|
|
|
}, |
|
|
|
//下载 |
|
|
|
download() { |
|
|
|
exportMethodPost(`/zk/file/filedownload?videoSrc=${this.Broadcastaddress}`,'接待录音', {}) |
|
|
|
exportMethodPost( |
|
|
|
`/zk/file/filedownload?videoSrc=${this.Broadcastaddress}`, |
|
|
|
"接待录音", |
|
|
|
{} |
|
|
|
); |
|
|
|
// window.location.href = |
|
|
|
// "${jypath}/zk/file/filedownload?videoSrc=" + this.Broadcastaddress; |
|
|
|
}, |
|
|
@@ -1133,7 +1168,6 @@ export default { |
|
|
|
top: 50px; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/deep/.aplayer-info { |
|
|
|
padding: 22px 7px 0px 10px; |
|
|
|
} |
|
|
@@ -1147,7 +1181,6 @@ export default { |
|
|
|
display: none !important; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.aplayer-controller { |
|
|
|
margin-top: 15px; |
|
|
|
} |
|
|
@@ -1794,4 +1827,8 @@ export default { |
|
|
|
.elmenus .el-menu-demo { |
|
|
|
border-bottom: none; |
|
|
|
} |
|
|
|
|
|
|
|
/deep/ .el-range-separator { |
|
|
|
width: 10%; |
|
|
|
} |
|
|
|
</style> |