|
@@ -23,7 +23,7 @@
|
|
|
|
|
|
<script>
|
|
|
export default {
|
|
|
- name: "dateFormat",
|
|
|
+ name: "datasGetlist",
|
|
|
props: {
|
|
|
formulainfo: {
|
|
|
type: Object,
|
|
@@ -41,15 +41,16 @@ export default {
|
|
|
data(){
|
|
|
return{
|
|
|
radio:1,
|
|
|
- input:'0'
|
|
|
+ input:'1'
|
|
|
}
|
|
|
},
|
|
|
mounted(){
|
|
|
//console.log(this.formulainfo.arguments[0])
|
|
|
//console.log(this.formulainfo.arguments[1])
|
|
|
let arg1 = this.formulainfo.arguments[1];
|
|
|
- if(arg1 == '0' || arg1 == undefined){
|
|
|
+ if(arg1 == 'first' || arg1 == undefined){
|
|
|
this.radio = 1;
|
|
|
+ this.formulainfo.arguments[1] = 'first';
|
|
|
}else if(arg1 == 'last'){
|
|
|
this.radio = 3;
|
|
|
}else{
|
|
@@ -65,7 +66,7 @@ export default {
|
|
|
|
|
|
radioChange(value){
|
|
|
if(value == 1){
|
|
|
- this.formulainfo.arguments[1] = '0';
|
|
|
+ this.formulainfo.arguments[1] = 'first';
|
|
|
}else if(value == 3){
|
|
|
this.formulainfo.arguments[1] = 'last';
|
|
|
}else if(value == 2){
|