From 8f42a4f1f7b2136a0ca69452a4f78e924b21faf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E9=98=94?= Date: Thu, 21 Nov 2024 12:06:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A8=A1=E5=9E=8B=E8=A7=84?= =?UTF-8?q?=E5=88=99=E6=98=BE=E7=A4=BA=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/ProcedureConfig.vue | 3 - src/views/IndexProcess/SqlRule/SqlRule.vue | 1 - src/views/dataset/CodeRepItem/CodeRepItem.vue | 70 +-- .../dataset/CodeRepTarget/CodeRepTarget.vue | 48 +- .../dataset/RepDataModel/RepDataModel.vue | 5 +- src/views/dataset/RepIndexSet/RepIndexSet.vue | 4 +- src/views/dataset/RepStore/RepStore.vue | 2 +- .../dataset/RepStore/components/Write.vue | 416 ++++++++++-------- src/views/dataset/RepStore/constants.ts | 2 +- .../RepStoreParameter/RepStoreParameter.vue | 3 +- 10 files changed, 308 insertions(+), 246 deletions(-) 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 () => {