Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
42456a04
Commit
42456a04
authored
Mar 16, 2022
by
蒋勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d
parent
4ccc22fa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
bigdata/app/front/vues/base/form/form.vue
+3
-3
bigdata/app/front/vues/base/grid2/grid2.vue
+2
-2
No files found.
bigdata/app/front/vues/base/form/form.vue
View file @
42456a04
...
@@ -19,7 +19,7 @@ var tmpl=`
...
@@ -19,7 +19,7 @@ var tmpl=`
<el-input
v-model
.
number=
"formModel[item.prop]"
size=
"small"
:disabled=
"item.disabled"
:placeholder=
"item.placeHolder"
:style=
"item.style"
></el-input>
<el-input
v-model
.
number=
"formModel[item.prop]"
size=
"small"
:disabled=
"item.disabled"
:placeholder=
"item.placeHolder"
:style=
"item.style"
></el-input>
</
template
>
</
template
>
<
template
v-else-if=
"isSelect(item.type)"
>
<
template
v-else-if=
"isSelect(item.type)"
>
<gsb-select
:ref=
"item.prop"
v-model=
"formModel[item.prop]"
:refModel=
"item.refModel"
:refMethod=
"item.refMethod"
:placeHolder=
"item.placeHolder"
:dicKey=
"item.dicKey"
:autoComplete=
"item.autoComplete"
:isMulti=
"item.isMulti"
:modelName=
"item.modelName"
:isFilter=
"item.isFilter"
:labelField=
"item.labelField"
:refwhere2=
"item.refwhere2"
@
change=
"onselchange(item.prop,formModel,item.target)"
:valueField=
"item.valueField"
></gsb-select>
<gsb-select
:ref=
"item.prop"
v-model=
"formModel[item.prop]"
:refModel=
"item.refModel"
:refMethod=
"item.refMethod"
:placeHolder=
"item.placeHolder"
:dicKey=
"item.dicKey"
:autoComplete=
"item.autoComplete"
:isMulti=
"item.isMulti"
:modelName=
"item.modelName"
:isFilter=
"item.isFilter"
:labelField=
"item.labelField"
:refwhere2=
"item.refwhere2"
@
change=
"onselchange(item.prop,formModel,item.target
,ctlVisable
)"
:valueField=
"item.valueField"
></gsb-select>
</
template
>
</
template
>
<
template
v-else-if=
"isCheck(item.type)"
>
<
template
v-else-if=
"isCheck(item.type)"
>
<gsb-checkgroup
:max=
"group.max"
v-model=
"formModel[item.prop]"
:isButton=
"item.isButton"
:dicKey=
"item.dicKey"
></gsb-checkgroup>
<gsb-checkgroup
:max=
"group.max"
v-model=
"formModel[item.prop]"
:isButton=
"item.isButton"
:dicKey=
"item.dicKey"
></gsb-checkgroup>
...
@@ -137,11 +137,11 @@ module.exports=
...
@@ -137,11 +137,11 @@ module.exports=
switchchange(spop,tprop,fm,ctlvisable){
switchchange(spop,tprop,fm,ctlvisable){
this.$emit("onswitchchange",spop,tprop,fm,ctlvisable);
this.$emit("onswitchchange",spop,tprop,fm,ctlvisable);
},
},
onselchange:function(prop,formModel,target){
onselchange:function(prop,formModel,target
,ctlVisable
){
if(!target){
if(!target){
return;
return;
}
}
this.$emit("onselchange",prop,formModel,target);
this.$emit("onselchange",prop,formModel,target
,ctlVisable
);
},
},
showform:function(){
showform:function(){
this.isshow=true;
this.isshow=true;
...
...
bigdata/app/front/vues/base/grid2/grid2.vue
View file @
42456a04
...
@@ -146,8 +146,8 @@ module.exports=
...
@@ -146,8 +146,8 @@ module.exports=
},
},
methods:{
methods:{
onselchange(prop,formModel,target){
onselchange(prop,formModel,target
,ctlVisable
){
this.$emit("onselchange",prop,formModel,target);
this.$emit("onselchange",prop,formModel,target
,ctlVisable
);
},
},
btnctlfunc:function(row,btn){
btnctlfunc:function(row,btn){
if(row.isSystem){
if(row.isSystem){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment