上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 19 下一页
摘要: <Select allowClear class="book-select" @change="value=>handleSelectChange('publish',value)" placeholder="出版社" :getPopupContainer=" triggerNode => { re 阅读全文
posted @ 2021-09-17 17:01 泽泽生龙 阅读(1593) 评论(0) 推荐(0)
摘要: 但有的时候 title的hover显示效果 满足不了我们的 需求 , 要求我们使用类似于tooltip的形式 对省略的字段进行显示 columns = [{ id: "1", checked:true, width: 100, title: '更新时间', dataIndex: 'update_at 阅读全文
posted @ 2021-09-15 14:58 泽泽生龙 阅读(1958) 评论(0) 推荐(0)
摘要: 1:接口访问,布局刷新,点击一级的时候访问后台获取二级列表,以此类推; 缺点,初始化时无法初始化,并且无法点击第二级以及之后的列表; 2:由后台一次性返回所有的最终级列表,有前端处理; 1:采用子节点方案;即:一级节点的children是二级,二级的children是三级, 如果只是二级,可采用,如 阅读全文
posted @ 2021-02-06 10:29 泽泽生龙 阅读(224) 评论(0) 推荐(0)
摘要: <el-select v-model="value" filterable placeholder="请选择" @change="select"> <el-option v-for="item in options" :key="item.value" :label="item.label" :va 阅读全文
posted @ 2020-11-04 17:14 泽泽生龙 阅读(519) 评论(0) 推荐(0)
摘要: 以下为一层嵌套 <el-form-item v-for="(item,itemIndex) in form.button" :key="item.itemIndex" label="一级菜单" > <el-form-item :prop="'button.'+ itemIndex + '.name' 阅读全文
posted @ 2020-11-04 09:41 泽泽生龙 阅读(455) 评论(0) 推荐(0)
摘要: this.arr.filter((c,i,a)=>{//第一个参数为当前项,第二个参数为索引,第三个为原值 var hh = that.list.filter(function (c, i, a) {//第一个参数为当前项,第二个参数为索引,第三个为原值 if (c.id == that.curre 阅读全文
posted @ 2020-11-03 20:09 泽泽生龙 阅读(414) 评论(0) 推荐(0)
摘要: <el-select v-model="value8" filterable placeholder="请选择" value-key="id" @change="currentSel"> <el-option v-for="item in options" :key="item.id" :label 阅读全文
posted @ 2020-11-03 19:58 泽泽生龙 阅读(903) 评论(0) 推荐(0)
摘要: function bindData(data,id){ var listener = {}; id = id || ""; $((id != "" ? "#" + id : "") + " input,select,textarea").each(function(i,item){ if($(ite 阅读全文
posted @ 2020-10-17 10:19 泽泽生龙 阅读(136) 评论(0) 推荐(0)
摘要: //合并单元格function autoRowSpan(tb,row,col){ var lastValue=""; var value=""; var pos=1; for(var i=row;i<tb.rows.length;i++){ value = tb.rows[i].cells[col] 阅读全文
posted @ 2020-04-29 16:57 泽泽生龙 阅读(1270) 评论(0) 推荐(0)
摘要: function getJsonData(attr,val) { $.ajaxSettings.async = false;//必须加的,若不加返回的是"" var ret; $.getJSON('http://localhost:8008/js/modules/jobInterface/share 阅读全文
posted @ 2020-03-09 14:32 泽泽生龙 阅读(357) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 19 下一页