02 2022 档案

摘要://值和id的名字需要和回显函数的值和id对应 //数据格式(该案例值为:dictValue;id为:dictLabel) deptList: [ { dictValue: 2, dictLabel: '移动' }, { dictValue: 3, dictLabel: '联通' }, { dict 阅读全文
posted @ 2022-02-23 15:21 彳小闲鱼 阅读(510) 评论(0) 推荐(0) 编辑
摘要:​官网使用方法:Vue-Treeselect | Vue-Treeselect 中文网 进阶版请查看:https://www.cnblogs.com/gyw1996/p/15923912.html //vue页面 <el-form-item label="岗位"> <treeselect :mult 阅读全文
posted @ 2022-02-22 17:04 彳小闲鱼 阅读(2966) 评论(0) 推荐(0) 编辑
摘要:一,【params】和【query】传值: 传值页面: <template> <div> <view class="post-card" v-for="item in postList" v-bind:key="item.id" v-on:click="turnToPost(item.id)"> < 阅读全文
posted @ 2022-02-22 16:59 彳小闲鱼 阅读(277) 评论(0) 推荐(0) 编辑
摘要:fetch(放要下载的url).then(async res => await res.blob()).then((blob) => { const a = document.createElement('a'); a.style.display = 'none'; a.href = URL.cre 阅读全文
posted @ 2022-02-22 16:57 彳小闲鱼 阅读(230) 评论(0) 推荐(0) 编辑
摘要://vue页面 <el-select v-model="form.towerDeptName" placeholder="输入文字后选择" clearable @change="towerChange" > <el-option v-for="item in towerList" :key="ite 阅读全文
posted @ 2022-02-22 16:54 彳小闲鱼 阅读(3371) 评论(0) 推荐(0) 编辑
摘要:第一种方法:(直接在页面上写) <el-input oninput ="value=value.replace(/[^0-9.]/g,'')" placeholder="请输入(整数或者小数)金额" v-model="form.ysje"></el-input> 第二种方法: 页面: <el-inp 阅读全文
posted @ 2022-02-22 16:54 彳小闲鱼 阅读(2885) 评论(0) 推荐(0) 编辑
摘要:一、checkbox更改disabled样式 /deep/ .el-input.is-disabled .el-input__inner { color: #606266;//在这里更改你所需要的样式 } 二、checkbox更改disabled样式 /deep/ .is-disabled .is- 阅读全文
posted @ 2022-02-22 16:53 彳小闲鱼 阅读(1263) 评论(0) 推荐(0) 编辑
摘要:初级引入使用请移步:https://www.cnblogs.com/gyw1996/p/15923984.html官方文档请移步:https://www.vue-treeselect.cn/#disable-branch-nodes <treeselect :multiple="true" v-mo 阅读全文
posted @ 2022-02-22 16:53 彳小闲鱼 阅读(3174) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示