|
|
@@ -248,6 +248,11 @@ const specificRoles = ref({
|
|
|
groupName: [],
|
|
|
systemAccount: []
|
|
|
})
|
|
|
+
|
|
|
+const changeControlType = () => {
|
|
|
+ specificRoles.value = { partyId: [], groupName: [], systemAccount: [] }
|
|
|
+}
|
|
|
+
|
|
|
const changePartyId = (val: string[]) => {
|
|
|
specificRoles.value.partyId = val
|
|
|
}
|
|
|
@@ -309,6 +314,7 @@ const handlePageSave = () => {
|
|
|
if (route.query.copy !== 't' && route.query.serial_no) {
|
|
|
serial_no = String(route.query.serial_no)
|
|
|
}
|
|
|
+ console.log(data, 'value')
|
|
|
$api
|
|
|
.saveNewReportTemplate({ ...data, serial_no })
|
|
|
.then((res: any) => {
|
|
|
@@ -480,7 +486,11 @@ const handlePageSave = () => {
|
|
|
<div class="report-access-control template-box">
|
|
|
<div class="header">Report Access Control</div>
|
|
|
<div class="content-box">
|
|
|
- <el-radio-group class="radio-group" v-model="accessControlType">
|
|
|
+ <el-radio-group
|
|
|
+ class="radio-group"
|
|
|
+ @change="changeControlType"
|
|
|
+ v-model="accessControlType"
|
|
|
+ >
|
|
|
<el-radio class="radio-item" value="All Users">
|
|
|
<template #default>
|
|
|
<div class="radio-content">
|