|
@@ -108,7 +108,7 @@
|
|
|
</el-col>
|
|
|
<el-col style="margin-bottom: 5px;">
|
|
|
<el-button type="success" size="mini" plain @click="undertakeReport()">承担单位报告</el-button>
|
|
|
- <el-button type="success" size="mini" plain @click="taskSample()">抽样单</el-button>
|
|
|
+ <el-button type="success" size="mini" plain @click="taskSample(scope.row.id)">抽样单</el-button>
|
|
|
</el-col>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -301,18 +301,18 @@
|
|
|
add() {
|
|
|
this.$router.push('addTask')
|
|
|
},
|
|
|
- ttaskSample() {
|
|
|
- this.$router.push('taskSample')
|
|
|
- },
|
|
|
takeTheLeadReport() {
|
|
|
this.$router.push('takeTheLeadReportList')
|
|
|
},
|
|
|
undertakeReport(){
|
|
|
this.$router.push('undertakeReport')
|
|
|
},
|
|
|
- taskSample(){
|
|
|
- this.$router.push('taskSample')
|
|
|
+ taskSample(id){
|
|
|
+ this.$router.push(
|
|
|
+ 'taskSample')
|
|
|
+ params:{task_id:id}
|
|
|
},
|
|
|
+
|
|
|
// 搜索
|
|
|
async searchData() {
|
|
|
this.queryInfo.pageNum = 1
|