Commit 69adfd91 by liushikai

任务列表tabs调整

parent cef5c133
......@@ -22,7 +22,14 @@ const Status = {
// 暂存
stash: false
},
taskListTabVal: ''
taskListTabVal: '',
taskList: {
sptsel: 0,
trnrel: 0,
bopsel: 0,
sptbrk: 0,
diasel: 0,
}
},
mutations: {
setMode(state, value) {
......@@ -82,6 +89,9 @@ const Status = {
},
setTaskListTabVal(state, value) {
state.taskListTabVal = value;
},
setTaskList(state, options) {
state.taskList[options.key] = options.val;
}
}
}
......
......@@ -291,6 +291,10 @@
<c-col :span="24">
<c-istream-table :list="stmData.data" :columns="stmData.columns">
<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">
<c-button
style="margin-left: 0"
......
......@@ -295,9 +295,9 @@
style="margin-left: 0"
size="small"
type="primary"
@click="onDetails"
@click="onDelete"
>
详情
删除
</c-button>
</template>
</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