Parcourir la source

修复前端显示bug

oyq28 il y a 3 ans
Parent
commit
4ceea010ac

+ 3 - 2
imcs-ui/src/main.js

@@ -30,6 +30,7 @@ Vue.use($moment);//赋值使用。this.$moment()
 
 // 打印
 import Print from 'vue-print-nb'
+import { resetMessage } from '@/utils/resetMessage'
 
 /************************ WKS添加本项目常量和方法(start)***************************/
 // 导入项目需要的【常量和方法】
@@ -55,7 +56,7 @@ Vue.use(Element, {
 })
 Vue.use(uploader)
 
-import { message } from '@/utils/resetMessage'
+
 
 Vue.prototype.$post = request.post
 Vue.prototype.$get = request.get
@@ -64,7 +65,7 @@ Vue.prototype.$delete = request.delete
 Vue.prototype.$download = request.download
 Vue.prototype.$upload = request.upload
 Vue.prototype.$login = request.login
-Vue.prototype.$message = message
+Vue.prototype.$message = resetMessage
 
 // register global utility filters
 Object.keys(filters).forEach(key => {

+ 1 - 1
imcs-ui/src/utils/resetMessage.js

@@ -17,4 +17,4 @@ const resetMessage = (options) => {
     return resetMessage(options)
   }
 })
-export const message = resetMessage
+export default resetMessage

+ 3 - 3
imcs-ui/src/views/zuihou/largeScreen/cabinLine/index.vue

@@ -922,9 +922,9 @@
 	  	boxCardClkCard(id){
 	  		let paths = "/runManageCenter/lineBoardDetail";
 				// 调用全局挂载的方法
-				this.$store.dispatch('tagsView/delView', this.$route).then(res => {
-					this.$router.push({ path: paths, query: { resourceId: id }}) //带参跳转
-				})
+				//this.$store.dispatch('tagsView/delView', this.$route).then(res => {
+				//	this.$router.push({ path: paths, query: { resourceId: id }}) //带参跳转
+				//})
 	  	},
 
 	  	// 加载背景颜色

+ 3 - 3
imcs-ui/src/views/zuihou/largeScreen/frameLine/index.vue

@@ -749,9 +749,9 @@
 	  	boxCardClkCard(id){
 	  		let paths = "/runManageCenter/lineBoardDetail";
 				// 调用全局挂载的方法
-				this.$store.dispatch('tagsView/delView', this.$route).then(res => {
-					this.$router.push({ path: paths, query: { resourceId: id }}) //带参跳转
-				})
+				//this.$store.dispatch('tagsView/delView', this.$route).then(res => {
+				//	this.$router.push({ path: paths, query: { resourceId: id }}) //带参跳转
+				//})
 	  	},
 
 	  	// 加载背景颜色

+ 3 - 3
imcs-ui/src/views/zuihou/largeScreen/supportCenter/index.vue

@@ -1012,9 +1012,9 @@
 	  	boxCardClkCard(id){
 	  		let paths = "/runManageCenter/lineBoardDetail";
 				// 调用全局挂载的方法
-				this.$store.dispatch('tagsView/delView', this.$route).then(res => {
-					this.$router.push({ path: paths, query: { resourceId: id }}) //带参跳转
-				})
+				//this.$store.dispatch('tagsView/delView', this.$route).then(res => {
+				//	this.$router.push({ path: paths, query: { resourceId: id }}) //带参跳转
+				//})
 	  	},
 
 	  	// 加载背景颜色