提交 31ca531e authored 作者: 宋雄's avatar 宋雄

完善流程

上级 d1fb9720
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
<a-form-model-item label="性别" :labelCol=" { xs: { span: 24 }, sm: { span: 3 } }" :wrapperCol="wrapperCol" prop="sex"> <a-form-model-item label="性别" :labelCol=" { xs: { span: 24 }, sm: { span: 3 } }" :wrapperCol="wrapperCol" prop="sex">
<a-radio-group v-model="model.sex"> <a-radio-group v-model="model.sex">
<a-radio :value="1"></a-radio> <a-radio :value="1"></a-radio>
<a-radio :value="0"></a-radio> <a-radio :value="2"></a-radio>
</a-radio-group> </a-radio-group>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
......
...@@ -37,12 +37,12 @@ ...@@ -37,12 +37,12 @@
</div> </div>
<div style="display:flex"> <div style="display:flex">
<div style="flex: none;width:200px" v-if="treeData.length"> <div style="flex: none;width:180px" v-if="treeData.length">
<a-tree v-if="treeDataFlag" :load-data="onLoadData" :tree-data="treeData" @select="onClickTree" <a-tree v-if="treeDataFlag" :load-data="onLoadData" :tree-data="treeData" @select="onClickTree"
style="max-height: 600px;overflow-y:auto" /> style="max-height: 600px;overflow-y:auto" />
</div> </div>
<div style="flex:auto;padding-left:10px"> <div style="width:60%;flex:auto;padding-left:10px">
<!-- 操作按钮区域 --> <!-- 操作按钮区域 -->
<div class="table-operator"> <div class="table-operator">
<a-button @click="handleAdd" type="primary" icon="plus">新增</a-button> <a-button @click="handleAdd" type="primary" icon="plus">新增</a-button>
...@@ -204,6 +204,7 @@ const columns = [ ...@@ -204,6 +204,7 @@ const columns = [
scopedSlots: { customRender: 'action' }, scopedSlots: { customRender: 'action' },
align: 'center', align: 'center',
width: 150, width: 150,
fixed: 'right'
}, },
] ]
...@@ -339,13 +340,13 @@ export default { ...@@ -339,13 +340,13 @@ export default {
return return
} }
if (typeof window.navigator.msSaveBlob !== 'undefined') { if (typeof window.navigator.msSaveBlob !== 'undefined') {
window.navigator.msSaveBlob(new Blob([data], { type: 'application/vnd.ms-excel' }), fileName + '.xlsx') window.navigator.msSaveBlob(new Blob([data], { type: 'application/vnd.ms-excel' }), fileName + '.xls')
} else { } else {
let url = window.URL.createObjectURL(new Blob([data], { type: 'application/vnd.ms-excel' })) let url = window.URL.createObjectURL(new Blob([data], { type: 'application/vnd.ms-excel' }))
let link = document.createElement('a') let link = document.createElement('a')
link.style.display = 'none' link.style.display = 'none'
link.href = url link.href = url
link.setAttribute('download', fileName + '.xlsx') link.setAttribute('download', fileName + '.xls')
document.body.appendChild(link) document.body.appendChild(link)
link.click() link.click()
document.body.removeChild(link) //下载完成移除元素 document.body.removeChild(link) //下载完成移除元素
......
...@@ -185,7 +185,7 @@ ...@@ -185,7 +185,7 @@
showSizeChanger: true showSizeChanger: true
}, },
url: { url: {
list: "/property-community/property/communityReceipt/list", list: "/property-community/payment/communityPayment/queryReceiptList",
delete: '/property-community/property/communityReceipt/delete', delete: '/property-community/property/communityReceipt/delete',
deleteBatch: '/property-community/property/communityReceipt/deleteBatch' deleteBatch: '/property-community/property/communityReceipt/deleteBatch'
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论