|
@@ -75,6 +75,14 @@ a {
|
|
|
font-weight: 600;
|
|
font-weight: 600;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+.qrcode_dialog {
|
|
|
|
|
+ .el-dialog {
|
|
|
|
|
+ width: 25%;
|
|
|
|
|
+ }
|
|
|
|
|
+ img {
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
</style>
|
|
</style>
|
|
|
<template>
|
|
<template>
|
|
|
<section>
|
|
<section>
|
|
@@ -129,8 +137,7 @@ a {
|
|
|
>
|
|
>
|
|
|
<a
|
|
<a
|
|
|
v-if="scope.row.template_qrcode"
|
|
v-if="scope.row.template_qrcode"
|
|
|
- :href="scope.row.template_qrcode"
|
|
|
|
|
- target="_blank"
|
|
|
|
|
|
|
+ @click="showQrcode(scope.row)"
|
|
|
><span> | 生成二维码</span></a
|
|
><span> | 生成二维码</span></a
|
|
|
>
|
|
>
|
|
|
</template>
|
|
</template>
|
|
@@ -410,6 +417,17 @@ a {
|
|
|
<div v-if="Object.keys(postResult).length == 0">暂无数据</div>
|
|
<div v-if="Object.keys(postResult).length == 0">暂无数据</div>
|
|
|
</div>
|
|
</div>
|
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
|
+ <!-- 展示二维码 -->
|
|
|
|
|
+ <el-dialog
|
|
|
|
|
+ :title="dialogTitle4"
|
|
|
|
|
+ :close-on-click-modal="false"
|
|
|
|
|
+ :visible.sync="dialogVisible4"
|
|
|
|
|
+ class="qrcode_dialog"
|
|
|
|
|
+ >
|
|
|
|
|
+ <div class="content">
|
|
|
|
|
+ <img :src="qrcodeUrl" alt="" />
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </el-dialog>
|
|
|
</section>
|
|
</section>
|
|
|
</template>
|
|
</template>
|
|
|
<script>
|
|
<script>
|
|
@@ -421,6 +439,7 @@ export default {
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
// checked: [],
|
|
// checked: [],
|
|
|
|
|
+ qrcodeUrl: "",
|
|
|
cur_message_id: null,
|
|
cur_message_id: null,
|
|
|
cur_post_type: null,
|
|
cur_post_type: null,
|
|
|
postResult: {},
|
|
postResult: {},
|
|
@@ -435,13 +454,15 @@ export default {
|
|
|
list: [{ name: "2333" }],
|
|
list: [{ name: "2333" }],
|
|
|
loading: false,
|
|
loading: false,
|
|
|
input: "",
|
|
input: "",
|
|
|
- dialogVisible: false,
|
|
|
|
|
|
|
+ dialogVisible:false,
|
|
|
dialogVisible1: false,
|
|
dialogVisible1: false,
|
|
|
dialogVisible2: false,
|
|
dialogVisible2: false,
|
|
|
dialogVisible3: false,
|
|
dialogVisible3: false,
|
|
|
|
|
+ dialogVisible4: false,
|
|
|
dialogTitle: "",
|
|
dialogTitle: "",
|
|
|
dialogTitle2: "",
|
|
dialogTitle2: "",
|
|
|
dialogTitle3: "",
|
|
dialogTitle3: "",
|
|
|
|
|
+ dialogTitle4: "",
|
|
|
defaultProps: {},
|
|
defaultProps: {},
|
|
|
data: [],
|
|
data: [],
|
|
|
templateList: [],
|
|
templateList: [],
|
|
@@ -515,6 +536,11 @@ export default {
|
|
|
},
|
|
},
|
|
|
// computed() {},
|
|
// computed() {},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ showQrcode(row) {
|
|
|
|
|
+ this.dialogTitle4 = "生成二维码";
|
|
|
|
|
+ this.dialogVisible4 = true;
|
|
|
|
|
+ this.qrcodeUrl = row.template_qrcode;
|
|
|
|
|
+ },
|
|
|
showMessageAnalyse(row) {
|
|
showMessageAnalyse(row) {
|
|
|
this.$router.push({
|
|
this.$router.push({
|
|
|
path: "/message/outSurvey/analyse",
|
|
path: "/message/outSurvey/analyse",
|
|
@@ -552,6 +578,7 @@ export default {
|
|
|
this.dialogVisible3 = true;
|
|
this.dialogVisible3 = true;
|
|
|
},
|
|
},
|
|
|
analyseData(type, message_id) {
|
|
analyseData(type, message_id) {
|
|
|
|
|
+ this.form1 = {}
|
|
|
let parm = this.form1;
|
|
let parm = this.form1;
|
|
|
parm.type = type;
|
|
parm.type = type;
|
|
|
parm.message_id = message_id;
|
|
parm.message_id = message_id;
|