Merge pull request 'zjl' (#6) from zjl into develop
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #6
This commit is contained in:
commit
f13e13965c
14
package-lock.json
generated
14
package-lock.json
generated
@ -8,7 +8,7 @@
|
||||
"name": "code-brick-wd",
|
||||
"version": "0.1.0",
|
||||
"dependencies": {
|
||||
"code-brick-zj": "^0.0.6",
|
||||
"code-brick-zj": "^0.0.7",
|
||||
"core-js": "^3.8.3",
|
||||
"element-ui": "^2.15.12",
|
||||
"vue": "^2.6.14",
|
||||
@ -4007,9 +4007,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/code-brick-zj": {
|
||||
"version": "0.0.6",
|
||||
"resolved": "https://registry.npmjs.org/code-brick-zj/-/code-brick-zj-0.0.6.tgz",
|
||||
"integrity": "sha512-8Wdr0J4v7zfmOLhG1fvDi5rPSkFB5r/onwi1GFdIZyiSwl5Xia61df11OdCFP8cPksL2hATiTTWs6WU/6s/cxA=="
|
||||
"version": "0.0.7",
|
||||
"resolved": "https://registry.npmjs.org/code-brick-zj/-/code-brick-zj-0.0.7.tgz",
|
||||
"integrity": "sha512-ZuhseY/9RUUUweAiTdumq5pJKAKAJxpvD8yjcVluY+cGDEKyoKzN9PjycPh2tUsE/gmwShfgrcIcm5DKcmzqvA=="
|
||||
},
|
||||
"node_modules/color-convert": {
|
||||
"version": "1.9.3",
|
||||
@ -14473,9 +14473,9 @@
|
||||
}
|
||||
},
|
||||
"code-brick-zj": {
|
||||
"version": "0.0.6",
|
||||
"resolved": "https://registry.npmjs.org/code-brick-zj/-/code-brick-zj-0.0.6.tgz",
|
||||
"integrity": "sha512-8Wdr0J4v7zfmOLhG1fvDi5rPSkFB5r/onwi1GFdIZyiSwl5Xia61df11OdCFP8cPksL2hATiTTWs6WU/6s/cxA=="
|
||||
"version": "0.0.7",
|
||||
"resolved": "https://registry.npmjs.org/code-brick-zj/-/code-brick-zj-0.0.7.tgz",
|
||||
"integrity": "sha512-ZuhseY/9RUUUweAiTdumq5pJKAKAJxpvD8yjcVluY+cGDEKyoKzN9PjycPh2tUsE/gmwShfgrcIcm5DKcmzqvA=="
|
||||
},
|
||||
"color-convert": {
|
||||
"version": "1.9.3",
|
||||
|
@ -8,7 +8,7 @@
|
||||
"lint": "vue-cli-service lint"
|
||||
},
|
||||
"dependencies": {
|
||||
"code-brick-zj": "^0.0.6",
|
||||
"code-brick-zj": "^0.0.7",
|
||||
"core-js": "^3.8.3",
|
||||
"element-ui": "^2.15.12",
|
||||
"vue": "^2.6.14",
|
||||
|
@ -3,7 +3,36 @@
|
||||
<p>
|
||||
组件包目前封装常用的四个组件:表格,搜索区域,分页,对话框。包npm地址为:https://www.npmjs.com/package/code-brick-zj。
|
||||
</p>
|
||||
<p>文档当前使用的组件包的版本为:0.0.6</p>
|
||||
<p>文档当前使用的组件包的版本为:0.0.7</p>
|
||||
<div class="block">
|
||||
<el-timeline>
|
||||
<el-timeline-item timestamp="2023/1/10" placement="top">
|
||||
<el-card>
|
||||
<h4>修改</h4>
|
||||
<h4>搜索区域UI样式更新,按2023.1.16的样式修改</h4>
|
||||
<p>组件版本号为:0.0.7</p>
|
||||
</el-card>
|
||||
</el-timeline-item>
|
||||
<el-timeline-item timestamp="2023/1/9" placement="top">
|
||||
<el-card>
|
||||
<h4>修改</h4>
|
||||
<h4>
|
||||
1.table的序号列默认左侧固定,提供cancelPageFixed可以取消固定。
|
||||
</h4>
|
||||
<h4>2.提供方法doLayout,具体见文档基础表格下说明。</h4>
|
||||
<p>组件版本号为:0.0.6</p>
|
||||
</el-card>
|
||||
</el-timeline-item>
|
||||
<el-timeline-item timestamp="2023/1/6" placement="top">
|
||||
<el-card>
|
||||
<h4>修改</h4>
|
||||
<h4>1.table改成默认有border的,需要无border的table另外传参数。</h4>
|
||||
<h4>2.css修改,适配没有sass-loader的项目</h4>
|
||||
<p>组件版本号为:0.0.5</p>
|
||||
</el-card>
|
||||
</el-timeline-item>
|
||||
</el-timeline>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
|
@ -589,6 +589,9 @@
|
||||
btnName: '重置',
|
||||
name: 'reset'
|
||||
},
|
||||
{
|
||||
type: 'separate'
|
||||
},
|
||||
{
|
||||
type: 'button',
|
||||
btnName: '打印',
|
||||
@ -1318,6 +1321,16 @@ export default {
|
||||
endPlaceholder: '结束时间',
|
||||
defaultSelect: ['2022-08-11', '2022-08-12'],
|
||||
param: 'searchTime4'
|
||||
},
|
||||
{
|
||||
type: 'datePicker',
|
||||
label: '产品上片时间',
|
||||
dateType: 'datetime',
|
||||
format: 'yyyy-MM-dd HH:mm:ss',
|
||||
valueFormat: 'yyyy-MM-dd HH:mm:ss',
|
||||
placeholder: '产品上片时间',
|
||||
param: 'testTime',
|
||||
width: 200
|
||||
}
|
||||
],
|
||||
formConfig33: [
|
||||
@ -1443,6 +1456,9 @@ export default {
|
||||
btnName: '重置',
|
||||
name: 'reset'
|
||||
},
|
||||
{
|
||||
type: 'separate'
|
||||
},
|
||||
{
|
||||
type: 'button',
|
||||
btnName: '打印',
|
||||
@ -1454,7 +1470,8 @@ export default {
|
||||
type: 'button',
|
||||
btnName: '成功',
|
||||
name: 'success',
|
||||
color: 'success'
|
||||
color: 'success',
|
||||
plain: true
|
||||
},
|
||||
{
|
||||
type: 'button',
|
||||
|
@ -17,9 +17,11 @@
|
||||
第一列的图标可以控制表格列的显示和隐藏。序号列的宽度可以自定义,默认为70,参数为<code>pageWidth</code>,类型为<code
|
||||
>Number</code
|
||||
>
|
||||
默认序号列是左侧固定的,如果需要取消固定可以传入参数<code>cancelPageFixed</code>值为<code>true</code>,elementUI提供了<code>doLayout</code>函数,对
|
||||
。默认序号列是左侧固定的,如果需要取消固定可以传入参数<code>cancelPageFixed</code>值为<code>true</code>,elementUI提供了<code>doLayout</code>函数,对
|
||||
Table 进行重新布局。当 Table
|
||||
或其祖先元素由隐藏切换为显示时,可能需要调用此方法,具体用法如下demo
|
||||
或其祖先元素由隐藏切换为显示时,可能需要调用此方法,具体用法如下demo。<code
|
||||
>cancelPageFixed</code
|
||||
><code>doLayout</code>函数在组件code-brick-zj0.0.6版本支持。
|
||||
</div>
|
||||
<div>
|
||||
<pre>
|
||||
@ -118,7 +120,7 @@
|
||||
<code>stripe</code>属性可以创建带斑马纹的表格。它接受一个
|
||||
<code>Boolean</code>,默认为<code>false</code>,
|
||||
设置为<code>true</code>即为启用。默认情况下,Table
|
||||
组件是有竖直方向的边框的,如果需要取消,可以使用<code>cancel-border</code>属性,它接受一个<code>Boolean</code>,设置为<code>true</code>即可取消边框。
|
||||
组件是有竖直方向的边框的,如果需要取消,可以使用<code>cancel-border</code>属性,它接受一个<code>Boolean</code>,设置为<code>true</code>即可取消边框,<code>cancel-border</code>属性在组件code-brick-zj0.0.5版本支持。
|
||||
</div>
|
||||
<div>
|
||||
<pre>
|
||||
|
Loading…
Reference in New Issue
Block a user