5399b538 by yangwei

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

1 parent 61b52ec1
...@@ -61,12 +61,8 @@ ...@@ -61,12 +61,8 @@
61 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" 61 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
62 :data="tableData.data"> 62 :data="tableData.data">
63 </lb-table> 63 </lb-table>
64 <message-tips ref="msg" :message="message" />
65 </div> 64 </div>
66 <!-- XML报文 --> 65 <dataDetails ref="editLog" :title="title" />
67 <xml-message ref="dialog" :xml="xml" />
68 <!-- 数据详情 -->
69 <edit-dialog ref="editLog" :bsmSjsb="bsmSjsb" :diaData="diaData" />
70 </div> 66 </div>
71 </template> 67 </template>
72 68
...@@ -77,13 +73,11 @@ import business from '@/api/business' ...@@ -77,13 +73,11 @@ import business from '@/api/business'
77 import dataReporting from '@/api/dataReporting' 73 import dataReporting from '@/api/dataReporting'
78 import tableMixin from '@/mixins/tableMixin.js' 74 import tableMixin from '@/mixins/tableMixin.js'
79 import treeSelect from '@/components/treeSelect/index.vue' 75 import treeSelect from '@/components/treeSelect/index.vue'
80 import editDialog from '@/components/dataDetails/edit-dialog.vue'
81 export default { 76 export default {
82 name: "fdcqdz", 77 name: "fdcqdz",
83 mixins: [tableMixin], 78 mixins: [tableMixin],
84 components: { 79 components: {
85 treeSelect, 80 treeSelect
86 editDialog
87 }, 81 },
88 data () { 82 data () {
89 return { 83 return {
...@@ -111,21 +105,12 @@ export default { ...@@ -111,21 +105,12 @@ export default {
111 return ( 105 return (
112 <div> 106 <div>
113 <el-button 107 <el-button
114 type="text" 108 type="primary"
115 size="mini" 109 onClick={() => {
116 icon="el-icon-folder" 110 this.handleEdit(scope.row);
117 style="color:#67C23A" 111 }}
118 onClick={() => { this.handleXmlres(scope.$index, scope.row) }}
119 > 112 >
120 XML报文 113 详情
121 </el-button>
122 <el-button
123 type="text"
124 size="mini"
125 icon="el-icon-view"
126 onClick={() => { this.handlDatadetails(scope.$index, scope.row) }}
127 >
128 数据详情
129 </el-button> 114 </el-button>
130 </div> 115 </div>
131 ); 116 );
......
...@@ -61,12 +61,8 @@ ...@@ -61,12 +61,8 @@
61 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" 61 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
62 :data="tableData.data"> 62 :data="tableData.data">
63 </lb-table> 63 </lb-table>
64 <message-tips ref="msg" :message="message" />
65 </div> 64 </div>
66 <!-- XML报文 --> 65 <dataDetails ref="editLog" :title="title" />
67 <xml-message ref="dialog" :xml="xml" />
68 <!-- 数据详情 -->
69 <edit-dialog ref="editLog" :bsmSjsb="bsmSjsb" :diaData="diaData" />
70 </div> 66 </div>
71 </template> 67 </template>
72 68
...@@ -77,13 +73,11 @@ import business from '@/api/business' ...@@ -77,13 +73,11 @@ import business from '@/api/business'
77 import dataReporting from '@/api/dataReporting' 73 import dataReporting from '@/api/dataReporting'
78 import tableMixin from '@/mixins/tableMixin.js' 74 import tableMixin from '@/mixins/tableMixin.js'
79 import treeSelect from '@/components/treeSelect/index.vue' 75 import treeSelect from '@/components/treeSelect/index.vue'
80 import editDialog from '@/components/dataDetails/edit-dialog.vue'
81 export default { 76 export default {
82 name: "fdcqyz", 77 name: "fdcqyz",
83 mixins: [tableMixin], 78 mixins: [tableMixin],
84 components: { 79 components: {
85 treeSelect, 80 treeSelect
86 editDialog
87 }, 81 },
88 data () { 82 data () {
89 return { 83 return {
...@@ -111,21 +105,12 @@ export default { ...@@ -111,21 +105,12 @@ export default {
111 return ( 105 return (
112 <div> 106 <div>
113 <el-button 107 <el-button
114 type="text" 108 type="primary"
115 size="mini" 109 onClick={() => {
116 icon="el-icon-folder" 110 this.handleEdit(scope.row);
117 style="color:#67C23A" 111 }}
118 onClick={() => { this.handleXmlres(scope.$index, scope.row) }}
119 > 112 >
120 XML报文 113 详情
121 </el-button>
122 <el-button
123 type="text"
124 size="mini"
125 icon="el-icon-view"
126 onClick={() => { this.handlDatadetails(scope.$index, scope.row) }}
127 >
128 数据详情
129 </el-button> 114 </el-button>
130 </div> 115 </div>
131 ); 116 );
......
...@@ -56,12 +56,8 @@ ...@@ -56,12 +56,8 @@
56 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" 56 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
57 :data="tableData.data"> 57 :data="tableData.data">
58 </lb-table> 58 </lb-table>
59 <message-tips ref="msg" :message="message" />
60 </div> 59 </div>
61 <!-- XML报文 --> 60 <dataDetails ref="editLog" :title="title" />
62 <xml-message ref="dialog" :xml="xml" />
63 <!-- 数据详情 -->
64 <edit-dialog ref="editLog" :bsmSjsb="bsmSjsb" :diaData="diaData" />
65 </div> 61 </div>
66 </template> 62 </template>
67 63
...@@ -72,13 +68,11 @@ import business from '@/api/business' ...@@ -72,13 +68,11 @@ import business from '@/api/business'
72 import dataReporting from '@/api/dataReporting' 68 import dataReporting from '@/api/dataReporting'
73 import tableMixin from '@/mixins/tableMixin.js' 69 import tableMixin from '@/mixins/tableMixin.js'
74 import treeSelect from '@/components/treeSelect/index.vue' 70 import treeSelect from '@/components/treeSelect/index.vue'
75 import editDialog from '@/components/dataDetails/edit-dialog.vue'
76 export default { 71 export default {
77 name: "jsydzjdsyq", 72 name: "jsydzjdsyq",
78 mixins: [tableMixin], 73 mixins: [tableMixin],
79 components: { 74 components: {
80 treeSelect, 75 treeSelect
81 editDialog
82 }, 76 },
83 data () { 77 data () {
84 return { 78 return {
...@@ -105,21 +99,12 @@ export default { ...@@ -105,21 +99,12 @@ export default {
105 return ( 99 return (
106 <div> 100 <div>
107 <el-button 101 <el-button
108 type="text" 102 type="primary"
109 size="mini" 103 onClick={() => {
110 icon="el-icon-folder" 104 this.handleEdit(scope.row);
111 style="color:#67C23A" 105 }}
112 onClick={() => { this.handleXmlres(scope.$index, scope.row) }}
113 > 106 >
114 XML报文 107 详情
115 </el-button>
116 <el-button
117 type="text"
118 size="mini"
119 icon="el-icon-view"
120 onClick={() => { this.handlDatadetails(scope.$index, scope.row) }}
121 >
122 数据详情
123 </el-button> 108 </el-button>
124 </div> 109 </div>
125 ); 110 );
......
...@@ -52,15 +52,12 @@ ...@@ -52,15 +52,12 @@
52 </el-form> 52 </el-form>
53 </div> 53 </div>
54 <div class="from-clues-content"> 54 <div class="from-clues-content">
55 <lb-table :page-size="pageData.size" :heightNum="340" :current-page.sync="pageData.current" :total="pageData.total" 55 <lb-table :page-size="pageData.size" :current-page.sync="pageData.current" :total="pageData.total"
56 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" 56 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
57 :data="tableData.data"> 57 :data="tableData.data">
58 </lb-table> 58 </lb-table>
59 <message-tips ref="msg"/>
60 </div> 59 </div>
61 <!-- XML报文 --> 60 <dataDetails ref="editLog" :title="title" />
62 <xml-message ref="dialog" :xml="xml" />
63 <edit-dialog ref="editLog" :bsmSjsb="bsmSjsb" :diaData="diaData" />
64 </div> 61 </div>
65 </template> 62 </template>
66 63
...@@ -71,11 +68,9 @@ import business from '@/api/business' ...@@ -71,11 +68,9 @@ import business from '@/api/business'
71 import dataReporting from '@/api/dataReporting' 68 import dataReporting from '@/api/dataReporting'
72 import tableMixin from '@/mixins/tableMixin.js' 69 import tableMixin from '@/mixins/tableMixin.js'
73 import treeSelect from '@/components/treeSelect/index.vue' 70 import treeSelect from '@/components/treeSelect/index.vue'
74 import editDialog from '@/components/dataDetails/edit-dialog.vue'
75 export default { 71 export default {
76 components: { 72 components: {
77 treeSelect, 73 treeSelect
78 editDialog
79 }, 74 },
80 name: "tdsyq", 75 name: "tdsyq",
81 mixins: [tableMixin], 76 mixins: [tableMixin],
...@@ -104,21 +99,12 @@ export default { ...@@ -104,21 +99,12 @@ export default {
104 return ( 99 return (
105 <div> 100 <div>
106 <el-button 101 <el-button
107 type="text" 102 type="primary"
108 size="mini" 103 onClick={() => {
109 icon="el-icon-folder" 104 this.handleEdit(scope.row);
110 style="color:#67C23A" 105 }}
111 onClick={() => { this.handleXmlres(scope.$index, scope.row) }}
112 > 106 >
113 XML报文 107 详情
114 </el-button>
115 <el-button
116 type="text"
117 size="mini"
118 icon="el-icon-view"
119 onClick={() => { this.handlDatadetails(scope.$index, scope.row) }}
120 >
121 数据详情
122 </el-button> 108 </el-button>
123 </div> 109 </div>
124 ); 110 );
......