Commit e3f745fb authored by Your Name's avatar Your Name

htf

parent d803750a
...@@ -56,6 +56,7 @@ ...@@ -56,6 +56,7 @@
size="default" size="default"
rowKey="GUID" rowKey="GUID"
:columns="columns" :columns="columns"
:data="loadData"
showPagination="auto" showPagination="auto"
:rowClassName="setRowClassName" :rowClassName="setRowClassName"
> >
...@@ -209,7 +210,7 @@ export default { ...@@ -209,7 +210,7 @@ export default {
} }
}, },
// created() {}, created() {},
methods: { methods: {
//time //time
...@@ -244,7 +245,7 @@ export default { ...@@ -244,7 +245,7 @@ export default {
getCerfmgDetails(record.GUID) getCerfmgDetails(record.GUID)
.then(res => { .then(res => {
// this.radioVal = res.data[0] // this.radioVal = res.data[0]
console.log(res.data[0]) // console.log(res.data[0])
// this.modalForm.initialValue(res) // this.modalForm.initialValue(res)
this.$nextTick(() => { this.$nextTick(() => {
this.modalForm.setFieldsValue(res.data[0]) this.modalForm.setFieldsValue(res.data[0])
...@@ -252,9 +253,6 @@ export default { ...@@ -252,9 +253,6 @@ export default {
}) })
.catch(err => {}) .catch(err => {})
} }
// handleOk() {
// this.$refs.table.refresh()
// }
} }
} }
</script> </script>
......
<template> <template>
<a-card :bordered="false"> <a-card :bordered="false">
<div class="table-operator"> <div class="table-operator">
<a-button link="/storedc/branchservice_add" type="primary" icon="plus">添加服务类目</a-button> <a-button @click="handleadd" type="primary" icon="plus">添加服务类目</a-button>
<a-button type="primary" icon="cloud-upload">导出服务类目</a-button> <a-button type="primary" icon="cloud-upload">导出服务类目</a-button>
<a-button type="primary" icon="cloud-download">导入服务类目</a-button> <a-button type="primary" icon="cloud-download">导入服务类目</a-button>
<a-button type="primary" icon="download">下载导入模板</a-button> <a-button type="primary" icon="download">下载导入模板</a-button>
...@@ -170,9 +170,9 @@ export default { ...@@ -170,9 +170,9 @@ export default {
}) })
.catch(err => {}) .catch(err => {})
}, },
// handleadd() { handleadd() {
// this.$router.push({ path: '/storedc/branchservice_add' }) this.$router.push({ path: '/storedc/branchservice_add' })
// }, },
handleOk() { handleOk() {
let GUID = this.GUID let GUID = this.GUID
const { const {
......
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