| | |
| | | prop: "id", |
| | | search: true, |
| | | sortable:true, |
| | | width:150 |
| | | // width:150 |
| | | }, |
| | | { |
| | | label: "图号", |
| | | prop: "uniquecode", |
| | | prop: "uniqueCode", |
| | | search: true, |
| | | hide:true, |
| | | sortable:true |
| | | }, |
| | | { |
| | | label: '分类id', |
| | | prop: 'classifyid', |
| | | label: '分类代号', |
| | | prop: 'classifyId', |
| | | search: true, |
| | | sortable:true, |
| | | width: 250 |
| | | // width: 250 |
| | | }, |
| | | { |
| | | label: '分类名称', |
| | | prop: 'classifyname', |
| | | prop: 'classifyName', |
| | | search: true, |
| | | sortable:true |
| | | sortable:true, |
| | | }, |
| | | { |
| | | label: '业务类型oid', |
| | | prop: 'btmoid', |
| | | prop: 'btmOid', |
| | | sortable:true, |
| | | width: 150 |
| | | hide:true, |
| | | // width: 250 |
| | | }, |
| | | { |
| | | label: '业务类型id', |
| | | prop: 'btmid', |
| | | prop: 'btmId', |
| | | sortable:true, |
| | | width: 150 |
| | | // width: 150 |
| | | }, |
| | | { |
| | | label: '推送类型', |
| | | prop: 'sendtype', |
| | | prop: 'sendType', |
| | | search: true, |
| | | sortable:true, |
| | | width: 150 |
| | | // width: 150, |
| | | formatter: function (row, column) { |
| | | if (row.sendType === 'Released') { |
| | | return '发布'; |
| | | } else if (row.sendType === 'TakeBack') { |
| | | return '回收'; |
| | | } else if (row.sendType === 'Disabled') { |
| | | return '停用'; |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | label: '是否分解任务', |
| | | prop: 'sendflag', |
| | | prop: 'sendFlag', |
| | | search: true, |
| | | sortable:true, |
| | | width: 130, |
| | | // width: 130, |
| | | html:true, |
| | | align:'center', |
| | | type:'select', |
| | |
| | | value: "key" |
| | | }, |
| | | formatter : function (row, column) { |
| | | return row.sendflag == 'true' || row.sendflag == '1' ? '<i class="el-icon-check"></i>' : '<i class="el-icon-close"></i>' |
| | | return row.sendFlag == 'true' || row.sendFlag == '1' ? '<i class="el-icon-check" style="color: limegreen"></i>' : '<i class="el-icon-close" style="color: red"></i>' |
| | | } |
| | | } |
| | | ] |