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

完善流程

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