|
@@ -142,6 +142,11 @@
|
|
|
<dict-tag :options="sysQwSopLogsStatus" :value="scope.row.sendStatus"/>
|
|
<dict-tag :options="sysQwSopLogsStatus" :value="scope.row.sendStatus"/>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
|
|
+ <el-table-column label="APP发送状态" align="center" prop="appSendStatus">
|
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
|
+ <dict-tag :options="sysQwAppSendStatusOptions" :value="scope.row.appSendStatus"/>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
<el-table-column label="预计发送时间" align="center" prop="sendTime" width="180"/>
|
|
<el-table-column label="预计发送时间" align="center" prop="sendTime" width="180"/>
|
|
|
<el-table-column label="实际发送时间" align="center" prop="realSendTime" width="180"/>
|
|
<el-table-column label="实际发送时间" align="center" prop="realSendTime" width="180"/>
|
|
|
<!-- <el-table-column label="获取记录" align="center" prop="takeRecords" width="180">-->
|
|
<!-- <el-table-column label="获取记录" align="center" prop="takeRecords" width="180">-->
|
|
@@ -159,6 +164,7 @@
|
|
|
<el-table-column label="生成时间" align="createTime" prop="createTime" width="180" />
|
|
<el-table-column label="生成时间" align="createTime" prop="createTime" width="180" />
|
|
|
<el-table-column label="消息ID" align="center" prop="msgId" />
|
|
<el-table-column label="消息ID" align="center" prop="msgId" />
|
|
|
<el-table-column label="备注" align="center" prop="remark" />
|
|
<el-table-column label="备注" align="center" prop="remark" />
|
|
|
|
|
+ <el-table-column label="APP备注" align="center" prop="appSendRemark" />
|
|
|
</el-table>
|
|
</el-table>
|
|
|
|
|
|
|
|
<el-dialog :visible.sync="contentDialog.isDialogVisible" title="消息详情" width="30%" append-to-body>
|
|
<el-dialog :visible.sync="contentDialog.isDialogVisible" title="消息详情" width="30%" append-to-body>
|
|
@@ -178,6 +184,8 @@
|
|
|
<span v-if="item.contentType == 8">视频号</span>
|
|
<span v-if="item.contentType == 8">视频号</span>
|
|
|
<span v-if="item.contentType == 9">APP</span>
|
|
<span v-if="item.contentType == 9">APP</span>
|
|
|
<span v-if="item.contentType == 10">自定义小程序</span>
|
|
<span v-if="item.contentType == 10">自定义小程序</span>
|
|
|
|
|
+ <span v-if="item.contentType == 15">APP文本</span>
|
|
|
|
|
+ <span v-if="item.contentType == 16">APP语音</span>
|
|
|
<span v-if="item.contentType == 4"><el-button size="mini" type="primary" @click="generateShortLink(item)" style="margin-left: 330px;">生成短链</el-button></span>
|
|
<span v-if="item.contentType == 4"><el-button size="mini" type="primary" @click="generateShortLink(item)" style="margin-left: 330px;">生成短链</el-button></span>
|
|
|
</div>
|
|
</div>
|
|
|
<div v-if="item.sendStatus">
|
|
<div v-if="item.sendStatus">
|
|
@@ -187,7 +195,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<div v-if="item.sendStatus && item.sendStatus == 2">发送失败原因:<span style="color: #ff4949">{{item.sendRemarks}}</span></div>
|
|
<div v-if="item.sendStatus && item.sendStatus == 2">发送失败原因:<span style="color: #ff4949">{{item.sendRemarks}}</span></div>
|
|
|
- <div v-if="item.contentType == 1" v-html="item.value"></div>
|
|
|
|
|
|
|
+ <div v-if="item.contentType == 1 || item.contentType == 15" v-html="item.value"></div>
|
|
|
<div v-if="item.contentType == 2">
|
|
<div v-if="item.contentType == 2">
|
|
|
<el-image
|
|
<el-image
|
|
|
style="width: 100px; height: 100px"
|
|
style="width: 100px; height: 100px"
|
|
@@ -233,11 +241,9 @@
|
|
|
style="width: 200px; height: 100px">
|
|
style="width: 200px; height: 100px">
|
|
|
</video>
|
|
</video>
|
|
|
</div>
|
|
</div>
|
|
|
- <div v-if="item.contentType == 7">
|
|
|
|
|
- <span>
|
|
|
|
|
- {{ item.value }}
|
|
|
|
|
- </span>
|
|
|
|
|
- <div v-if="!item.voiceUrl" style="margin-top: 3px" >
|
|
|
|
|
|
|
+ <div v-if="item.contentType == 7 || item.contentType == 16">
|
|
|
|
|
+ <span>{{ item.value }}</span>
|
|
|
|
|
+ <div v-if="!item.voiceUrl" style="margin-top: 3px">
|
|
|
<span style="color: red">无语音地址</span>
|
|
<span style="color: red">无语音地址</span>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -391,6 +397,14 @@ export default {
|
|
|
//企微SOP发送类型
|
|
//企微SOP发送类型
|
|
|
sysQwSopType: [],
|
|
sysQwSopType: [],
|
|
|
|
|
|
|
|
|
|
+ //APP发送状态
|
|
|
|
|
+ sysQwAppSendStatusOptions: [
|
|
|
|
|
+ { dictValue: '0', dictLabel: '未发送', listClass: 'default' },
|
|
|
|
|
+ { dictValue: '1', dictLabel: '成功', listClass: 'success' },
|
|
|
|
|
+ { dictValue: '2', dictLabel: '失败', listClass: 'danger' },
|
|
|
|
|
+ { dictValue: '3', dictLabel: '不发送', listClass: 'warning' }
|
|
|
|
|
+ ],
|
|
|
|
|
+
|
|
|
//发送的消息
|
|
//发送的消息
|
|
|
contentDialog:{
|
|
contentDialog:{
|
|
|
isDialogVisible:false,
|
|
isDialogVisible:false,
|