luobisheng
2022-11-29 4641a877cd6a94e4d35dca7f7f14bc1443e2d2ad
src/views/operate/sms/smsTemplate/index.vue
@@ -26,7 +26,7 @@
            <div class="mainContent">
                <div class="main-nav">
                    <span>数据列表</span>
                    <el-button type="primary" icon="el-icon-plus" @click="isShowDialog = true; dialogType = 'create'">添加</el-button>
                    <el-button class="button-addition" type="primary" icon="el-icon-plus" @click="isShowDialog = true; dialogType = 'create'">添加</el-button>
                </div>
                <!-- 数据展示 -->
                <el-table ref="multipleTable"
@@ -182,6 +182,9 @@
        },
        // 重置
        handleReset(){
            this.context="";
            this.messageStatus=0;
            this.getMessageList();
        },
        // 查看
        handleView(data){
@@ -211,7 +214,7 @@
        },
        // 获取消息数据
        getMessageList() {
            SMS.getSMSTemplateList({ current: this.currentPage, pageSize: this.pageSize, context: this.context, type: this.messageType })
            SMS.getSMSTemplateList({ current: this.currentPage, pageSize: this.pageSize, title: this.context, type: this.messageStatus })
                .then(({ records, total }) => {
                  this.tableData = records;
                  this.totalNum = total;
@@ -551,7 +554,6 @@
    &::v-deep .el-dialog__close {
        width: 20px;
        height: 20px;
        // color: #fff;
    }
    &::v-deep .el-dialog__body {