zjl #6

Merged
juzi merged 2 commits from zjl into develop 2023-01-10 14:09:33 +08:00
5 changed files with 61 additions and 13 deletions

14
package-lock.json generated
View File

@ -8,7 +8,7 @@
"name": "code-brick-wd", "name": "code-brick-wd",
"version": "0.1.0", "version": "0.1.0",
"dependencies": { "dependencies": {
"code-brick-zj": "^0.0.6", "code-brick-zj": "^0.0.7",
"core-js": "^3.8.3", "core-js": "^3.8.3",
"element-ui": "^2.15.12", "element-ui": "^2.15.12",
"vue": "^2.6.14", "vue": "^2.6.14",
@ -4007,9 +4007,9 @@
} }
}, },
"node_modules/code-brick-zj": { "node_modules/code-brick-zj": {
"version": "0.0.6", "version": "0.0.7",
"resolved": "https://registry.npmjs.org/code-brick-zj/-/code-brick-zj-0.0.6.tgz", "resolved": "https://registry.npmjs.org/code-brick-zj/-/code-brick-zj-0.0.7.tgz",
"integrity": "sha512-8Wdr0J4v7zfmOLhG1fvDi5rPSkFB5r/onwi1GFdIZyiSwl5Xia61df11OdCFP8cPksL2hATiTTWs6WU/6s/cxA==" "integrity": "sha512-ZuhseY/9RUUUweAiTdumq5pJKAKAJxpvD8yjcVluY+cGDEKyoKzN9PjycPh2tUsE/gmwShfgrcIcm5DKcmzqvA=="
}, },
"node_modules/color-convert": { "node_modules/color-convert": {
"version": "1.9.3", "version": "1.9.3",
@ -14473,9 +14473,9 @@
} }
}, },
"code-brick-zj": { "code-brick-zj": {
"version": "0.0.6", "version": "0.0.7",
"resolved": "https://registry.npmjs.org/code-brick-zj/-/code-brick-zj-0.0.6.tgz", "resolved": "https://registry.npmjs.org/code-brick-zj/-/code-brick-zj-0.0.7.tgz",
"integrity": "sha512-8Wdr0J4v7zfmOLhG1fvDi5rPSkFB5r/onwi1GFdIZyiSwl5Xia61df11OdCFP8cPksL2hATiTTWs6WU/6s/cxA==" "integrity": "sha512-ZuhseY/9RUUUweAiTdumq5pJKAKAJxpvD8yjcVluY+cGDEKyoKzN9PjycPh2tUsE/gmwShfgrcIcm5DKcmzqvA=="
}, },
"color-convert": { "color-convert": {
"version": "1.9.3", "version": "1.9.3",

View File

@ -8,7 +8,7 @@
"lint": "vue-cli-service lint" "lint": "vue-cli-service lint"
}, },
"dependencies": { "dependencies": {
"code-brick-zj": "^0.0.6", "code-brick-zj": "^0.0.7",
"core-js": "^3.8.3", "core-js": "^3.8.3",
"element-ui": "^2.15.12", "element-ui": "^2.15.12",
"vue": "^2.6.14", "vue": "^2.6.14",

View File

@ -3,7 +3,36 @@
<p> <p>
组件包目前封装常用的四个组件:表格搜索区域分页对话框包npm地址为https://www.npmjs.com/package/code-brick-zj 组件包目前封装常用的四个组件:表格搜索区域分页对话框包npm地址为https://www.npmjs.com/package/code-brick-zj
</p> </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> </div>
</template> </template>
<script> <script>

View File

@ -589,6 +589,9 @@
btnName: '重置', btnName: '重置',
name: 'reset' name: 'reset'
}, },
{
type: 'separate'
},
{ {
type: 'button', type: 'button',
btnName: '打印', btnName: '打印',
@ -1318,6 +1321,16 @@ export default {
endPlaceholder: '结束时间', endPlaceholder: '结束时间',
defaultSelect: ['2022-08-11', '2022-08-12'], defaultSelect: ['2022-08-11', '2022-08-12'],
param: 'searchTime4' 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: [ formConfig33: [
@ -1443,6 +1456,9 @@ export default {
btnName: '重置', btnName: '重置',
name: 'reset' name: 'reset'
}, },
{
type: 'separate'
},
{ {
type: 'button', type: 'button',
btnName: '打印', btnName: '打印',
@ -1454,7 +1470,8 @@ export default {
type: 'button', type: 'button',
btnName: '成功', btnName: '成功',
name: 'success', name: 'success',
color: 'success' color: 'success',
plain: true
}, },
{ {
type: 'button', type: 'button',

View File

@ -17,9 +17,11 @@
第一列的图标可以控制表格列的显示和隐藏序号列的宽度可以自定义默认为70参数为<code>pageWidth</code>,类型为<code 第一列的图标可以控制表格列的显示和隐藏序号列的宽度可以自定义默认为70参数为<code>pageWidth</code>,类型为<code
>Number</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 Table 进行重新布局 Table
或其祖先元素由隐藏切换为显示时可能需要调用此方法具体用法如下demo 或其祖先元素由隐藏切换为显示时可能需要调用此方法具体用法如下demo<code
>cancelPageFixed</code
><code>doLayout</code>函数在组件code-brick-zj0.0.6版本支持
</div> </div>
<div> <div>
<pre> <pre>
@ -118,7 +120,7 @@
<code>stripe</code>属性可以创建带斑马纹的表格它接受一个 <code>stripe</code>属性可以创建带斑马纹的表格它接受一个
<code>Boolean</code>默认为<code>false</code> <code>Boolean</code>默认为<code>false</code>
设置为<code>true</code>即为启用默认情况下Table 设置为<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>
<div> <div>
<pre> <pre>