Commit 3b49275b authored by yaqizhang's avatar yaqizhang

全部详情

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