diff --git a/src/api/dataformatsRules.js b/src/api/dataformatsRules.js new file mode 100644 index 0000000..5b9f145 --- /dev/null +++ b/src/api/dataformatsRules.js @@ -0,0 +1,15 @@ +import { getAction, deleteAction, putAction, postAction } from '@/api/manage' + +const createRules = (params)=>postAction("/dataFormatRules/createRules",params); +const updateRules = (params)=>putAction("/dataFormatRules/updateRules",params); +const deleteRules = (params)=>deleteAction("/dataFormatRules/deleteRules",params); +const queryPage = (params)=>getAction("/dataFormatRules/queryPage",params); +const queryById = (params)=>getAction("/dataFormatRules/queryById",params); + +export { + createRules, + updateRules, + deleteRules, + queryPage, + queryById +} \ No newline at end of file diff --git a/src/api/datatypeConversionRules.js b/src/api/datatypeConversionRules.js new file mode 100644 index 0000000..cff73e5 --- /dev/null +++ b/src/api/datatypeConversionRules.js @@ -0,0 +1,15 @@ +import { getAction, deleteAction, putAction, postAction } from '@/api/manage' + +const createRules = (params)=>postAction("/typeConversionRules/createRules",params); +const updateRules = (params)=>putAction("/typeConversionRules/updateRules",params); +const deleteRules = (params)=>deleteAction("/typeConversionRules/deleteRules",params); +const queryPage = (params)=>getAction("/typeConversionRules/queryPage",params); +const queryById = (params)=>getAction("/typeConversionRules/queryById",params); + +export { + createRules, + updateRules, + deleteRules, + queryPage, + queryById +} \ No newline at end of file diff --git a/src/api/deEmphasisRules.js b/src/api/deEmphasisRules.js new file mode 100644 index 0000000..43a70df --- /dev/null +++ b/src/api/deEmphasisRules.js @@ -0,0 +1,17 @@ +import { getAction, deleteAction, putAction, postAction } from '@/api/manage' + +const createRules = (params)=>postAction("/duplicationRules/createRules",params); +const updateRules = (params)=>putAction("/duplicationRules/updateRules",params); +const deleteRules = (params)=>deleteAction("/duplicationRules/deleteRules",params); +const queryPage = (params)=>getAction("/duplicationRules/queryPage",params); +const queryById = (params)=>getAction("/duplicationRules/queryById",params); +const querytableColumns = (params)=>getAction("/duplicationRules/getTableColumns",params); + +export { + createRules, + updateRules, + deleteRules, + queryPage, + queryById, + querytableColumns +} \ No newline at end of file diff --git a/src/api/metaData.js b/src/api/metaData.js index 38af4ae..4b68322 100644 --- a/src/api/metaData.js +++ b/src/api/metaData.js @@ -3,9 +3,10 @@ import { getAction, deleteAction, putAction, postAction } from '@/api/manage' const metaDataTypeTree = (params)=>getAction("/dataManager/getAllTable",params); const metaDatalist = (params)=>getAction("/dataManager/getTableColumns",params); const tableDataList = (params)=>getAction("/dataManager/getTableData",params); +const tableIndexes = (params)=>getAction("/tableIndex/getTableIndexes",params); export { metaDataTypeTree, metaDatalist, - tableDataList + tableIndexes } \ No newline at end of file diff --git a/src/api/missingvalueRules.js b/src/api/missingvalueRules.js new file mode 100644 index 0000000..33513bc --- /dev/null +++ b/src/api/missingvalueRules.js @@ -0,0 +1,15 @@ +import { getAction, deleteAction, putAction, postAction } from '@/api/manage' + +const createRules = (params)=>postAction("/missingValueRules/createRules",params); +const updateRules = (params)=>putAction("/missingValueRules/updateRules",params); +const deleteRules = (params)=>deleteAction("/missingValueRules/deleteRules",params); +const queryPage = (params)=>getAction("/missingValueRules/queryPage",params); +const queryById = (params)=>getAction("/missingValueRules/queryById",params); + +export { + createRules, + updateRules, + deleteRules, + queryPage, + queryById +} \ No newline at end of file diff --git a/src/assets/less/Suless.less b/src/assets/less/Suless.less index 35659ba..c47e0ac 100644 --- a/src/assets/less/Suless.less +++ b/src/assets/less/Suless.less @@ -1078,7 +1078,7 @@ tr.ant-table-expanded-row:hover { background-color: transparent !important; color: #00A2FF; height: 50px; - font-family: 'MyCustomFont1', sans-serif; + // font-family: 'MyCustomFont1', sans-serif; font-weight: 400 !important; font-size: 16px !important; } diff --git a/src/components/layouts/TabLayout.vue b/src/components/layouts/TabLayout.vue index 934353e..6509007 100644 --- a/src/components/layouts/TabLayout.vue +++ b/src/components/layouts/TabLayout.vue @@ -36,7 +36,7 @@ import Contextmenu from '@/components/menu/Contextmenu' import { mixin, mixinDevice } from '@/utils/mixin.js' import { triggerWindowResizeEvent } from '@/utils/util' - const indexKey = '/dashboard/analysis' + const indexKey = '/home/index' import Vue from 'vue' import { CACHE_INCLUDED_ROUTES } from "@/store/mutation-types" diff --git a/src/components/page/PageLayout.vue b/src/components/page/PageLayout.vue index 329e29a..aa3eeae 100644 --- a/src/components/page/PageLayout.vue +++ b/src/components/page/PageLayout.vue @@ -124,6 +124,10 @@ export default { if (this.menuList && this.menuList.length > 0) { var choseMenu = this.menuList.filter(item => item.meta.title == this.title) if (choseMenu && choseMenu.length > 0) this.current = choseMenu[0].id + else { + this.current = this.menuList[0].id + this.$router.push({ name: this.menuList[0].name, path: this.menuList[0].path }) + } } }, handleClick(e) { @@ -138,7 +142,7 @@ export default { \ No newline at end of file diff --git a/src/views/datawashing/datatypeConversionRules/index.vue b/src/views/datawashing/datatypeConversionRules/index.vue new file mode 100644 index 0000000..4325455 --- /dev/null +++ b/src/views/datawashing/datatypeConversionRules/index.vue @@ -0,0 +1,199 @@ + + \ No newline at end of file diff --git a/src/views/datawashing/datatypeConversionRules/rulesModel.vue b/src/views/datawashing/datatypeConversionRules/rulesModel.vue new file mode 100644 index 0000000..2328c8a --- /dev/null +++ b/src/views/datawashing/datatypeConversionRules/rulesModel.vue @@ -0,0 +1,159 @@ + + + + + \ No newline at end of file diff --git a/src/views/datawashing/deEmphasisRules/index.vue b/src/views/datawashing/deEmphasisRules/index.vue new file mode 100644 index 0000000..c068fc5 --- /dev/null +++ b/src/views/datawashing/deEmphasisRules/index.vue @@ -0,0 +1,215 @@ + + \ No newline at end of file diff --git a/src/views/datawashing/deEmphasisRules/modules/rulesModel.vue b/src/views/datawashing/deEmphasisRules/modules/rulesModel.vue new file mode 100644 index 0000000..9696b83 --- /dev/null +++ b/src/views/datawashing/deEmphasisRules/modules/rulesModel.vue @@ -0,0 +1,151 @@ + + + + + \ No newline at end of file diff --git a/src/views/datawashing/missingvalueRules/index.vue b/src/views/datawashing/missingvalueRules/index.vue new file mode 100644 index 0000000..312d582 --- /dev/null +++ b/src/views/datawashing/missingvalueRules/index.vue @@ -0,0 +1,238 @@ + + \ No newline at end of file diff --git a/src/views/datawashing/missingvalueRules/rulesModel.vue b/src/views/datawashing/missingvalueRules/rulesModel.vue new file mode 100644 index 0000000..0b180b0 --- /dev/null +++ b/src/views/datawashing/missingvalueRules/rulesModel.vue @@ -0,0 +1,153 @@ + + + + + \ No newline at end of file diff --git a/src/views/user/Login.vue b/src/views/user/Login.vue index 766f25d..2e48f20 100644 --- a/src/views/user/Login.vue +++ b/src/views/user/Login.vue @@ -230,7 +230,7 @@ export default { description: `${timeFix()},欢迎回来`, }) this.loginBtn = false - this.$router.push({ path: '/dashboard/analysis' }).then(() => { + this.$router.push({ path: '/home/index' }).then(() => { console.log('222') }).catch(() => { console.log('登录跳转首页出错,这个错误从哪里来的') diff --git a/src/views/user/third/JeecgThirdLoginMixin.js b/src/views/user/third/JeecgThirdLoginMixin.js index a7a6d5b..ebefb74 100644 --- a/src/views/user/third/JeecgThirdLoginMixin.js +++ b/src/views/user/third/JeecgThirdLoginMixin.js @@ -183,7 +183,7 @@ export const JeecgThirdLoginMixin = { // update-begin- author:sunjianlei --- date:20190812 --- for: 登录成功后不解除禁用按钮,防止多次点击 // this.loginBtn = false // update-end- author:sunjianlei --- date:20190812 --- for: 登录成功后不解除禁用按钮,防止多次点击 - this.$router.push({ path: "/dashboard/analysis" }).catch(()=>{ + this.$router.push({ path: "/home/index" }).catch(()=>{ console.log('登录跳转首页出错,这个错误从哪里来的') }) this.$notification.success({