Commit 69adfd91 by liushikai

任务列表tabs调整

parent cef5c133
...@@ -22,7 +22,14 @@ const Status = { ...@@ -22,7 +22,14 @@ const Status = {
// 暂存 // 暂存
stash: false stash: false
}, },
taskListTabVal: '' taskListTabVal: '',
taskList: {
sptsel: 0,
trnrel: 0,
bopsel: 0,
sptbrk: 0,
diasel: 0,
}
}, },
mutations: { mutations: {
setMode(state, value) { setMode(state, value) {
...@@ -82,6 +89,9 @@ const Status = { ...@@ -82,6 +89,9 @@ const Status = {
}, },
setTaskListTabVal(state, value) { setTaskListTabVal(state, value) {
state.taskListTabVal = value; state.taskListTabVal = value;
},
setTaskList(state, options) {
state.taskList[options.key] = options.val;
} }
} }
} }
......
...@@ -291,6 +291,10 @@ ...@@ -291,6 +291,10 @@
<c-col :span="24"> <c-col :span="24">
<c-istream-table :list="stmData.data" :columns="stmData.columns"> <c-istream-table :list="stmData.data" :columns="stmData.columns">
<el-table-column fixed="right" prop="op" label="操作" width="140px"> <el-table-column fixed="right" prop="op" label="操作" width="140px">
<template slot="header">
<c-col :span="11" style="text-align:left"><span>操作</span></c-col>
<c-col :span="12" style="text-align:right"><c-button icon="el-icon-s-tools"></c-button></c-col>
</template>
<template slot-scope="scope"> <template slot-scope="scope">
<c-button <c-button
style="margin-left: 0" style="margin-left: 0"
......
...@@ -295,9 +295,9 @@ ...@@ -295,9 +295,9 @@
style="margin-left: 0" style="margin-left: 0"
size="small" size="small"
type="primary" type="primary"
@click="onDetails" @click="onDelete"
> >
详情 删除
</c-button> </c-button>
</template> </template>
</el-table-column> </el-table-column>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment