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