提交 d3dd97cd 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!39 UI Linkage of lineages: model and dataset

Merge pull request !39 from 潘慧/master_ph
...@@ -43,13 +43,18 @@ ...@@ -43,13 +43,18 @@
"lossFunc": "损失函数", "lossFunc": "损失函数",
"learningRate": "学习率", "learningRate": "学习率",
"modelSize": "模型大小", "modelSize": "模型大小",
"dataProcess": "数据处理" "dataProcess": "数据处理",
"noDataFound":"暂无满足筛选条件的数据",
"noDataTips":"请点击“显示全量数据”按钮查看全量数据"
}, },
"dataTraceback": { "dataTraceback": {
"details": "详情", "details": "详情",
"key": "KEY", "key": "KEY",
"value": "VALUE", "value": "VALUE",
"dataTraceTips": "该数据涉及合并操作" "dataTraceTips": "该数据涉及合并操作",
"noDataFound":"暂无满足筛选条件的数据",
"noDataTips":"请点击“显示全量数据”按钮查看全量数据"
}, },
"trainingDashboard": { "trainingDashboard": {
"trainingDashboardTitle": "训练看板", "trainingDashboardTitle": "训练看板",
......
...@@ -25,19 +25,11 @@ export default { ...@@ -25,19 +25,11 @@ export default {
}); });
}, },
// query dataset lineage // NEW API for model and data source tracing
getDatasetLineage() { queryLineagesData(params) {
return axios({ return axios({
method: 'post', method: 'post',
url: 'v1/mindinsight/datasets/dataset_lineage', url: '/v1/mindinsight/lineagemgr/lineages',
});
},
// query model versions
queryModelVersions(params) {
return axios({
method: 'post',
url: 'v1/mindinsight/models/model_lineage',
data: params.body, data: params.body,
}); });
}, },
......
...@@ -27,8 +27,9 @@ export default new Vuex.Store({ ...@@ -27,8 +27,9 @@ export default new Vuex.Store({
// Scheduled reload flag // Scheduled reload flag
isTimeReload: localStorage.isTimeReload === 'false' ? false : true, isTimeReload: localStorage.isTimeReload === 'false' ? false : true,
// reload time // reload time
timeReloadValue: localStorage.timeReloadValue ? localStorage.timeReloadValue : 3, timeReloadValue: localStorage.timeReloadValue
? localStorage.timeReloadValue
: 3,
}, },
mutations: { mutations: {
// set cancelTokenArr // set cancelTokenArr
...@@ -46,6 +47,15 @@ export default new Vuex.Store({ ...@@ -46,6 +47,15 @@ export default new Vuex.Store({
setIsReload: (state, val) => { setIsReload: (state, val) => {
state.isReload = val; state.isReload = val;
}, },
setSummaryDirList: (state, val) => {
state.summaryDirList = val;
},
setSelectedBarList: (state, val) => {
state.selectedBarList = val;
},
customizedColumnOptions: (state, val) => {
state.customizedColumnOptions = val;
},
// set isTimeReload // set isTimeReload
setIsTimeReload: (state, val) => { setIsTimeReload: (state, val) => {
state.isTimeReload = val; state.isTimeReload = val;
...@@ -53,7 +63,6 @@ export default new Vuex.Store({ ...@@ -53,7 +63,6 @@ export default new Vuex.Store({
setTimeReloadValue: (state, val) => { setTimeReloadValue: (state, val) => {
state.timeReloadValue = val; state.timeReloadValue = val;
}, },
}, },
actions: {}, actions: {},
}); });
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册