commit
Showing
1 changed file
with
14 additions
and
2 deletions
| ... | @@ -40,6 +40,15 @@ | ... | @@ -40,6 +40,15 @@ |
| 40 | </div> | 40 | </div> |
| 41 | </el-card> | 41 | </el-card> |
| 42 | </el-form> | 42 | </el-form> |
| 43 | <el-dialog | ||
| 44 | title="加密后的biz_data" | ||
| 45 | :visible.sync="dialogVisible" | ||
| 46 | width="30%"> | ||
| 47 | <span>{{mybizdata}}</span> | ||
| 48 | <span slot="footer" class="dialog-footer"> | ||
| 49 | <el-button type="primary" @click="dialogVisible = false">确 定</el-button> | ||
| 50 | </span> | ||
| 51 | </el-dialog> | ||
| 43 | </el-col> | 52 | </el-col> |
| 44 | <el-col :span="8"> | 53 | <el-col :span="8"> |
| 45 | <el-card class="blue" shadow="always"> | 54 | <el-card class="blue" shadow="always"> |
| ... | @@ -121,7 +130,9 @@ | ... | @@ -121,7 +130,9 @@ |
| 121 | }, | 130 | }, |
| 122 | bizData: { | 131 | bizData: { |
| 123 | myData: '' | 132 | myData: '' |
| 124 | } | 133 | }, |
| 134 | dialogVisible: false, | ||
| 135 | mybizdata: '' | ||
| 125 | } | 136 | } |
| 126 | }, | 137 | }, |
| 127 | methods: { | 138 | methods: { |
| ... | @@ -168,7 +179,8 @@ | ... | @@ -168,7 +179,8 @@ |
| 168 | biz_data: this.bizData.myData | 179 | biz_data: this.bizData.myData |
| 169 | }),config).then((res)=>{ | 180 | }),config).then((res)=>{ |
| 170 | console.log(res); | 181 | console.log(res); |
| 171 | 182 | this.mybizdata = res.data; | |
| 183 | this.dialogVisible = true; | ||
| 172 | }).catch(error=>{ | 184 | }).catch(error=>{ |
| 173 | console.log(error); | 185 | console.log(error); |
| 174 | this.$message({ | 186 | this.$message({ | ... | ... |
-
Please register or sign in to post a comment