Commit 968a2794 authored by 张伯涛's avatar 张伯涛

修改

parent 29e54c61
......@@ -51,7 +51,11 @@
>
<el-table-column type="selection" width="55" />
<el-table-column label="序号" type="index" width="55" />
<el-table-column label="单位中文名称" prop="ZBPNAME_ZH" width="400" :show-overflow-tooltip="true" />
<el-table-column label="单位中文名称" prop="ZBPNAME_ZH" :show-overflow-tooltip="true">
<template slot-scope="{ row }">
<el-link type="primary" @click.stop="checkDetails(row)">{{ row.ZBPNAME_ZH }}</el-link>
</template>
</el-table-column>
<el-table-column label="核算组织编码" prop="ZACORGNO" width="200" :show-overflow-tooltip="true" />
<el-table-column label="单位编码" prop="ZBP" width="150" :show-overflow-tooltip="true" />
<el-table-column label="公司/个人" prop="ZBPTYPENAME" width="100" :show-overflow-tooltip="true" />
......@@ -125,6 +129,16 @@ export default {
this.getList()
},
methods: {
/** 查看按钮 */
checkDetails(row) {
this.$router.push({
path: '/contactsUnit/contactsUnitDetails',
query: {
id: row.ZBP
}
})
// this.unitOpen = true
},
handleSelectionChange(val) {
this.companyName = val[0].ZBPNAME_ZH
this.companyCode = val[0].ZBP
......
......@@ -538,7 +538,11 @@
<el-table ref="unitInfoData" :data="unitInfoData" border @select="dialogCheck" @selection-change="handleSelected">
<el-table-column type="selection" width="55" />
<el-table-column label="序号" type="index" width="55" />
<el-table-column label="单位中文名称" prop="ZBPNAME_ZH" :show-overflow-tooltip="true" />
<el-table-column label="单位中文名称" prop="ZBPNAME_ZH" :show-overflow-tooltip="true">
<template slot-scope="{ row }">
<el-link type="primary" @click.stop="proCheckDetails(row)">{{ row.ZBPNAME_ZH }}</el-link>
</template>
</el-table-column>
<el-table-column label="核算组织编码" prop="ZACORGNO" :show-overflow-tooltip="true" />
<el-table-column label="单位编码" prop="ZBP" :show-overflow-tooltip="true" />
<el-table-column label="公司/个人" prop="ZBPTYPENAME" :show-overflow-tooltip="true" />
......@@ -1400,6 +1404,16 @@ export default {
}
},
methods: {
/** 查看按钮 */
proCheckDetails(row) {
this.$router.push({
path: '/contactsUnit/contactsUnitDetails',
query: {
id: row.ZBP
}
})
// this.unitOpen = true
},
/** 获取服务器时间*/
getNewDate() {
ServerTime().then(res => {
......
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