|
@@ -16,9 +16,9 @@
|
|
>
|
|
>
|
|
生成链接
|
|
生成链接
|
|
</div>
|
|
</div>
|
|
- <!-- <div class="newBand" @click="onExport" style="max-width: 150px">
|
|
|
|
|
|
+ <div class="newBand" @click="onExport" style="max-width: 150px">
|
|
导出
|
|
导出
|
|
- </div> -->
|
|
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
<save-form
|
|
<save-form
|
|
:inline="true"
|
|
:inline="true"
|
|
@@ -113,9 +113,9 @@
|
|
<el-table-column align="center" prop="studentId" label="操作">
|
|
<el-table-column align="center" prop="studentId" label="操作">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<div>
|
|
<div>
|
|
- <!-- <el-button type="text" @click="lookDetail(scope.row)"
|
|
|
|
|
|
+ <el-button type="text" @click="lookDetail(scope.row)"
|
|
>详情</el-button
|
|
>详情</el-button
|
|
- > -->
|
|
|
|
|
|
+ >
|
|
<el-button
|
|
<el-button
|
|
type="text"
|
|
type="text"
|
|
@click="onCreateQRCode(scope.row, '调查链接')"
|
|
@click="onCreateQRCode(scope.row, '调查链接')"
|
|
@@ -165,7 +165,7 @@
|
|
width="1000px"
|
|
width="1000px"
|
|
v-if="detailVisible"
|
|
v-if="detailVisible"
|
|
>
|
|
>
|
|
- <detail ref="detail" @close="close" />
|
|
|
|
|
|
+ <detail ref="detail" @close="close" :activeRow='activeRow'/>
|
|
<div slot="footer">
|
|
<div slot="footer">
|
|
<el-button type="primary" @click="detailVisible = false"
|
|
<el-button type="primary" @click="detailVisible = false"
|
|
>确定</el-button
|
|
>确定</el-button
|
|
@@ -225,6 +225,7 @@ export default {
|
|
qrcodes: true,
|
|
qrcodes: true,
|
|
qrcodeStatus: false,
|
|
qrcodeStatus: false,
|
|
qrcodeName: "调查链接",
|
|
qrcodeName: "调查链接",
|
|
|
|
+ activeRow:null
|
|
};
|
|
};
|
|
},
|
|
},
|
|
//生命周期 - 创建完成(可以访问当前this实例)
|
|
//生命周期 - 创建完成(可以访问当前this实例)
|
|
@@ -276,6 +277,7 @@ export default {
|
|
},
|
|
},
|
|
onExport() {},
|
|
onExport() {},
|
|
lookDetail(row) {
|
|
lookDetail(row) {
|
|
|
|
+ this.activeRow = row;
|
|
this.detailVisible = true;
|
|
this.detailVisible = true;
|
|
},
|
|
},
|
|
onCreateQRCode(row, name) {
|
|
onCreateQRCode(row, name) {
|