|
@@ -46,6 +46,7 @@
|
|
|
/>
|
|
/>
|
|
|
</template>
|
|
</template>
|
|
|
</BasicTable>
|
|
</BasicTable>
|
|
|
|
|
+ <Checkbox style="margin-left: 17px" v-if="!(caseId||fusionId)" v-model:checked="supAuthRef" size="small">上级单位平台管理员可见</Checkbox>
|
|
|
<detailModal @register="registerDetail" @update="reload" />
|
|
<detailModal @register="registerDetail" @update="reload" />
|
|
|
<ryNoSceneModal @register="registerryNoModal" @update="reload" />
|
|
<ryNoSceneModal @register="registerryNoModal" @update="reload" />
|
|
|
</div>
|
|
</div>
|
|
@@ -60,6 +61,7 @@
|
|
|
import { useModal } from '/@/components/Modal';
|
|
import { useModal } from '/@/components/Modal';
|
|
|
import { useI18n } from '/@/hooks/web/useI18n';
|
|
import { useI18n } from '/@/hooks/web/useI18n';
|
|
|
import detailModal from './detailModal.vue';
|
|
import detailModal from './detailModal.vue';
|
|
|
|
|
+ import { Checkbox } from 'ant-design-vue';
|
|
|
import ryNoSceneModal from './ryNoSceneModal.vue';
|
|
import ryNoSceneModal from './ryNoSceneModal.vue';
|
|
|
import { usePermissionStore } from '/@/store/modules/permission';
|
|
import { usePermissionStore } from '/@/store/modules/permission';
|
|
|
import { getAuthList, getAuthType, setAuthType, delAuth } from '/@/api/operate';
|
|
import { getAuthList, getAuthType, setAuthType, delAuth } from '/@/api/operate';
|
|
@@ -68,7 +70,7 @@
|
|
|
import dayjs from 'dayjs';
|
|
import dayjs from 'dayjs';
|
|
|
const { t } = useI18n();
|
|
const { t } = useI18n();
|
|
|
export default defineComponent({
|
|
export default defineComponent({
|
|
|
- components: { BasicModal, ryNoSceneModal, BasicForm, BasicTable, TableAction, detailModal },
|
|
|
|
|
|
|
+ components: { Checkbox, BasicModal, ryNoSceneModal, BasicForm, BasicTable, TableAction, detailModal },
|
|
|
props: {
|
|
props: {
|
|
|
userData: { type: Object },
|
|
userData: { type: Object },
|
|
|
},
|
|
},
|
|
@@ -76,6 +78,7 @@
|
|
|
setup(props, { emit }) {
|
|
setup(props, { emit }) {
|
|
|
const modelRef = ref({});
|
|
const modelRef = ref({});
|
|
|
const tableRef = ref(null);
|
|
const tableRef = ref(null);
|
|
|
|
|
+ const supAuthRef = ref(true);
|
|
|
|
|
|
|
|
const numRef = ref(null);
|
|
const numRef = ref(null);
|
|
|
const caseId = ref(null);
|
|
const caseId = ref(null);
|
|
@@ -221,8 +224,9 @@
|
|
|
fusionId.value = data.fusionId;
|
|
fusionId.value = data.fusionId;
|
|
|
caseId.value = data.caseId;
|
|
caseId.value = data.caseId;
|
|
|
resetFields();
|
|
resetFields();
|
|
|
- const { authType } = await getAuthType({ num: numRef.value, sourceType: sourceType.value });
|
|
|
|
|
|
|
+ const { authType, supAuth } = await getAuthType({ num: numRef.value, sourceType: sourceType.value });
|
|
|
fileFlow.showList = authType ? false : true;
|
|
fileFlow.showList = authType ? false : true;
|
|
|
|
|
+ supAuthRef.value = supAuth;
|
|
|
type.value = authType;
|
|
type.value = authType;
|
|
|
setFieldsValue({
|
|
setFieldsValue({
|
|
|
type: data.sceneName,
|
|
type: data.sceneName,
|
|
@@ -258,6 +262,7 @@
|
|
|
caseId: caseId.value,
|
|
caseId: caseId.value,
|
|
|
...params,
|
|
...params,
|
|
|
lookAuth: params.authType,
|
|
lookAuth: params.authType,
|
|
|
|
|
+ supAuth: supAuthRef.value,
|
|
|
sourceType: sourceType.value,
|
|
sourceType: sourceType.value,
|
|
|
});
|
|
});
|
|
|
console.log('res', res);
|
|
console.log('res', res);
|
|
@@ -311,6 +316,7 @@
|
|
|
addPowes,
|
|
addPowes,
|
|
|
reload,
|
|
reload,
|
|
|
userName,
|
|
userName,
|
|
|
|
|
+ supAuthRef,
|
|
|
caseId,
|
|
caseId,
|
|
|
fusionId,
|
|
fusionId,
|
|
|
tableRef,
|
|
tableRef,
|