|
@@ -182,9 +182,9 @@
|
|
|
prop="zip" width="220" fixed="right"
|
|
|
label="操作">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button @click="$router.push({path:'/sign/detail',query:{id:scope.row.id}})" size="mini" type="success">详情</el-button>
|
|
|
- <el-button @click="$router.push({path:'/sign/edit',query:{id:scope.row.id}})" size="mini" type="warning">编辑</el-button>
|
|
|
- <el-button @click="mark(scope.row.id,scope.row.remark)" size="mini" type="primary">备注</el-button>
|
|
|
+ <el-button @click="goTo({path:'/sign/detail',query:{id:scope.row.id}})" size="mini" type="success">详情</el-button>
|
|
|
+ <el-button @click="goTo({path:'/sign/edit',query:{id:scope.row.id}})" size="mini" type="warning">编辑</el-button>
|
|
|
+ <el-button @click="mark(scope.row.id,scope.row.admin_remark)" size="mini" type="primary">备注</el-button>
|
|
|
<el-button @click="del(scope.row.id)" size="mini" type="danger">删除</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -267,6 +267,10 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
methods:{
|
|
|
+ goTo(path){
|
|
|
+ let url = this.$router.resolve(path)
|
|
|
+ window.open(url.href,'_blank')
|
|
|
+ },
|
|
|
gopage(size){
|
|
|
if(size){
|
|
|
this.form.page_size=size
|
|
@@ -340,7 +344,7 @@ export default {
|
|
|
cancelButtonText: '取消',
|
|
|
inputValue:val,
|
|
|
}).then(({ value }) => {
|
|
|
- this.$api.updateSign({id:id,remark:value}).then(res=>{
|
|
|
+ this.$api.updateSign({id:id,admin_remark:value}).then(res=>{
|
|
|
if(res.data.code==0){
|
|
|
this.$message({message: '备注成功!',type: 'success'});
|
|
|
this.getData()
|