|
|
@@ -44,7 +44,7 @@
|
|
|
<!--<el-button type="success" size="small" @click="handleReportDesigner" icon="el-icon-printer">设计报表</el-button>-->
|
|
|
<!--<el-button type="success" size="small" @click="handleReportPreview" icon="el-icon-printer">预览报表</el-button>-->
|
|
|
</template>
|
|
|
- <template v-if="!eldialog" slot-scope="{ row, index }" slot="menu">
|
|
|
+ <template v-if="!eldialog" slot-scope="{ row, index }" slot="menu">
|
|
|
<el-button icon="el-icon-edit" type="text" size="small" @click.stop="editOpen(row)">
|
|
|
编辑
|
|
|
</el-button>
|
|
|
@@ -600,10 +600,11 @@ export default {
|
|
|
// 左侧点击回调
|
|
|
nodeClick(data) {
|
|
|
// var reqiestData = this.search;
|
|
|
- // // console.log(data, 904)
|
|
|
+ console.log(data, 904)
|
|
|
// reqiestData.corpType = data.id
|
|
|
// if (this.search.corpType == null) {
|
|
|
this.query.corpType = data.id
|
|
|
+ this.query.corpTypeName = data.cnName
|
|
|
// } else {
|
|
|
// this.search.corpType = null
|
|
|
// }
|
|
|
@@ -617,9 +618,9 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
editOpen(row) {
|
|
|
- if(this.eldialog){
|
|
|
- return
|
|
|
- }
|
|
|
+ if (this.eldialog) {
|
|
|
+ return
|
|
|
+ }
|
|
|
|
|
|
this.detailData = {
|
|
|
id: row.id
|
|
|
@@ -702,7 +703,9 @@ export default {
|
|
|
this.detailData = {};
|
|
|
if (this.query.corpType != null) {
|
|
|
this.detailData.corpType = this.query.corpType
|
|
|
+ this.detailData.corpTypeName = this.query.corpTypeName
|
|
|
}
|
|
|
+ console.log(this.detailData,123213123123)
|
|
|
this.isShow = false;
|
|
|
// if (["edit", "view"].includes(type)) {
|
|
|
// getBcorpsDetail(this.form.id).then(res => {
|