Commit a57b2bbf authored by 黄自鹏's avatar 黄自鹏

Merge branch 'master' of gitlab.gavelinfo.com:lisu/sgaqgl-vue

parents 62b5648d 0799699b
...@@ -1412,9 +1412,9 @@ export const constantRoutes = [ ...@@ -1412,9 +1412,9 @@ export const constantRoutes = [
children: [ children: [
{ {
path: 'index', path: 'index',
component: () => import('@/views/index'), component: () => import('@/views/threeViolations/homePage/index'),
name: 'Index', name: 'Index',
redirect: '/user/profile', // redirect: '/user/profile',
meta: { title: '首页', icon: 'dashboard', affix: true } meta: { title: '首页', icon: 'dashboard', affix: true }
} }
] ]
......
<template> <template>
<DefaultDialog :app='app'> <DefaultDialog :app='app' @close='close'>
<div class="min_full" slot='form' style="height: 550px;border: 0px;"> <div class="min_full" slot='form' style="height: 550px;border: 0px;">
...@@ -91,6 +91,9 @@ import { ...@@ -91,6 +91,9 @@ import {
} }
}, },
methods: { methods: {
close(){
this.app.$refs['TablePager'].pageQuery()
},
xzry(){ xzry(){
if (this.app.selectOne || this.app.clickOne) { if (this.app.selectOne || this.app.clickOne) {
this.DialogTitle='选择保养项目' this.DialogTitle='选择保养项目'
......
<template> <template>
<DefaultDialog :app='app'> <DefaultDialog :app='app' @close='close' >
<div class="min_full" slot='form' style="height: 550px;border: 0px;"> <div class="min_full" slot='form' style="height: 550px;border: 0px;">
...@@ -99,6 +99,9 @@ ...@@ -99,6 +99,9 @@
} }
}, },
methods: { methods: {
close(){
console.log('close')
},
xzry(){ xzry(){
if (this.app.selectOne || this.app.clickOne) { if (this.app.selectOne || this.app.clickOne) {
this.DialogTitle='选择保养项目' this.DialogTitle='选择保养项目'
......
<template> <template>
<DefaultDialog :app='app'> <DefaultDialog @close='close' :app='app'>
<el-form slot="form" ref="form" :model="form" label-width="120px" :rules="rules"> <el-form slot="form" ref="form" :model="form" label-width="120px" :rules="rules">
<el-row :gutter="20"> <el-row :gutter="20">
...@@ -99,6 +99,9 @@ props:['app'], ...@@ -99,6 +99,9 @@ props:['app'],
init() { init() {
}, },
close(){
console.log('close')
},
save(){ save(){
let params={ let params={
details:[{id:'',records:[]}], details:[{id:'',records:[]}],
......
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