文档服务地址:http://47.92.0.57:3000/ 周报索引地址:http://47.92.0.57:3000/s/NruNXRYmV

Commit 6a61112e by 郭婉茹

文本的合并

parent 4ae22622
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
label="操作" label="操作"
width="180"> width="180">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="primary">查看详情</el-button> <el-button type="primary" @click="start()">查看详情</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
...@@ -137,6 +137,9 @@ ...@@ -137,6 +137,9 @@
if (this.checkedPieces.length === 0) { if (this.checkedPieces.length === 0) {
alert('请选择分片') alert('请选择分片')
} }
},
start(){
this.$router.push('/selected');
} }
} }
} }
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
label="操作" label="操作"
width="180"> width="180">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="primary">查看详情</el-button> <el-button type="primary" @click="start()">查看详情</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
...@@ -116,6 +116,9 @@ ...@@ -116,6 +116,9 @@
if (this.checkedPieces.length === 0) { if (this.checkedPieces.length === 0) {
alert('请选择分片') alert('请选择分片')
} }
},
start(){
this.$router.push('/selected');
} }
} }
} }
......
...@@ -13,6 +13,7 @@ import ongoingtaskdetail from '../components/OngoingTaskDetail' ...@@ -13,6 +13,7 @@ import ongoingtaskdetail from '../components/OngoingTaskDetail'
import completeddetail from '../components/CompletedTaskDetail' import completeddetail from '../components/CompletedTaskDetail'
import checkdetail from '../components/CheckDetail' import checkdetail from '../components/CheckDetail'
import SelectText from '../components/textAnnotation/SelectText' import SelectText from '../components/textAnnotation/SelectText'
import SelectedText from '../components/textAnnotation/SelectedText'
import Table from '../components/textAnnotation/Table' import Table from '../components/textAnnotation/Table'
import imageAnnotiation from '../components/imageAnnotation/imageAnnotiation' import imageAnnotiation from '../components/imageAnnotation/imageAnnotiation'
import layerAnnotation from '../components/imageAnnotation/layerAnnotation'; import layerAnnotation from '../components/imageAnnotation/layerAnnotation';
...@@ -88,6 +89,11 @@ export default new Router({ ...@@ -88,6 +89,11 @@ export default new Router({
component: SelectText component: SelectText
}, },
{ {
path: '/selected',
name: 'SelectedText',
component: SelectedText
},
{
path: '/table', path: '/table',
name: 'table', name: 'table',
component: Table component: Table
......
No preview for this file type
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