diff --git a/src/views/IndexProcess/ProcedureRule/components/ProcedureConfig.vue b/src/views/IndexProcess/ProcedureRule/components/ProcedureConfig.vue index 194fb43..20d7269 100644 --- a/src/views/IndexProcess/ProcedureRule/components/ProcedureConfig.vue +++ b/src/views/IndexProcess/ProcedureRule/components/ProcedureConfig.vue @@ -103,7 +103,6 @@ watch( () => props.ruleInfo, (ruleInfo) => { if (!ruleInfo) return - console.log(ruleInfo,"ruleInfo信息"); sqlInfo = reactive(Object.assign(sqlInfo,ruleInfo)); // if(editorInstance){ // const model = editorInstance.getModel(); @@ -131,13 +130,11 @@ const rules = reactive({ }) //提交当前界面的信息 const submit = async () =>{ - console.log(sqlInfo); if(!sqlInfo.dataSourceId){ ElMessage.warning('请选择数据源信息'); return false; } const model = editorInstance.getModel(); - console.log(model.getValue(),"sql的信息"); if(!model.getValue()){ ElMessage.warning('请输入SQL语句'); return false; diff --git a/src/views/IndexProcess/SqlRule/SqlRule.vue b/src/views/IndexProcess/SqlRule/SqlRule.vue index 5da045a..45d11fe 100644 --- a/src/views/IndexProcess/SqlRule/SqlRule.vue +++ b/src/views/IndexProcess/SqlRule/SqlRule.vue @@ -37,7 +37,6 @@ const procedureConfigSubmit = await procedureConfigRef.value?.submit(); let setParamsSubmit = await setParamsRef.value?.submit(); const basicInfoSubmit = await basicInfoRef.value?.submit(); - console.log(props.currentRow,"props.currentRow"); if(!procedureConfigSubmit || !basicInfoSubmit){ return; } diff --git a/src/views/dataset/CodeRepItem/CodeRepItem.vue b/src/views/dataset/CodeRepItem/CodeRepItem.vue index 1abc065..96d5fc7 100644 --- a/src/views/dataset/CodeRepItem/CodeRepItem.vue +++ b/src/views/dataset/CodeRepItem/CodeRepItem.vue @@ -45,16 +45,16 @@ const ruleConfigRef = ref>() //获取字典项 const getDictInfoList = async ()=>{ - const indexType = await getIndexType({ paramName: 'indexType_param', systemCode: 'ordb' }); - indexType_param_LIST.value = transfDictList(indexType.body.result); - const indexCalType = await getIndexType({ paramName: 'indexCalType_param', systemCode: 'ordb' }); - indexCalType_param_LIST.value = transfDictList(indexCalType.body.result); - const indexDataType = await getIndexType({ paramName: 'indexDataType_param', systemCode: 'ordb' }); - indexDataType_param_LIST.value = transfDictList(indexDataType.body.result); - const indexDataPrecision = await getIndexType({ paramName: 'indexDataPrecision_param', systemCode: 'ordb' }); - indexDataPrecision_param_LIST.value = transfDictList(indexDataPrecision.body.result); - const indexDataUnit = await getIndexType({ paramName: 'indexDataUnit_param', systemCode: 'ordb' }); - indexDataUnit_param_LIST.value = transfDictList(indexDataUnit.body.result); + const indexType = await getIndexType({ paramName: 'indexType_param', systemCode: 'ordb' }); + indexType_param_LIST.value = transfDictList(indexType.body.result); + const indexCalType = await getIndexType({ paramName: 'indexCalType_param', systemCode: 'ordb' }); + indexCalType_param_LIST.value = transfDictList(indexCalType.body.result); + const indexDataType = await getIndexType({ paramName: 'indexDataType_param', systemCode: 'ordb' }); + indexDataType_param_LIST.value = transfDictList(indexDataType.body.result); + const indexDataPrecision = await getIndexType({ paramName: 'indexDataPrecision_param', systemCode: 'ordb' }); + indexDataPrecision_param_LIST.value = transfDictList(indexDataPrecision.body.result); + const indexDataUnit = await getIndexType({ paramName: 'indexDataUnit_param', systemCode: 'ordb' }); + indexDataUnit_param_LIST.value = transfDictList(indexDataUnit.body.result); } getDictInfoList(); @@ -145,6 +145,8 @@ const tableColumns = reactive([ label: t('tableDemo.action'), width: 160, fixed: 'right', + align:'center', + headerAlign:"center", slots: { default: (data: any) => { return ( @@ -338,31 +340,31 @@ const exportExcel = async () => {