Commit ab1849ca by YuMengShuai

修改Jieshouhui交易

parent 518e6749
import React, { Component, Fragment } from 'react'
import {
Page, Validator, Notification, FormItem,
InputItem, Input, Bind, SelectItem, Button, Label, DatePickerItem, Section, ConfirmButton, Steps, CheckboxItem, TextAreaItem
Page, Validator, Notification, FormItem,InputItem, Input, Bind, SelectItem, Button, Label, DatePickerItem, Section, ConfirmButton, Steps, CheckboxItem, TextAreaItem
} from '@/components/Common-Library'
import Api from '@/service/api'
import CodeTableFactory from '@/components/CodeTable'
......@@ -57,10 +56,16 @@ export default class JieshouhuiScreen extends Page {
render: (val, row, index) => {
return (
<div>
<a onClick={()=>{this.com.link('fcyame',val,row,index)}}>修改</a>
<Divider type="vertical" />
<Button style={{float:'left'}} onClick={()=>{this.com.link('fcyame',val,row,index)}}>修改</Button>
{/* <a onClick={()=>{this.link('fcydel',row.inr)}}>删除</a> */}
<a onClick={()=>{this.com.onDelete(val, row, index)}}>删除</a>
{/* <a onClick={()=>{this.com.onDelete(val, row, index)}}>删除</a> */}
<ConfirmButton
onOK={this.com.onDelete.bind(this,val, row, index)}
message="确定删除?"
>
<Label itext="删除" />
</ConfirmButton>
</div>
)
......@@ -79,11 +84,15 @@ export default class JieshouhuiScreen extends Page {
render: (val, row, index) => {
return (
<div>
{/* <a onClick={()=>{this.link('lcyame',row.inr)}}>修改</a> */}
<a onClick={()=>{this.com.link('lcyame',val,row,index)}}>修改</a>
<Divider type="vertical" />
{/* <a onClick={()=>{this.link('lcydel',row.inr)}}>删除</a> */}
<a onClick={()=>{this.com.link('lcydel',val,row,index)}}>删除</a>
<Button style={{float:'left'}} onClick={()=>{this.com.link('lcyame',val,row,index)}}>修改</Button>
{/* <a onClick={()=>{this.link('fcydel',row.inr)}}>删除</a> */}
{/* <a onClick={()=>{this.com.onDelete(val, row, index)}}>删除</a> */}
<ConfirmButton
onOK={this.com.onDelete.bind(this,val, row, index)}
message="确定删除?"
>
<Label itext="删除" />
</ConfirmButton>
</div>
)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment