|
|
@@ -49,7 +49,7 @@
|
|
|
prop="zip" width="220"
|
|
|
label="操作">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button icon="el-icon-view" size="mini" type="success">查看</el-button>
|
|
|
+ <el-button icon="el-icon-view" @click="open(scope.row.title,scope.row.content)" size="mini" type="success">查看</el-button>
|
|
|
<el-button icon="el-icon-delete" @click="del(scope.row.id)" size="mini" type="danger">删除</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
@@ -174,6 +174,11 @@ export default {
|
|
|
this.$message.error(res.data.message);
|
|
|
}
|
|
|
})
|
|
|
+ },
|
|
|
+ open(title,text) {
|
|
|
+ this.$alert(text, title, {
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ });
|
|
|
}
|
|
|
},
|
|
|
created(){
|