|
@@ -24,12 +24,8 @@
|
|
|
const width = '45%';
|
|
const width = '45%';
|
|
|
|
|
|
|
|
const typeOptions = ref();
|
|
const typeOptions = ref();
|
|
|
- const responseTypeOptions = ref();
|
|
|
|
|
- const resultJsonOptions = ref();
|
|
|
|
|
onBeforeMount(async () => {
|
|
onBeforeMount(async () => {
|
|
|
- typeOptions.value = await listDictModel({ dictCode: 'sys_log_type' });
|
|
|
|
|
- responseTypeOptions.value = await listDictModel({ dictCode: 'sys_response_type' });
|
|
|
|
|
- resultJsonOptions.value = await listDictModel({ dictCode: 'sys_response_type' });
|
|
|
|
|
|
|
+ typeOptions.value = await listDictModel({ dictCode: 'sys_login_log_type' });
|
|
|
});
|
|
});
|
|
|
const [registerDrawer] = useDrawerInner(async data => {
|
|
const [registerDrawer] = useDrawerInner(async data => {
|
|
|
console.log('::::::::::', data.record);
|
|
console.log('::::::::::', data.record);
|
|
@@ -37,8 +33,6 @@
|
|
|
descData.value = {
|
|
descData.value = {
|
|
|
...resData,
|
|
...resData,
|
|
|
type: formatDictValue(typeOptions.value, resData.type),
|
|
type: formatDictValue(typeOptions.value, resData.type),
|
|
|
- responseType: formatDictValue(responseTypeOptions.value, resData.responseType),
|
|
|
|
|
- resultJson: formatDictValue(resultJsonOptions.value, resData.resultJson),
|
|
|
|
|
};
|
|
};
|
|
|
});
|
|
});
|
|
|
const [registerDesc] = useDescription({
|
|
const [registerDesc] = useDescription({
|