关于 el-table 多选 以及合并

html

/* eslint-disable no-plusplus */ /* eslint-disable no-unused-vars */ /* eslint-disable eqeqeq */ /* eslint-disable no-lonely-if */

<template>

<div class="jzb-flexpage-vertical">

<header class="flexcenter jzb-header-padding jzb-bgheader jzb-header-height">

<el-switch style="margin-right:5px" v-model="value1" active-text="查看全部消息模板"></el-switch>

<jzb-button class="mr-1" data-permit="jzb-icon-save" data-manage="0" type="primary" icon="jzb-icon-save-line" plain @click="saveTemplete">保存设置</jzb-button>

<jzb-button class="mr-1" data-permit="jzb-icon-back" data-manage="0" type="primary" icon="jzb-icon-back" plain @click="backMyNews">返回我的消息页</jzb-button>

</header>

<main class="mainauto">

<el-table

class="jzb-table"

border

:data="newsGetList"

style="width:100%;"

height="100%"

v-loading="newsGetLoading"

element-loading-spinner="jzb-icon-loading"

element-loading-background="rgba(0, 0, 0, 0.8)"

@row-click="rowClick"

:span-method="objectSpanMethod"

>

<el-table-column prop="moduleName" label="模块" :show-overflow-tooltip="true" width="150" align="center">

<template #default="{row}">

<div>{{ row.moduleName }}</div>

<input type="checkbox" v-model="row.check" @change="changeCheck(row.moduleId, row.check)" />

</template>

</el-table-column>

<el-table-column prop="name" label="消息模板" :show-overflow-tooltip="true" width="150" align="center"></el-table-column>

<el-table-column prop="memo" label="备注" :show-overflow-tooltip="true" min-width="150" align="center"></el-table-column>

<el-table-column prop="supportSite" label="站内通知" :show-overflow-tooltip="true" width="100%" align="center">

<template v-slot:header>

<span>

<span>站内通知</span>

<input type="checkbox" v-model="enableSite" style="position: absolute;top: 5px;right: 5px;" @change="changeChecked('enableSite')" />

</span>

</template>

<template #default="{row}">

<input type="checkbox" v-model="row.enableSite" :disabled="row.moduleId === 'D7B00960-DD13-4168-9235-8A9F0133EA00'" @change="intTableChecked()" />

</template>

</el-table-column>

<el-table-column prop="supportSms" label="短信通知" :show-overflow-tooltip="true" width="100%" align="center">

<template v-slot:header>

<span>短信通知</span>

<input type="checkbox" v-model="enableSms" style="position: absolute;top: 5px;right: 5px;" @change="changeChecked('enableSms')" />

</template>

<template #default="{row}">

<input type="checkbox" v-model="row.enableSms" @change="intTableChecked()" />

</template>

</el-table-column>

<el-table-column prop="supportIm" label="小计通知" :show-overflow-tooltip="true" width="100%" align="center">

<template v-slot:header>

<span>小计通知</span>

<input type="checkbox" v-model="enableIm" style="position: absolute;top: 5px;right: 5px;" @chang e="changeChecked('enableIm')" />

</template>

<template #default="{row}">

<input type="checkbox" v-model="row.enableIm" @change="intTableChecked()" />

</template>

</el-table-column>

</el-table>

</main>

</div>

</template>



<script>

import { unionUserSetting } from '@/api/news';

import { GetRequestParams } from 'jzb-tools';



export default {

data() {

return {

userId: GetRequestParams().userid,

// 查看全部消息模板

value1: false,

// 列表数据

// 合并

id_pos: 0,

id_array: [],

newsGetList: [],

newsGetLoading: false,

supportIm: false,

supportSms: false,

supportSite: false,

enableSite: false,

enableSms: false,

enableIm: false,

// 分页

page: { pageCurrent: 1, pageSize: 50, total: 0 },

};

},



mounted() {

this.queryDataList();

},

methods: {

queryDataList() {

const params = {

userId: this.userId,

moduleId: this.moduleId,

memo: this.memo,

};

unionUserSetting.getTemplates(params).then(res => {

if (res.code === '30000') {

this.newsGetList = res.templates.templates;

// 获取每个类目下的条数

const arr = [];

// const moduleList = [];

// let enableSite = true;

// let enableSms = true;

// let enableIm = true;

this.newsGetList.forEach(ele => {

// ele.check = false;

const firstIndex = this.newsGetList.findIndex(item => {

return item.moduleId === ele.moduleId; // 当moduleId相同的时候,返回第一个相同的Index 赋值给 firstIndex

});

if (

arr.findIndex(item => {

return item.firstIndex === firstIndex;

}) === -1

) {

arr.push({

length: this.newsGetList.filter(item => {

return item.moduleId === ele.moduleId; // 利用数组的filter方法,过滤出相同moduleId的数组的长度。数组长度-即为跨多少行

}).length,

firstIndex, // firstIndex 返回的是第一个moduleId就满足的第一个Index,即为rowIndex开始于第几行。

});

}

// // 生成模块全选框

// // eslint-disable-next-line no-plusplus

// for (let i = 0; i < this.newsGetList.length; i++) {

//  if (ele.moduleId === this.newsGetList[i].moduleId) {

//  if (this.newsGetList[i].enableSite && this.newsGetList[i].enableSms && this.newsGetList[i].enableIm) {

//  ele.check = true;

//  } else {

//  ele.check = false;

//  break;

//  }

//  }

// }

// // 单一消息模板全选框状态

// if (enableSite && ele.enableSite) {

//  this.enableSite = true;

// } else {

//  enableSite = false;

//  this.enableSite = false;

// }

// if (enableSms && ele.enableSms) {

//  this.enableSms = true;

// } else {

//  enableSms = false;

//  this.enableSms = false;

// }

// if (enableIm && ele.enableIm) {

//  this.enableIm = true;

// } else {

//  enableIm = false;

//  this.enableIm = false;

// }

});

this.intTableChecked();

this.indexInfoList = arr; // 得到的arr

}

});

},

// 初始化表格的选中状态

intTableChecked() {

let enableSite = true;

let enableSms = true;

let enableIm = true;

this.newsGetList.forEach(ele => {

if (!('check' in ele)) ele.check = false;



// 生成模块全选框

// eslint-disable-next-line no-plusplus

for (let i = 0; i < this.newsGetList.length; i++) {

if (ele.moduleId === this.newsGetList[i].moduleId) {

if ((this.newsGetList[i].enableSite && this.newsGetList[i].enableSms && this.newsGetList[i].enableIm) || ele.moduleId === 'D7B00960-DD13-4168-9235-8A9F0133EA00') {

ele.check = true;

} else {

ele.check = false;

break;

}

}

}

// 单一消息模板全选框状态

if ((enableSite && ele.enableSite) || ele.moduleId === 'D7B00960-DD13-4168-9235-8A9F0133EA00') {

this.enableSite = true;

} else {

enableSite = false;

this.enableSite = false;

}

if (enableSms && ele.enableSms) {

this.enableSms = true;

} else {

enableSms = false;

this.enableSms = false;

}

if (enableIm && ele.enableIm) {

this.enableIm = true;

console.log(this.enableIm);

} else {

enableIm = false;

this.enableIm = false;

}

});

},

objectSpanMethod({ rowIndex, columnIndex }) {

if (columnIndex === 0) {

const index = this.indexInfoList.findIndex(item => {

// 遍历数组

return item.firstIndex === rowIndex;

});

if (index > -1) {

return {

rowspan: this.indexInfoList[index].length,

colspan: 1,

};

}

return {

rowspan: 0,

colspan: 0,

};

}

},

// 表头全选,反选

changeChecked(str) {

this.newsGetList.forEach(item => {

item[str] = this[str];

if (item.moduleId === 'D7B00960-DD13-4168-9235-8A9F0133EA00') {

item.enableSite = false;

}

});

this.intTableChecked();

},

// 表格全选,反选

changeCheck(moduleId, bool) {

const flag = bool;

this.newsGetList.forEach(item => {

if (item.moduleId === moduleId) {

// console.log(item.check, '----');

item.enableSite = flag;

item.enableSms = flag;

item.enableIm = flag;

if (moduleId === 'D7B00960-DD13-4168-9235-8A9F0133EA00') {

item.enableSite = false;

}

item.check = flag;

}

});

this.intTableChecked();

},

// 保存设置

saveTemplete() {

const settings = [];

console.log(this.settings);

this.newsGetList.forEach(item => {

settings.push({

tplId: item.tplId,

enableSite: item.enableSite,

enableSms: item.enableSms,

enableWx: item.enableWx,

enableIm: item.enableIm,

enableEmail: item.enableEmail,

});

});

const params = {

settings: { userId: this.userId, settings },

};

unionUserSetting.putSettings(params).then(res => {

if (res.code === '30000') {

this.$message.success('保存成功');

} else {

this.$message.error(res.msg);

}

});

},

// 返回我的消息

backMyNews() {

this.$router.push({

path: `/myNews${window.location.search}`,

});

},

// 选中行

rowClick(row) {

this.row = row;

},

},

};

</script>



<style lang="less" scoped>

/deep/.jzb-button-primary {

.jzbiconfont {

color: #087f03 !important;

}

}

/deep/.el-checkbox__inner {

margin-left: 2px;

}

/deep/.jzb-table.el-table tr td:first-child {

border-left: 0;

}

</style>

接口获取到的初始化接口数据

{"code":"30000","msg":"ok","templates":{"userId":"8A360B82-6C4E-4A4E-A361-F35605D35DB7","templates":[{"moduleId":"BD865A9F-9B41-4016-A50F-D581695E6711","moduleName":"塔吊监测","moduleSort":4,"tplId":1801,"name":"塔吊倾角预警","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"BD865A9F-9B41-4016-A50F-D581695E6711","moduleName":"塔吊监测","moduleSort":4,"tplId":1802,"name":"塔吊吊重预警","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"BD865A9F-9B41-4016-A50F-D581695E6711","moduleName":"塔吊监测","moduleSort":4,"tplId":1803,"name":"塔吊力矩预警","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"BD865A9F-9B41-4016-A50F-D581695E6711","moduleName":"塔吊监测","moduleSort":4,"tplId":1804,"name":"塔吊幅度预警","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"BD865A9F-9B41-4016-A50F-D581695E6711","moduleName":"塔吊监测","moduleSort":4,"tplId":1805,"name":"塔吊高度预警","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"BD865A9F-9B41-4016-A50F-D581695E6711","moduleName":"塔吊监测","moduleSort":4,"tplId":1806,"name":"塔吊风速预警","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"BD865A9F-9B41-4016-A50F-D581695E6711","moduleName":"塔吊监测","moduleSort":4,"tplId":1807,"name":"塔吊转角预警","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"B8E229FC-443C-4985-87DD-A90245C0568E","moduleName":"污水监测","moduleSort":9,"tplId":1001,"name":"汇总报告","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"B8E229FC-443C-4985-87DD-A90245C0568E","moduleName":"污水监测","moduleSort":9,"tplId":1002,"name":"水质监测","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"B8E229FC-443C-4985-87DD-A90245C0568E","moduleName":"污水监测","moduleSort":9,"tplId":1003,"name":"污水监测调节池液预警","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true ,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"B8E229FC-443C-4985-87DD-A90245C0568E","moduleName":"污水监测","moduleSort":9,"tplId":1004,"name":"污水监测好氧池DO值预警","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"B77DAF2F-F43D-4F69-BFD8-D437405DA902","moduleName":"燃气监测","moduleSort":10,"tplId":901,"name":"气体监测","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"B77DAF2F-F43D-4F69-BFD8-D437405DA902","moduleName":"燃气监测","moduleSort":10,"tplId":902,"name":"煤气监测","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"B77DAF2F-F43D-4F69-BFD8-D437405DA902","moduleName":"燃气监测","moduleSort":10,"tplId":903,"name":"液化气监测","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"B77DAF2F-F43D-4F69-BFD8-D437405DA902","moduleName":"燃气监测","moduleSort":10,"tplId":904,"name":"天然气监测","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"B77DAF2F-F43D-4F69-BFD8-D437405DA902","moduleName":"燃气监测","moduleSort":10,"tplId":905,"name":"其他气体监测","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"89B3E7CC-B068-4601-8926-152F8CBA31B8","moduleName":"考试管理","moduleSort":11,"tplId":1,"name":"考试通知","supportSite":true,"supportSms":false,"supportWx":false,"supportEmail":false,"supportIm":false,"enableSite":true,"enableSms":false,"enableWx":false,"enableEmail":false,"enableIm":false},{"moduleId":"89B3E7CC-B068-4601-8926-152F8CBA31B8","moduleName":"考试管理","moduleSort":11,"tplId":3,"name":"考试通知","supportSite":true,"supportSms":false,"supportWx":false,"supportEmail":false,"supportIm":false,"enableSite":true,"enableSms":false,"enableWx":false,"enableEmail":false,"enableIm":false},{"moduleId":"89B3E7CC-B068-4601-8926-152F8CBA31B8","moduleName":"考试管理","moduleSort":11,"tplId":101,"name":"考试通知","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"89B3E7CC-B068-4601-8926-152F8CBA31B8","moduleName":"考试管理","moduleSort":11,"tplId":102,"name":"考试取消","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"89B3E7CC-B068-4601-8926-152F8CBA31B8","moduleName":"考试管理","moduleSort":11,"tplId":103,"name":"考试复核","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"B363286A-F675-4E25-97E7-7B9DCE2EDEF1","moduleName":"环境检测","moduleSort":11,"tplId":2401,"name":"环境监测预警","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"B363286A-F675-4E25-97E7-7B9DCE2EDEF1","moduleName":"环境检测","moduleSort":11,"tplId":2402,"name":"环境监测PM10预警","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"B363286A-F675-4E25-97E7-7B9DCE2EDEF1","moduleName":"环境检测","moduleSort":11,"tplId":2403,"name":"环境监测PM2.5预警","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"B363286A-F675-4E25-97E7-7B9DCE2EDEF1","moduleName":"环境检测","moduleSort":11,"tplId":2404,"name":"环境监测噪音预警","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"B363286A-F675-4E25-97E7-7B9DCE2EDEF1","moduleName":"环境检测","moduleSort":11,"tplId":2405,"name":"环境监测风力预警","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"B363286A-F675-4E25-97E7-7B9DCE2EDEF1","moduleName":"环境检测","moduleSort":11,"tplId":2406,"name":"环境监测风速预警","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"B1E3A309-F644-4C7E-9B73-54DFBDA43EE9","moduleName":"砼拌合站","moduleSort":12,"tplId":1601,"name":"拌合站预警","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"D7B00960-DD13-4168-9235-8A9F0133EA00","moduleName":"企业OA","moduleSort":12,"tplId":401,"name":"新增待办通知","supportSite":false,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":false,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"D7B00960-DD13-4168-9235-8A9F0133EA00","moduleName":"企业OA","moduleSort":12,"tplId":402,"name":"待办超时通知","supportSite":false,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":false,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"D7B00960-DD13-4168-9235-8A9F0133EA00","moduleName":"企业OA","moduleSort":12,"tplId":403,"name":"流程通过通知","supportSite":false,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":false,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"D7B00960-DD13-4168-9235-8A9F0133EA00","moduleName":"企业OA","moduleSort":12,"tplId":404,"name":"流程驳回通知","supportSite":false,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":false,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"D7B00960-DD13-4168-9235-8A9F0133EA00","moduleName":"企业OA","moduleSort":12,"tplId":405,"name":"流程打回通知","supportSite":false,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":false,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"405932E5-7C4F-448B-A9BA-04EBA768FF50","moduleName":"梁场温湿度","moduleSort":14,"tplId":1701,"name":"梁场湿度预警","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"405932E5-7C4F-448B-A9BA-04EBA768FF50","moduleName":"梁场温湿度","moduleSort":14,"tplId":1702,"name":"梁场温度预警","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"D231279B-6F07-4481-A527-FB716A6E3DED","moduleName":"钢筋保护层","moduleSort":15,"tplId":1201,"name":"钢保监测预警","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"87C7E6AB-5A21-440C-ACAE-64FDEBED15DA","moduleName":"龙门吊","moduleSort":16,"tplId":2301,"name":"龙门吊风速预警","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"87C7E6AB-5A21-440C-ACAE-64FDEBED15DA","moduleName":"龙门吊","moduleSort":16,"tplId":2302,"name":"龙门吊超重预警","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"87C7E6AB-5A21-440C-ACAE-64FDEBED15DA","moduleName":"龙门吊","moduleSort":16,"tplId":2303,"name":"龙门吊风力预警","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"80858695-7125-4460-A9C0-9EE913C8598E","moduleName":"万能机","moduleSort":17,"tplId":2001,"name":"万能机预警","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"80858695-7125-4460-A9C0-9EE913C8598E","moduleName":"万能机","moduleSort":17,"tplId":2002,"name":"万能机日报","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"477D5489-2088-498A-A738-603C64F49D91","moduleName":"压力机","moduleSort":18,"tplId":2101,"name":"压力机日报","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"1CD60717-1E4B-4650-8ADA-B1678BDB7EC5","moduleName":"沥青拌合站","moduleSort":19,"tplId":1005,"name":"沥青拌合站预警(油石比)","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"1CD60717-1E4B-4650-8ADA-B1678BDB7EC5","moduleName":"沥青拌合站","moduleSort":19,"tplId":1006,"name":"沥青拌合站(业主)","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"1CD60717-1E4B-4650-8ADA-B1678BDB7EC5","moduleName":"沥青拌合站","moduleSort":19,"tplId":1007,"name":"沥青拌合站(监理)","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"1CD60717-1E4B-4650-8ADA-B1678BDB7EC5","moduleName":"沥青拌合站","moduleSort":19,"tplId":1008,"name":"沥青拌合站(监理)","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"E2BD3AF3-EE17-4F1D-A325-F554BB7288DF","moduleName":"回弹仪","moduleSort":22,"tplId":1101,"name":"回弹预警","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"5E1CDE76-34DE-47D5-B94C-25297EE64282","moduleName":"地磅","moduleSort":24,"tplId":2201,"name":"地磅物质进场","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"AAEAE1E2-B1CF-4D56-A472-49132ED5BD62","moduleName":"计量支付","moduleSort":26,"tplId":3001,"name":"计量催办审核提醒","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"AAEAE1E2-B1CF-4D56-A472-49132ED5BD62","moduleName":"计量支付","moduleSort":26,"tplId":3002,"name":"计量超时未审核提醒","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"AAEAE1E2-B1CF-4D56-A472-49132ED5BD62","moduleName":"计量支付","moduleSort":26,"tplId":3003,"name":"回退计量","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"AAEAE1E2-B1CF-4D56-A472-49132ED5BD62","moduleName":"计量支付","moduleSort":26,"tplId":3004,"name":"提交计量","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"9E776101-7171-41E3-AEF1-8F919A9F5AC9","moduleName":"销售管理","moduleSort":45,"tplId":2501,"name":"跟进逾期预警","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"9E776101-7171-41E3-AEF1-8F919A9F5AC9","moduleName":"销售管理","moduleSort":45,"tplId":2502,"name":"跟进逾期通知","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"C2EA3860-A306-40DF-8D70-457D645ABE37","moduleName":"服务管理","moduleSort":50,"tplId":2601,"name":"工单验收通知","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"1DF7AEFD-6F9B-4AFF-B7E4-84EDE14B1F33","moduleName":"污水监管","moduleSort":58,"tplId":801,"name":"污水数据汇总报告","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"641A6145-DE71-4B74-ACB9-CB9CAC38CB8F","moduleName":"智慧住建","moduleSort":71,"tplId":501,"name":"智慧住建监管日报","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"00000000-0000-0000-0000-000000000000","moduleName":"未分类模板","moduleSort":99999,"tplId":201,"name":"订单发货提醒","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"00000000-0000-0000-0000-000000000000","moduleName":"未分类模板","moduleSort":99999,"tplId":301,"name":"注册邀请","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"00000000-0000-0000-0000-000000000000","moduleName":"未分类模板","moduleSort":99999,"tplId":302,"name":"验证码","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"00000000-0000-0000-0000-000000000000","moduleName":"未分类模板","moduleSort":99999,"tplId":601,"name":"商砼拌合站汇总报告","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"00000000-0000-0000-0000-000000000000","moduleName":"未分类模板","moduleSort":99999,"tplId":701,"name":"工程项目监管日报","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"00000000-0000-0000-0000-000000000000","moduleName":"未分类模板","moduleSort":99999,"tplId":1301,"name":"马歇尔稳定度预警","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"00000000-0000-0000-0000-000000000000","moduleName":"未分类模板","moduleSort":99999,"tplId":1401,"name":"沥青针入度预警","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"00000000-0000-0000-0000-000000000000","moduleName":"未分类模板","moduleSort":99999,"tplId":1501,"name":"沥青软化点预警","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true},{"moduleId":"00000000-0000-0000-0000-000000000000","moduleName":"未分类模板","moduleSort":99999,"tplId":1901,"name":"张拉机预警","supportSite":true,"supportSms":true,"supportWx":false,"supportEmail":false,"supportIm":true,"enableSite":true,"enableSms":true,"enableWx":false,"enableEmail":false,"enableIm":true}]}}

效果图

 

posted @ 2022-02-24 19:38  花开丶良人归  阅读(642)  评论(0编辑  收藏  举报