Commit 0d39c453 authored by 徐俊's avatar 徐俊

xujun

parent 459b77d9
...@@ -33,14 +33,21 @@ ...@@ -33,14 +33,21 @@
</template> </template>
</a-table> </a-table>
<a-pagination v-if="pagination.total > 0" :total="pagination.total" show-size-changer show-quick-jumper v-model="pagination.pageIndex" :page-size="pagination.pageSize" :page-size-options="pagination.pageSizeOptions" @showSizeChange="showSizeChange" @change="change" :showTotal="() => `共 ${pagination.total} 条`" /> <a-pagination v-if="pagination.total > 0" :total="pagination.total" show-size-changer show-quick-jumper v-model="pagination.pageIndex" :page-size="pagination.pageSize" :page-size-options="pagination.pageSizeOptions" @showSizeChange="showSizeChange" @change="change" :showTotal="() => `共 ${pagination.total} 条`" />
<a-modal v-model="visibleEdit" v-if="visibleEdit" title="人才申报创建/修改" width="94%" :footer="null" :dialog-style="{ top: '8%' }" destroyOnClose :maskClosable="false">
<talent-create v-model="id" @close="closeWindow"></talent-create>
</a-modal>
</div> </div>
</template> </template>
<script> <script>
import { isEmptyParams, filterExportExcelData, tableColumnsName } from "@/views/utils/common" import { isEmptyParams, filterExportExcelData, tableColumnsName } from "@/views/utils/common"
import talentCreate from "@/views/report/talent/components/talentCreate"
export default { export default {
name: "reportTalent", name: "reportTalent",
components: {
talentCreate
},
data() { data() {
return { return {
form: this.$form.createForm(this, { name: 'advanced_search' }), form: this.$form.createForm(this, { name: 'advanced_search' }),
...@@ -73,6 +80,8 @@ export default { ...@@ -73,6 +80,8 @@ export default {
isButten: true,//false isButten: true,//false
display: true, display: true,
loading: false, loading: false,
visibleView: false,
visibleEdit: false,
}; };
}, },
created () { created () {
...@@ -128,7 +137,21 @@ export default { ...@@ -128,7 +137,21 @@ export default {
this.getListByPage() this.getListByPage()
}, },
ApplyTalent () { ApplyTalent () {
this.id = null
this.visibleEdit = true
},
closeWindow (value) {
if (value === 'submit') {
this.visibleEdit = false
this.getListByPage()
} else if (value === 'save') {
this.getListByPage()
}
else if (value === 'error') {
this.id = null
this.visibleEdit = false
this.visibleView = false
}
}, },
exportData() { exportData() {
......
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