摘要: if (sel.id == '#') { var node_status = ref.create_node('#', { "id": result.data.deptId, "icon": "glyphicon glyphicon-folder-close", "parent": result.d 阅读全文
posted @ 2021-06-11 11:54 柒月廿三 阅读(59) 评论(0) 推荐(0)
摘要: </dependencies> <!-- 第三方jar Spire.Doc : word复制 --> <dependency> <groupId>Spire.Doc</groupId> <artifactId>Spire.Doc</artifactId> <version>2.7.3</versio 阅读全文
posted @ 2021-06-11 11:52 柒月廿三 阅读(7) 评论(0) 推荐(0)
摘要: <el-table-column type="index" width="50" :index="handleIndex" ></el-table-column> handleIndex(index) { return (this.pageNo - 1) * this.pageSize + (ind 阅读全文
posted @ 2021-06-11 11:50 柒月廿三 阅读(15) 评论(0) 推荐(0)
摘要: 参考文章: vue实现checkbox点击选择控制element-ui table表单动态列展示与隐藏 vue+element 通过checkbox控制el-table-column的显示或隐藏 第一个写法简单,但是在调节列样式时(比如状态的颜色),就不太方便了。 第二个更适用一些,但是在强制更新数 阅读全文
posted @ 2021-02-22 10:41 柒月廿三 阅读(350) 评论(0) 推荐(0)
摘要: 参考 <style> .my-title{ width: 100%; background: -webkit-linear-gradient(left, #ffffff, #ff0000 6.25%, #ff7d00 12.5%, #ffff00 18.75%, #00ff00 25%, #00ff 阅读全文
posted @ 2021-02-03 11:19 柒月廿三 阅读(23) 评论(0) 推荐(0)
摘要: <insert id="insertCompanyMegBase" useGeneratedKeys="true" keyProperty="id" parameterType="com.sptit.isv.pojo.db1.DevCompanyMegBase"> <selectKey keyPro 阅读全文
posted @ 2020-08-03 10:21 柒月廿三 阅读(28) 评论(0) 推荐(0)
摘要: package com.sptit.isv.utils; import com.sptit.isv.mapper.db1.TreeNameTableMapper; import com.sptit.isv.pojo.db1.TreeNameTable; import org.springframew 阅读全文
posted @ 2020-07-08 16:46 柒月廿三 阅读(59) 评论(0) 推荐(0)
摘要: 状态统计 <!-- 获取状态分类统计(COALESCE:返回第一个不是NULL的参数)--> <select id="getStateStatistics" resultType="java.util.Map"> SELECT COUNT ( * ) AS all, COALESCE ( SUM ( 阅读全文
posted @ 2020-07-02 16:53 柒月廿三 阅读(26) 评论(0) 推荐(0)
摘要: SQL添加 useGeneratedKeys=“true” keyProperty=“id” <insert id="insertSelective" parameterType="com.pojo.db1.DatabaseImg" useGeneratedKeys="true" keyProper 阅读全文
posted @ 2019-11-25 16:24 柒月廿三 阅读(17) 评论(0) 推荐(0)
摘要: 后台用PageHelper做的,后台要返回rows和total function initSituationTable() { //$('#situation_table').bootstrapTable('destroy'); $('#situation_table').bootstrapTabl 阅读全文
posted @ 2019-11-19 15:54 柒月廿三 阅读(30) 评论(0) 推荐(0)