e4f52ae2 by 任超

style;审批意见

1 parent 2b5a3c37
...@@ -134,6 +134,7 @@ export default { ...@@ -134,6 +134,7 @@ export default {
134 .ls-title { 134 .ls-title {
135 padding: 16px; 135 padding: 16px;
136 color: #ffffff; 136 color: #ffffff;
137 font-size: 16px;
137 background: linear-gradient(3deg, #409EFF, #a7cbee); 138 background: linear-gradient(3deg, #409EFF, #a7cbee);
138 } 139 }
139 140
......
...@@ -135,6 +135,7 @@ export default { ...@@ -135,6 +135,7 @@ export default {
135 padding: 16px; 135 padding: 16px;
136 color: #ffffff; 136 color: #ffffff;
137 background: linear-gradient(3deg, #409EFF, #a7cbee); 137 background: linear-gradient(3deg, #409EFF, #a7cbee);
138 font-size: 16px;
138 } 139 }
139 140
140 .ls-title .svg-icon { 141 .ls-title .svg-icon {
......
...@@ -3,9 +3,7 @@ ...@@ -3,9 +3,7 @@
3 <dialogBox title="常用意见" :fullscreen="false" width="60%" isMain v-model="value" @closeDialog="closeDialog" 3 <dialogBox title="常用意见" :fullscreen="false" width="60%" isMain v-model="value" @closeDialog="closeDialog"
4 :isButton="false"> 4 :isButton="false">
5 <el-button type="primary" native-type="submit" @click="openDialog()">新增常用</el-button> 5 <el-button type="primary" native-type="submit" @click="openDialog()">新增常用</el-button>
6 <lb-table :page-size="pageData.size" heightNumSetting :current-page.sync="pageData.current" 6 <lb-table heightNumSetting :pagination="false" :column="columns" :data="tableData.data">
7 :total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange"
8 :column="columns" :data="tableData.data">
9 </lb-table> 7 </lb-table>
10 <div style="height:15px"></div> 8 <div style="height:15px"></div>
11 </dialogBox> 9 </dialogBox>
...@@ -27,11 +25,9 @@ ...@@ -27,11 +25,9 @@
27 </div> 25 </div>
28 </template> 26 </template>
29 <script> 27 <script>
30 import table from "@/utils/mixin/table";
31 import { getUserCommonOpinion, addUserCommonOpinion, delUserCommonOpinion } from "@/api/fqsq.js" 28 import { getUserCommonOpinion, addUserCommonOpinion, delUserCommonOpinion } from "@/api/fqsq.js"
32 export default { 29 export default {
33 components: {}, 30 components: {},
34 mixins: [table],
35 props: { 31 props: {
36 value: { type: Boolean, default: false }, 32 value: { type: Boolean, default: false },
37 }, 33 },
...@@ -76,13 +72,12 @@ export default { ...@@ -76,13 +72,12 @@ export default {
76 } 72 }
77 }, 73 },
78 mounted () { 74 mounted () {
79 this.queryClick() 75 this.getList()
80 }, 76 },
81 methods: { 77 methods: {
82 queryClick () { 78 getList () {
83 getUserCommonOpinion(this.pageData).then(res => { 79 getUserCommonOpinion().then(res => {
84 let { total, records } = res.result 80 let { records } = res.result
85 this.tableData.total = total;
86 this.tableData.data = records ? records : [] 81 this.tableData.data = records ? records : []
87 }) 82 })
88 }, 83 },
...@@ -99,7 +94,6 @@ export default { ...@@ -99,7 +94,6 @@ export default {
99 } 94 }
100 }) 95 })
101 } else { 96 } else {
102 // console.log('error submit!!');
103 return false; 97 return false;
104 } 98 }
105 }); 99 });
...@@ -128,7 +122,7 @@ export default { ...@@ -128,7 +122,7 @@ export default {
128 delUserCommonOpinion({ bsmOpinion: item.bsmOpinion }).then(res => { 122 delUserCommonOpinion({ bsmOpinion: item.bsmOpinion }).then(res => {
129 if (res.code == 200) { 123 if (res.code == 200) {
130 this.$message.success("删除成功") 124 this.$message.success("删除成功")
131 this.queryClick() 125 this.getList()
132 } else { 126 } else {
133 this.$message.error(res.message) 127 this.$message.error(res.message)
134 } 128 }
......