|
@@ -133,7 +133,7 @@
|
|
|
<script>
|
|
<script>
|
|
|
export default {
|
|
export default {
|
|
|
props:["tablecols","params","placeholder",'restName','inputData','isRest','isContracted','type',
|
|
props:["tablecols","params","placeholder",'restName','inputData','isRest','isContracted','type',
|
|
|
- 'idName','isButton','inputSize','disabled','isTask','rowIndex'],
|
|
|
|
|
|
|
+ 'idName','isButton','inputSize','disabled','isTask','rowIndex','disVal'],
|
|
|
name: "index",
|
|
name: "index",
|
|
|
data(){
|
|
data(){
|
|
|
return {
|
|
return {
|
|
@@ -165,6 +165,8 @@ export default {
|
|
|
this.visible = false
|
|
this.visible = false
|
|
|
if (this.isButton){
|
|
if (this.isButton){
|
|
|
this.$emit('rowClick',val)
|
|
this.$emit('rowClick',val)
|
|
|
|
|
+ }else if(this.disVal){
|
|
|
|
|
+ this.$emit('rowClick',val,this.type,this.restName,this.idName,this.rowIndex)
|
|
|
}else {
|
|
}else {
|
|
|
this.inputData = val[this.restName]
|
|
this.inputData = val[this.restName]
|
|
|
this.$emit('rowClick',val,this.type,this.restName,this.idName,this.rowIndex)
|
|
this.$emit('rowClick',val,this.type,this.restName,this.idName,this.rowIndex)
|