Commit a4349303 authored by wangxl's avatar wangxl

555

parent bc0214fd
...@@ -92,7 +92,6 @@ export default { ...@@ -92,7 +92,6 @@ export default {
{ title: '单位', dataIndex: 'unitName', align: 'center' }, { title: '单位', dataIndex: 'unitName', align: 'center' },
{ title: '用户名', dataIndex: 'username', align: 'center' }, { title: '用户名', dataIndex: 'username', align: 'center' },
{ title: '密码', dataIndex: 'password', align: 'center' }, { title: '密码', dataIndex: 'password', align: 'center' },
{ title: '操作', scopedSlots: { customRender: 'option' }, align: 'center', fixed: 'right', width: '180px', }, { title: '操作', scopedSlots: { customRender: 'option' }, align: 'center', fixed: 'right', width: '180px', },
], ],
excelCol: [ excelCol: [
...@@ -121,10 +120,10 @@ export default { ...@@ -121,10 +120,10 @@ export default {
if (user && user.roles) { if (user && user.roles) {
if (user.roles.indexOf("0") != -1) { if (user.roles.indexOf("0") != -1) {
this.isTopGov = true this.isTopGov = true
this.columns.splice(7, 0, { title: '状态', scopedSlots: { customRender: 'stateSwitch' }, align: 'center' },) this.columns.splice(8, 0, { title: '状态', scopedSlots: { customRender: 'stateSwitch' }, align: 'center' },)
} }
else { else {
this.columns.splice(7, 0, { title: '上报状态', scopedSlots: { customRender: 'reportState' }, align: 'center' }) this.columns.splice(8, 0, { title: '上报状态', scopedSlots: { customRender: 'reportState' }, align: 'center' })
} }
} }
this.getListByPage() this.getListByPage()
......
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