|
@@ -5,8 +5,8 @@
|
|
|
<!-- <div slot="header" class="clearfix"> -->
|
|
|
<el-breadcrumb separator-class="el-icon-arrow-right">
|
|
|
<el-breadcrumb-item>首页</el-breadcrumb-item>
|
|
|
- <el-breadcrumb-item :to="{ path: '/jc/routineMonitorqt' }">{{task_name}}</el-breadcrumb-item>
|
|
|
- <el-breadcrumb-item :to="{ path: '/jc/setTask' }">执行任务</el-breadcrumb-item>
|
|
|
+ <!-- <el-breadcrumb-item></el-breadcrumb-item> -->
|
|
|
+ <el-breadcrumb-item>任务详情</el-breadcrumb-item>
|
|
|
<el-breadcrumb-item>抽样</el-breadcrumb-item>
|
|
|
<el-breadcrumb-item>抽样单详情</el-breadcrumb-item>
|
|
|
</el-breadcrumb>
|
|
@@ -168,7 +168,11 @@
|
|
|
</el-upload> -->
|
|
|
</el-descriptions-item>
|
|
|
</el-descriptions>
|
|
|
- <!-- </el-card> -->
|
|
|
+ <el-form>
|
|
|
+ <el-form-item class="btn">
|
|
|
+ <el-button type="primary" @click="backTaskDetail()">返回任务详情</el-button>
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -192,6 +196,17 @@
|
|
|
this.getSampleDetail()
|
|
|
},
|
|
|
methods: {
|
|
|
+ //返回任务详情页面
|
|
|
+ async backTaskDetail() {
|
|
|
+ var that = this
|
|
|
+ console.log(that.form.task_id)
|
|
|
+ this.$router.push({
|
|
|
+ name: 'setTaskcd',
|
|
|
+ params: {
|
|
|
+ id: that.form.task_id
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
// 获取样本详情
|
|
|
async getSampleDetail() {
|
|
|
// let that = this
|
|
@@ -205,17 +220,7 @@
|
|
|
this.unit_sample = this.form.unitSample
|
|
|
console.log(this.form)
|
|
|
},
|
|
|
- // 返回
|
|
|
- back() {
|
|
|
- var that = this
|
|
|
- this.$router.push({
|
|
|
- name: 'setTask',
|
|
|
- params: {
|
|
|
- id: that.id
|
|
|
- }
|
|
|
- })
|
|
|
- }
|
|
|
- },
|
|
|
+ }
|
|
|
}
|
|
|
</script>
|
|
|
|
|
@@ -229,6 +234,11 @@
|
|
|
width: 80%;
|
|
|
margin: auto;
|
|
|
}
|
|
|
+ .btn{
|
|
|
+ margin-top:20px ;
|
|
|
+ // float: right;
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
|
|
|
/deep/ .el-descriptions__title {
|
|
|
margin: auto;
|