68e92cdc by 任超

style:地役权

1 parent 69ac769c
import { mapGetters } from 'vuex'
// 引入详情弹框
import dataDetails from "@/components/dataDetails/edit-dialog";
let mixin = {
data () {
return {
......@@ -7,6 +9,9 @@ let mixin = {
}
}
},
components: {
dataDetails,
},
computed: {
...mapGetters(['dicData'])
},
......@@ -28,6 +33,11 @@ let mixin = {
},
handleSubmit () {
this.featchData()
},
// 详情
handleEdit (row) {
this.title = row.rectypeName
this.$refs.editLog.isShow(row);
}
}
}
......
......@@ -76,10 +76,8 @@
</lb-table>
<message-tips ref="msg" :message="message" />
</div>
<!-- XML报文 -->
<xml-message ref="dialog" :xml="xml" />
<!-- 数据详情 -->
<edit-dialog ref="editLog" :bsmSjsb="bsmSjsb" :diaData="diaData" />
<!-- 编辑 -->
<dataDetails ref="editLog" :title="title" />
</div>
</template>
......@@ -90,13 +88,11 @@ import business from '@/api/business'
import dataReporting from '@/api/dataReporting'
import tableMixin from '@/mixins/tableMixin.js'
import treeSelect from '@/components/treeSelect/index.vue'
import editDialog from '@/components/dataDetails/edit-dialog.vue'
export default {
name: "dyiq",
mixins: [tableMixin],
components: {
treeSelect,
editDialog
treeSelect
},
data () {
return {
......@@ -113,8 +109,6 @@ export default {
xxx1: '',
currentPage: 1
},
// 需役地不动产单元号
xxx1Options: [],
tableData: {
columns: [{
label: '序号',
......@@ -129,21 +123,11 @@ export default {
return (
<div>
<el-button
type="text"
type="primary"
size="mini"
icon="el-icon-folder"
style="color:#67C23A"
onClick={() => { this.handleXmlres(scope.$index, scope.row) }}
onClick={() => { this.handleEdit(scope.row) }}
>
XML报文
</el-button>
<el-button
type="text"
size="mini"
icon="el-icon-view"
onClick={() => { this.handlDatadetails(scope.$index, scope.row) }}
>
数据详情
详情
</el-button>
</div>
);
......@@ -151,7 +135,7 @@ export default {
},
]),
data: []
data: [{}]
},
pageData: {
total: 0,
......@@ -168,7 +152,7 @@ export default {
this.form = Object.assign(this.form, this.formData)
let { result: { list, total, pages: pageSize, pageNum: current }
} = await business.getQlfQlDyiqList(this.form)
this.tableData.data = list
// this.tableData.data = list
this.pageData = {
pageSize,
current,
......@@ -178,17 +162,7 @@ export default {
this.message = error
this.$refs.msg.messageShow()
}
},
async handlDatadetails (index, row) {
let { result: res, message } = await dataReporting.getQltFwFdcqYzByCondition(row.BSM_SJSB)
if (res != null) {
this.diaData = res
this.bsmSjsb = row.BSM_SJSB
this.$store.dispatch('business/setEdit'); this.$refs.editLog.isShow()
} else {
this.$message(message)
}
},
}
}
</script>
......