| | |
| | | :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" |
| | | @change="handleTableChange"> |
| | | |
| | | <template slot="avatarslot" slot-scope="text, record, index"> |
| | | <template slot="avatarslot" slot-scope="text, record"> |
| | | <div class="anty-img-wrap"> |
| | | <a-avatar shape="square" :src="getAvatarView(record.avatar)" icon="user"/> |
| | | </div> |
| | |
| | | title: '车间', |
| | | align: "center", |
| | | width: 240, |
| | | dataIndex: 'productionName' |
| | | dataIndex: 'productionName', |
| | | ellipsis: true, |
| | | }, |
| | | { |
| | | title: '状态', |
| | |
| | | title: '车间', |
| | | align: "center", |
| | | width: 240, |
| | | dataIndex: 'productionName' |
| | | dataIndex: 'productionName', |
| | | ellipsis: true, |
| | | }, |
| | | { |
| | | title: '状态', |
| | |
| | | title: '车间', |
| | | align: "center", |
| | | width: 240, |
| | | dataIndex: 'productionName' |
| | | dataIndex: 'productionName', |
| | | ellipsis: true, |
| | | }, |
| | | { |
| | | title: '班组', |
| | | align: "center", |
| | | width: 240, |
| | | dataIndex: 'teamId_dictText' |
| | | }, |
| | | { |
| | | title: '状态', |
| | |
| | | } |
| | | frozenBatch({ids: id, status: status}).then((res) => { |
| | | if (res.success) { |
| | | that.$message.success(res.message); |
| | | that.$notification.success({ |
| | | message:'消息', |
| | | description:res.message |
| | | }); |
| | | that.loadData(); |
| | | } else { |
| | | that.$message.warning(res.message); |
| | | that.$notification.warning({ |
| | | message:'消息', |
| | | description:res.message |
| | | }); |
| | | } |
| | | }); |
| | | }, |