+
- {{ scope.row.price }}元
+
+
@@ -373,7 +375,7 @@
-
@@ -386,12 +388,13 @@
-
-
+
当前值switchValue2:{{ this.form.switchValue2 }}
@@ -691,6 +694,7 @@ export default {
timer: null,
date1: '',
switchValue: true,
+ switchValue3: true,
switchValue1: 1,
switchValue2: '0',
dialogVisible1: false,
@@ -701,6 +705,8 @@ export default {
form: {
username: '',
language: '',
+ switchValue3:true,
+ switchValue2: '0',
domain_set: '',
domainSuffix: '11',
domainSuffix1: '.chachongz.com',
@@ -775,6 +781,7 @@ export default {
address: '上海市普陀区金沙江路 1518 弄',
price: '20',
age: 20,
+ statu:1,
// 在支持修改的项目中,需要主动保留一份原始数据
edit_name: '王小虎', edit_address: '上海市普陀区金沙江路 1518 弄'
}, {
@@ -783,6 +790,8 @@ export default {
address: '上海市普陀区金沙江路 151811 弄',
price: '10',
age: 30,
+ statu:1,
+
edit_name: '王小虎11', edit_address: '上海市普陀区金沙江路 151811 弄'
}, {
@@ -790,6 +799,7 @@ export default {
name: '王小虎',
address: '上海市普陀区金沙江路 1518 弄',
price: '200',
+ statu:0,
}, {
date: '2016-05-01',
name: '王小虎',
@@ -978,6 +988,10 @@ export default {
}
},
methods: {
+ switchChange(value){
+ console.log(value,'====value');
+ console.log(this.switchValue1,'===uuuu');
+ },
handleEvent(data){
console.log(data,'data')
},
@@ -1124,10 +1138,17 @@ export default {
return randomNumber
},
onSwitchChange(value) {
- console.log('Switch 状态变化:', this.switchValue, value);
+ console.log('Switch/ 状态变化:',this.switchValue, value);
+ // console.log('Switch 状态变化:',this.form.switchValue2,this.form.switchValue3, value);
+ },
+ onSwitchChange1(value) {
+ // 操作表格内的 看一下是否同步修改了
+ // console.log(this.tableData2,value,'this.tableData2===');
+ console.log('Switch/ 状态变化:', value.statu);
},
// 弹框相关方法---start
openDialog() {
+ console.log(this.switchValue1,'switchValue1');
this.dialogVisible = true;
},
openDialog1() {
@@ -1188,7 +1209,7 @@ export default {
console.log(data, 'radio--data');
},
selectChangeTest(val){
- console.log(val,'select-----选中的');
+ console.log(val,'select-----选中的',this.form.card,this.form.card1);
},
handleClick(row) {
console.log(row);