5399b538 by yangwei

部分表格报错修改,引入详情弹框

1 parent 61b52ec1
......@@ -61,12 +61,8 @@
@size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
:data="tableData.data">
</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>
......@@ -77,13 +73,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: "fdcqdz",
mixins: [tableMixin],
components: {
treeSelect,
editDialog
treeSelect
},
data () {
return {
......@@ -111,21 +105,12 @@ export default {
return (
<div>
<el-button
type="text"
size="mini"
icon="el-icon-folder"
style="color:#67C23A"
onClick={() => { this.handleXmlres(scope.$index, scope.row) }}
type="primary"
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>
);
......
......@@ -61,12 +61,8 @@
@size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
:data="tableData.data">
</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>
......@@ -77,13 +73,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: "fdcqyz",
mixins: [tableMixin],
components: {
treeSelect,
editDialog
treeSelect
},
data () {
return {
......@@ -111,21 +105,12 @@ export default {
return (
<div>
<el-button
type="text"
size="mini"
icon="el-icon-folder"
style="color:#67C23A"
onClick={() => { this.handleXmlres(scope.$index, scope.row) }}
type="primary"
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>
);
......
......@@ -56,12 +56,8 @@
@size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
:data="tableData.data">
</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>
......@@ -72,13 +68,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: "jsydzjdsyq",
mixins: [tableMixin],
components: {
treeSelect,
editDialog
treeSelect
},
data () {
return {
......@@ -105,21 +99,12 @@ export default {
return (
<div>
<el-button
type="text"
size="mini"
icon="el-icon-folder"
style="color:#67C23A"
onClick={() => { this.handleXmlres(scope.$index, scope.row) }}
type="primary"
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>
);
......
......@@ -52,15 +52,12 @@
</el-form>
</div>
<div class="from-clues-content">
<lb-table :page-size="pageData.size" :heightNum="340" :current-page.sync="pageData.current" :total="pageData.total"
<lb-table :page-size="pageData.size" :current-page.sync="pageData.current" :total="pageData.total"
@size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
:data="tableData.data">
</lb-table>
<message-tips ref="msg"/>
</div>
<!-- XML报文 -->
<xml-message ref="dialog" :xml="xml" />
<edit-dialog ref="editLog" :bsmSjsb="bsmSjsb" :diaData="diaData" />
<dataDetails ref="editLog" :title="title" />
</div>
</template>
......@@ -71,11 +68,9 @@ 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 {
components: {
treeSelect,
editDialog
treeSelect
},
name: "tdsyq",
mixins: [tableMixin],
......@@ -104,21 +99,12 @@ export default {
return (
<div>
<el-button
type="text"
size="mini"
icon="el-icon-folder"
style="color:#67C23A"
onClick={() => { this.handleXmlres(scope.$index, scope.row) }}
type="primary"
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>
);
......