Commit edde900f authored by yanzhongrong's avatar yanzhongrong

reset getinit

parent 5f828a3b
...@@ -41,7 +41,7 @@ if (!server) { ...@@ -41,7 +41,7 @@ if (!server) {
} }
const basePath = '/home' //服务器网站根目录 const basePath = '/home' //服务器网站根目录
let baseDir = '/changfa/app/apache-tomcat-8.5.5new/webapps/dist' //项目目录名称 let baseDir = '/changfa/app/apache-tomcat-8.5.56new/webapps/dist' //项目目录名称
let back_up_dir = '' //备份目录名称,需手动创建,可选,注意目录名后有斜杠 比如 back_up/ let back_up_dir = '' //备份目录名称,需手动创建,可选,注意目录名后有斜杠 比如 back_up/
const bakDirName = baseDir + '.bak' + moment(new Date()).format('YYYY-M-D-HH:mm:ss') //备份文件名 const bakDirName = baseDir + '.bak' + moment(new Date()).format('YYYY-M-D-HH:mm:ss') //备份文件名
const buildPath = path.resolve('./dist') //本地项目编译后的文件目录 const buildPath = path.resolve('./dist') //本地项目编译后的文件目录
......
File deleted
...@@ -45,6 +45,7 @@ export default { ...@@ -45,6 +45,7 @@ export default {
reset() { reset() {
this.dateRange = [] this.dateRange = []
this.form = formInit() this.form = formInit()
this.$emit('search')
}, },
} }
} }
......
...@@ -57,6 +57,7 @@ export default { ...@@ -57,6 +57,7 @@ export default {
this.uploadRange = [] this.uploadRange = []
this.cancelRange = [] this.cancelRange = []
this.form = formInit() this.form = formInit()
this.$emit('search')
}, },
} }
} }
......
...@@ -53,6 +53,7 @@ export default { ...@@ -53,6 +53,7 @@ export default {
}, },
reset() { reset() {
this.form = formInit() this.form = formInit()
this.$emit('search')
}, },
getInit() { getInit() {
commonQuery().then(res => { commonQuery().then(res => {
......
...@@ -41,6 +41,7 @@ export default { ...@@ -41,6 +41,7 @@ export default {
}, },
reset() { reset() {
this.form = formInit() this.form = formInit()
this.$emit('search')
}, },
getInit() { getInit() {
commonQuery().then(res => { commonQuery().then(res => {
......
...@@ -40,6 +40,7 @@ export default { ...@@ -40,6 +40,7 @@ export default {
}, },
reset() { reset() {
this.form = formInit() this.form = formInit()
this.$emit('search')
}, },
} }
} }
......
...@@ -52,6 +52,7 @@ export default { ...@@ -52,6 +52,7 @@ export default {
}, },
reset() { reset() {
this.form = formInit() this.form = formInit()
this.$emit('search')
}, },
getInit() { getInit() {
commonQuery().then(res => { commonQuery().then(res => {
......
...@@ -62,6 +62,7 @@ export default { ...@@ -62,6 +62,7 @@ export default {
}, },
reset() { reset() {
this.form = formInit() this.form = formInit()
this.$emit('search')
}, },
getInit() { getInit() {
selectDictType({dictType: '06'}).then(res => { selectDictType({dictType: '06'}).then(res => {
......
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