Commit 35f9d249 authored by 徐来柯's avatar 徐来柯

update

parent 05839ea7
...@@ -142,6 +142,10 @@ ...@@ -142,6 +142,10 @@
background: #ff4949 !important; background: #ff4949 !important;
color: #fff !important; color: #fff !important;
} }
input { input, textarea {
padding: 0 15px;
border: 1px solid #DCDFE6; border: 1px solid #DCDFE6;
}
textarea {
padding: 5px 15px;
} }
\ No newline at end of file
...@@ -253,12 +253,7 @@ export default { ...@@ -253,12 +253,7 @@ export default {
$this.cancelFun() $this.cancelFun()
} }
$this.deletetext = res.data.msg $this.deletetext = res.data.msg
var postData = { var postData = $this.resetData()
argKeyWord: $this.$refs.head.input,
argWhere: $this.$refs.head.argWhere,
Stime: $this.$refs.head.dateValue ? $this.moment(this.dateValue[0]).format('YYYY-MM-DD HH:mm:ss') : ' ',
Etime: $this.$refs.head.dateValue ? $this.moment(this.dateValue[1]).format('YYYY-MM-DD HH:mm:ss') : ' '
}
$this.query(postData) $this.query(postData)
}).catch(function(err){ }).catch(function(err){
console.log('err',err) console.log('err',err)
...@@ -282,16 +277,19 @@ export default { ...@@ -282,16 +277,19 @@ export default {
$this.cancelFun() $this.cancelFun()
} }
$this.deletetext = res.data.msg $this.deletetext = res.data.msg
var postData = { var postData = $this.resetData()
argKeyWord: $this.$refs.head.input,
argWhere: $this.$refs.head.argWhere,
Stime: $this.$refs.head.dateValue ? $this.$moment(this.dateValue[0]).format('YYYY-MM-DD HH:mm:ss') : ' ',
Etime: $this.$refs.head.dateValue ? $this.$moment(this.dateValue[1]).format('YYYY-MM-DD HH:mm:ss') : ' '
}
$this.query(postData) $this.query(postData)
}).catch(function(err){ }).catch(function(err){
console.log('err',err) console.log('err',err)
}) })
},
resetData () {
return {
argKeyWord: this.$refs.head.input,
argWhere: this.$refs.head.argWhere,
Stime: this.$refs.head.dateValue ? this.$moment(this.$refs.head.dateValue[0]).format('YYYY-MM-DD HH:mm:ss') : ' ',
Etime: this.$refs.head.dateValue ? this.$moment(this.$refs.head.dateValue[1]).format('YYYY-MM-DD HH:mm:ss') : ' '
}
}, },
//删除数据 //删除数据
deleteData(data){ deleteData(data){
......
...@@ -62,7 +62,8 @@ ...@@ -62,7 +62,8 @@
<el-table-column <el-table-column
label="操作" label="操作"
show-overflow-tooltip> show-overflow-tooltip
width="170">
<template slot-scope="scope"> <template slot-scope="scope">
<div class="table_edit" @click="editFun(scope.row)" > <div class="table_edit" @click="editFun(scope.row)" >
<div class="edit_img"></div> <div class="edit_img"></div>
......
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