|
@@ -112,6 +112,7 @@
|
|
|
type="text"
|
|
|
>答题详情</el-button
|
|
|
>
|
|
|
+ <el-button type="text" @click='getCode(scope.row)'>问卷二维码</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -125,17 +126,19 @@
|
|
|
/>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <qr-code v-model="qrcodeStatus" title="问卷二维码" :codeUrl="codeUrl" />
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
|
import pagination from "@/components/Pagination/index";
|
|
|
+import QrCode from "@/components/QrCode/index";
|
|
|
import {
|
|
|
questionnaireTopicQueryPage,
|
|
|
questionnaireTopicUpdateStatus,
|
|
|
} from "./api";
|
|
|
export default {
|
|
|
name: "branchSetting",
|
|
|
- components: { pagination },
|
|
|
+ components: { pagination,QrCode },
|
|
|
data() {
|
|
|
return {
|
|
|
searchForm: {
|
|
@@ -151,6 +154,8 @@ export default {
|
|
|
page_size: [10, 20, 40, 50], // 选择限制显示条数
|
|
|
},
|
|
|
organId: null,
|
|
|
+ qrcodeStatus:false,
|
|
|
+ codeUrl:''
|
|
|
};
|
|
|
},
|
|
|
mounted() {
|
|
@@ -224,7 +229,9 @@ export default {
|
|
|
},
|
|
|
lookAsk(row){
|
|
|
this.$router.push({path:'/operateManager/userAskList',query:{id:row.id,name:row.title}})
|
|
|
- console.log(row)
|
|
|
+ },
|
|
|
+ getCode(row){
|
|
|
+
|
|
|
}
|
|
|
},
|
|
|
};
|