修正字典数据
This commit is contained in:
@@ -23,7 +23,6 @@ const props = defineProps({
|
||||
|
||||
/**遍历找到对应值数据项 */
|
||||
const item = computed(() => {
|
||||
console.log(props.options);
|
||||
if (Array.isArray(props.options) && props.options.length > 0) {
|
||||
let option = props.options.find(
|
||||
item => `${item[props.valueField]}` === `${props.value}`
|
||||
|
||||
@@ -592,8 +592,8 @@ const local: any = {
|
||||
},
|
||||
log:{
|
||||
logId:'Log ID',
|
||||
module:'System Module',
|
||||
operType:'Operation Type',
|
||||
module:'Module Title',
|
||||
operType:'Business Type',
|
||||
operName:'Operator',
|
||||
operIp:'Operation Address',
|
||||
operArea:'Operation Location',
|
||||
@@ -603,6 +603,10 @@ const local: any = {
|
||||
backUser:'Back User',
|
||||
phoneUser:'Phone User',
|
||||
other:'Other',
|
||||
operUrl:'Operation URL',
|
||||
operParam:'Operation Parameters',
|
||||
jsonResult:"Result",
|
||||
title:"Log Management",
|
||||
},
|
||||
task:{
|
||||
taskId:'ID',
|
||||
|
||||
@@ -592,8 +592,8 @@ const local:any = {
|
||||
},
|
||||
log:{
|
||||
logId:'日志编号',
|
||||
module:'系统模块',
|
||||
operType:'操作类型',
|
||||
module:'模块标题',
|
||||
operType:'业务类型',
|
||||
operName:'操作人员',
|
||||
operIp:'操作地址',
|
||||
operArea:'操作地点',
|
||||
@@ -603,6 +603,10 @@ const local:any = {
|
||||
backUser:'后台用户',
|
||||
phoneUser:'手机用户',
|
||||
other:'其他',
|
||||
operUrl:'请求URL',
|
||||
operParam:'请求参数',
|
||||
jsonResult:"结果",
|
||||
title:"日志管理",
|
||||
},
|
||||
task:{
|
||||
taskId:'编号',
|
||||
|
||||
@@ -36,7 +36,17 @@ export const doDeleteDict = (dictId: string | number) => {
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 查询字典类型详细
|
||||
* @param dictId 字典编号
|
||||
* @returns object
|
||||
*/
|
||||
export function doGetType(dictId: string | number) {
|
||||
return request({
|
||||
url: `/system/dict/type/${dictId}`,
|
||||
method: 'get',
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -402,7 +402,7 @@ onMounted(() => {
|
||||
|
||||
// 指定任务id数据列表
|
||||
if (dictId && dictId !== '0') {
|
||||
doGetDataInfo(dictId).then(res => {
|
||||
doGetType(dictId).then(res => {
|
||||
if (!res.error) {
|
||||
searchParams.dictType = res.data.dictType;
|
||||
getData();
|
||||
|
||||
Reference in New Issue
Block a user