File tree Expand file tree Collapse file tree 3 files changed +13
-18
lines changed
components/basic/ViewGrid
开发版dev/Vue.NetCore/Vol.Vue3版本/src/components/basic/ViewGrid Expand file tree Collapse file tree 3 files changed +13
-18
lines changed Original file line number Diff line number Diff line change 236236 maxBtnLength,
237237 buttons.length
238238 )"
239- :icon =" item.icon"
240239 :key =" dIndex"
241240 >
242- {{ item.name }}</el-dropdown-item
241+ < i :class = " item.icon " ></ i > {{ item.name }}</el-dropdown-item
243242 >
244243 </el-dropdown-menu >
245244 </template >
@@ -572,7 +571,7 @@ var vueParam = {
572571 url: ' ' , // 从表加载数据的url
573572 pagination: { total: 0 , size: 100 , sortName: ' ' }, // 从表分页配置数据
574573 height: 0 , // 默认从表高度
575- textInline: true ,// 明细表行内容显示在一行上,如果需要换行显示,请设置为false
574+ textInline: true , // 明细表行内容显示在一行上,如果需要换行显示,请设置为false
576575 doubleEdit: true , // 使用双击编辑
577576 clickEdit: false , // 是否开启点击单元格编辑,点击其他行时结束编辑
578577 currentReadonly: false , // 当前用户没有编辑或新建权限时,表单只读(可用于判断用户是否有编辑或新建权限)
@@ -593,7 +592,7 @@ var vueParam = {
593592 },
594593 auditParam: {
595594 // 审核对象
596- rows: 0 , // 当前选中审核的行数
595+ rows: 0 , // 当前选中审核的行数
597596 model: false , // 审核弹出框
598597 value: - 1 , // 审核结果
599598 status: - 1 ,
@@ -641,12 +640,11 @@ var vueParam = {
641640 },
642641 methods: {},
643642 activated () {
644-
645643 // 2020.06.25增加activated方法
646644 this .onActivated && this .onActivated ();
647- if (this ._inited && this .isViewFlow ()) {
648- this .resetSearch ();
649- this .search ();
645+ if (this ._inited && this .isViewFlow ()) {
646+ this .resetSearch ();
647+ this .search ();
650648 }
651649 if (! this ._inited ) {
652650 this ._inited = true ;
Original file line number Diff line number Diff line change 2121 <div class =" btns" >
2222 <el-button
2323 type =" primary"
24- icon =" el-icon-chat-line-round"
2524 @click =" sendMessage"
26- >发送消息</el-button
25+ >< i class = " el-icon-chat-line-round " ></ i > 发送消息</el-button
2726 >
2827 </div >
2928 </div >
Original file line number Diff line number Diff line change 236236 maxBtnLength,
237237 buttons.length
238238 )"
239- :icon =" item.icon"
240239 :key =" dIndex"
241240 >
242- {{ item.name }}</el-dropdown-item
241+ < i :class = " item.icon " ></ i > {{ item.name }}</el-dropdown-item
243242 >
244243 </el-dropdown-menu >
245244 </template >
@@ -572,7 +571,7 @@ var vueParam = {
572571 url: ' ' , // 从表加载数据的url
573572 pagination: { total: 0 , size: 100 , sortName: ' ' }, // 从表分页配置数据
574573 height: 0 , // 默认从表高度
575- textInline: true ,// 明细表行内容显示在一行上,如果需要换行显示,请设置为false
574+ textInline: true , // 明细表行内容显示在一行上,如果需要换行显示,请设置为false
576575 doubleEdit: true , // 使用双击编辑
577576 clickEdit: false , // 是否开启点击单元格编辑,点击其他行时结束编辑
578577 currentReadonly: false , // 当前用户没有编辑或新建权限时,表单只读(可用于判断用户是否有编辑或新建权限)
@@ -593,7 +592,7 @@ var vueParam = {
593592 },
594593 auditParam: {
595594 // 审核对象
596- rows: 0 , // 当前选中审核的行数
595+ rows: 0 , // 当前选中审核的行数
597596 model: false , // 审核弹出框
598597 value: - 1 , // 审核结果
599598 status: - 1 ,
@@ -641,12 +640,11 @@ var vueParam = {
641640 },
642641 methods: {},
643642 activated () {
644-
645643 // 2020.06.25增加activated方法
646644 this .onActivated && this .onActivated ();
647- if (this ._inited && this .isViewFlow ()) {
648- this .resetSearch ();
649- this .search ();
645+ if (this ._inited && this .isViewFlow ()) {
646+ this .resetSearch ();
647+ this .search ();
650648 }
651649 if (! this ._inited ) {
652650 this ._inited = true ;
You can’t perform that action at this time.
0 commit comments