Commit 3b49275b authored by yaqizhang's avatar yaqizhang

全部详情

parent 5e71e661
......@@ -106,19 +106,6 @@ export const constantRoutes = [
}
]
},
{
path: '/basicsInfo',
component: Layout,
hidden: true,
children: [
{
path: 'detail',
component: (resolve) => require(['@/views/workOrder/basicsInfo/detail'], resolve),
name: 'basicsInfo-detail',
meta: { title: '详情' }
}
],
},
{
path: '/basicsInfo',
component: Layout,
......@@ -132,19 +119,6 @@ export const constantRoutes = [
}
]
},
{
path: '/feedback',
component: Layout,
hidden: true,
children: [
{
path: 'feedbackdetail',
component: (resolve) => require(['@/views/workOrder/feedback/feedbackdetail'], resolve),
name: 'feedback-feedbackdetail',
meta: { title: '详情' }
}
],
},
{
path: '/feedback',
component: Layout,
......@@ -158,19 +132,6 @@ export const constantRoutes = [
}
]
},
{
path: '/inspectionPlan',
component: Layout,
hidden: true,
children: [
{
path: 'inspectiondetail',
component: (resolve) => require(['@/views/deviceInspection/inspectionPlan/inspectiondetail'], resolve),
name: 'inspectionPlan-inspectiondetail',
meta: { title: '详情' }
}
],
},
{
path: '/inspectionPlan',
component: Layout,
......@@ -184,19 +145,6 @@ export const constantRoutes = [
}
]
},
{
path: '/deviceAlarm',
component: Layout,
hidden: true,
children: [
{
path: 'alarmdetail',
component: (resolve) => require(['@/views/dataMonitoring/deviceAlarm/alarmdetail'], resolve),
name: 'deviceAlarm-alarmdetail',
meta: { title: '详情' }
}
],
},
{
path: '/deviceAlarm',
component: Layout,
......@@ -210,19 +158,6 @@ export const constantRoutes = [
}
]
},
{
path: '/realtimeData',
component: Layout,
hidden: true,
children: [
{
path: 'realtimedetail',
component: (resolve) => require(['@/views/dataMonitoring/realtimeData/realtimedetail'], resolve),
name: 'realtimeData-realtimedetail',
meta: { title: '详情' }
}
],
},
{
path: '/realtimeData',
component: Layout,
......@@ -236,19 +171,6 @@ export const constantRoutes = [
}
]
},
{
path: '/reportData',
component: Layout,
hidden: true,
children: [
{
path: 'reportdetail',
component: (resolve) => require(['@/views/dataMonitoring/reportData/reportdetail'], resolve),
name: 'reportData-reportdetail',
meta: { title: '详情' }
}
],
},
{
path: '/reportData',
component: Layout,
......
......@@ -29,9 +29,6 @@
<el-form-item label="设备编号:" prop="deviceCode">
<font>{{form.deviceCode}}</font>
</el-form-item>
<el-form-item label="设备信息:" prop="alarmId">
<font>{{form.alarmId}}</font>
</el-form-item>
</el-form>
<el-form ref="form" v-model="form" :rules="rules" label-width="100px" style="float: left;margin-left: 50px;">
<el-form-item label="报警类型:" prop="alarmType">
......
......@@ -349,7 +349,7 @@ export default {
/** 详细信息跳转 */
showDetail(row) {
this.$router.push({
path: '/deviceAlarm/alarmdetail',
path: '/dataMonitoring/alarmdetail',
query: {
alarmId: row.alarmId
}
......
......@@ -175,7 +175,7 @@ export default {
//详情按钮
showDetail(row) {
this.$router.push({
path: '/realtimeData/realtimedetail',
path: '/dataMonitoring/realtimedetail',
query:{
deviceId : row.deviceId
}
......
......@@ -302,7 +302,7 @@
/** 详细信息跳转 */
showDetail(row) {
this.$router.push({
path: '/inspectionPlan/inspectiondetail',
path: '/deviceInspection/inspectiondetail',
query:{
planId : row.planId
}
......
......@@ -324,7 +324,7 @@ export default {
/** 详细信息跳转 */
showDetail(row) {
this.$router.push({
path: '/basicsInfo/detail',
path: '/workOrder/detail',
query:{
orderId : row.orderId
}
......
......@@ -349,7 +349,7 @@
/** 详细信息跳转 */
showDetail(row) {
this.$router.push({
path: '/feedback/feedbackdetail',
path: '/workOrder/feedbackdetail',
query:{
orderId : row.orderId
}
......
......@@ -493,9 +493,9 @@ export default {
this.resetForm("form");
},
/** 反馈按钮操作 */
handleFeedback(row) {
handleFeedback(orderId) {
this.open = true;
const orderId = row.orderId || this.ids
//const orderId = row.orderId || this.ids
getBasicsInfo(orderId).then(response => {
this.form = response.data;
this.open = true;
......
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