全局样式的修改
Showing
6 changed files
with
18 additions
and
35 deletions
... | @@ -36,6 +36,7 @@ export function editDictNode (data) { | ... | @@ -36,6 +36,7 @@ export function editDictNode (data) { |
36 | url: '/sys/dict/editDictNode', | 36 | url: '/sys/dict/editDictNode', |
37 | method: 'post', | 37 | method: 'post', |
38 | data, | 38 | data, |
39 | showLoading: true | 39 | showLoading: true, |
40 | loadingTarget: '正在提交中...' | ||
40 | }) | 41 | }) |
41 | } | 42 | } |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -48,7 +48,8 @@ export function sysSqywmbszSearch (data) { | ... | @@ -48,7 +48,8 @@ export function sysSqywmbszSearch (data) { |
48 | return request({ | 48 | return request({ |
49 | url: '/system/sysSqywmbsz/search', | 49 | url: '/system/sysSqywmbsz/search', |
50 | method: 'post', | 50 | method: 'post', |
51 | data | 51 | data, |
52 | showLoading: true | ||
52 | }) | 53 | }) |
53 | } | 54 | } |
54 | /* | 55 | /* | ... | ... |
... | @@ -6,6 +6,11 @@ | ... | @@ -6,6 +6,11 @@ |
6 | color: #686666; | 6 | color: #686666; |
7 | } | 7 | } |
8 | 8 | ||
9 | //input | ||
10 | .el-input__inner { | ||
11 | padding: 0 7px !important; | ||
12 | } | ||
13 | |||
9 | .el-upload { | 14 | .el-upload { |
10 | input[type="file"] { | 15 | input[type="file"] { |
11 | display: none !important; | 16 | display: none !important; |
... | @@ -138,16 +143,6 @@ | ... | @@ -138,16 +143,6 @@ |
138 | box-shadow: none !important; | 143 | box-shadow: none !important; |
139 | } | 144 | } |
140 | 145 | ||
141 | // input type=number 上下箭头 | ||
142 | input::-webkit-outer-spin-button, | ||
143 | input::-webkit-inner-spin-button { | ||
144 | -webkit-appearance: none; | ||
145 | } | ||
146 | |||
147 | input[type="number"] { | ||
148 | -moz-appearance: textfield; | ||
149 | } | ||
150 | |||
151 | // Divider 分割线 样式的修改 | 146 | // Divider 分割线 样式的修改 |
152 | .el-divider--horizontal { | 147 | .el-divider--horizontal { |
153 | margin: 10px 0 !important; | 148 | margin: 10px 0 !important; | ... | ... |
1 | <template> | 1 | <template> |
2 | <dialogBox title="其他及附记模板" @submitForm="submitForm" width="60%" loadingText="正在提交中..." @closeDialog="closeDialog" | 2 | <dialogBox title="其他及附记模板" @submitForm="submitForm" width="60%" @closeDialog="closeDialog" v-model="myValue"> |
3 | :saveloding="saveloding" v-model="myValue"> | ||
4 | <div class="qtjfjmb-edit-title"> | 3 | <div class="qtjfjmb-edit-title"> |
5 | <b>权利信息</b> | 4 | <b>权利信息</b> |
6 | </div> | 5 | </div> |
... | @@ -114,8 +113,6 @@ | ... | @@ -114,8 +113,6 @@ |
114 | <script> | 113 | <script> |
115 | import { updateSysSqywmbsz } from '@/api/system' | 114 | import { updateSysSqywmbsz } from '@/api/system' |
116 | export default { | 115 | export default { |
117 | components: { | ||
118 | }, | ||
119 | props: { | 116 | props: { |
120 | value: { type: Boolean, default: false }, | 117 | value: { type: Boolean, default: false }, |
121 | details: { | 118 | details: { |
... | @@ -139,7 +136,6 @@ export default { | ... | @@ -139,7 +136,6 @@ export default { |
139 | }, | 136 | }, |
140 | data () { | 137 | data () { |
141 | return { | 138 | return { |
142 | saveloding: false, | ||
143 | myValue: this.value, | 139 | myValue: this.value, |
144 | n: 0, | 140 | n: 0, |
145 | ruleForm: { | 141 | ruleForm: { |
... | @@ -199,16 +195,10 @@ export default { | ... | @@ -199,16 +195,10 @@ export default { |
199 | }, | 195 | }, |
200 | submitForm () { | 196 | submitForm () { |
201 | let that = this | 197 | let that = this |
202 | this.saveloding = true | ||
203 | updateSysSqywmbsz(this.ruleForm).then(res => { | 198 | updateSysSqywmbsz(this.ruleForm).then(res => { |
204 | if (res.code === 200) { | 199 | if (res.code === 200) { |
205 | setTimeout(() => { | ||
206 | that.saveloding = false | ||
207 | that.$emit('input', false) | 200 | that.$emit('input', false) |
208 | }, 500) | ||
209 | } | 201 | } |
210 | }).catch(error => { | ||
211 | that.saveloding = false | ||
212 | }) | 202 | }) |
213 | }, | 203 | }, |
214 | closeDialog () { | 204 | closeDialog () { | ... | ... |
... | @@ -23,9 +23,9 @@ | ... | @@ -23,9 +23,9 @@ |
23 | </div> | 23 | </div> |
24 | <!-- 表格 --> | 24 | <!-- 表格 --> |
25 | <div class="from-clues-content"> | 25 | <div class="from-clues-content"> |
26 | <lb-table :page-size="pageData.size" :loading="loading" :current-page.sync="pageData.current" | 26 | <lb-table :page-size="pageData.size" :current-page.sync="pageData.current" :total="tableData.total" |
27 | :total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange" | 27 | @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" |
28 | :column="tableData.columns" :data="tableData.data"> | 28 | :data="tableData.data"> |
29 | </lb-table> | 29 | </lb-table> |
30 | </div> | 30 | </div> |
31 | <editDialog v-model="isDialog" :details="details" /> | 31 | <editDialog v-model="isDialog" :details="details" /> |
... | @@ -51,7 +51,6 @@ export default { | ... | @@ -51,7 +51,6 @@ export default { |
51 | }, | 51 | }, |
52 | data () { | 52 | data () { |
53 | return { | 53 | return { |
54 | loading: false, | ||
55 | isDialog: false, | 54 | isDialog: false, |
56 | queryForm: { | 55 | queryForm: { |
57 | qllx: "" | 56 | qllx: "" |
... | @@ -67,14 +66,11 @@ export default { | ... | @@ -67,14 +66,11 @@ export default { |
67 | methods: { | 66 | methods: { |
68 | // 初始化数据 | 67 | // 初始化数据 |
69 | fetchData () { | 68 | fetchData () { |
70 | this.loading = true | ||
71 | sysSqywmbszSearch({ ...this.pageData, ...this.queryForm }).then(res => { | 69 | sysSqywmbszSearch({ ...this.pageData, ...this.queryForm }).then(res => { |
72 | this.loading = false | 70 | this.loading = false |
73 | let { records, total } = res.result | 71 | let { records, total } = res.result |
74 | this.tableData.data = records | 72 | this.tableData.data = records |
75 | this.tableData.total = total | 73 | this.tableData.total = total |
76 | }).catch(error => { | ||
77 | this.loading = false | ||
78 | }) | 74 | }) |
79 | }, | 75 | }, |
80 | editClick (row) { | 76 | editClick (row) { | ... | ... |
... | @@ -169,7 +169,7 @@ | ... | @@ -169,7 +169,7 @@ |
169 | padding: 20px; | 169 | padding: 20px; |
170 | @include flex; | 170 | @include flex; |
171 | flex-wrap: wrap; | 171 | flex-wrap: wrap; |
172 | margin-left: -20px; | 172 | margin-left: -10px; |
173 | justify-content: space-between; | 173 | justify-content: space-between; |
174 | 174 | ||
175 | &:after { | 175 | &:after { |
... | @@ -180,12 +180,12 @@ | ... | @@ -180,12 +180,12 @@ |
180 | } | 180 | } |
181 | 181 | ||
182 | li { | 182 | li { |
183 | width: 48%; | 183 | width: 48.5%; |
184 | height: 50px; | 184 | height: 40px; |
185 | border: 1px solid $borderColor; | 185 | border: 1px solid $borderColor; |
186 | @include flex; | 186 | @include flex; |
187 | justify-content: space-between; | 187 | justify-content: space-between; |
188 | margin-left: 20px; | 188 | margin-left: 10px; |
189 | cursor: pointer; | 189 | cursor: pointer; |
190 | margin-bottom: 15px; | 190 | margin-bottom: 15px; |
191 | 191 | ||
... | @@ -206,7 +206,7 @@ | ... | @@ -206,7 +206,7 @@ |
206 | 206 | ||
207 | p:nth-child(2) { | 207 | p:nth-child(2) { |
208 | width: 50px; | 208 | width: 50px; |
209 | height: 50px; | 209 | height: 40px; |
210 | border-left: 1px solid $borderColor; | 210 | border-left: 1px solid $borderColor; |
211 | cursor: pointer; | 211 | cursor: pointer; |
212 | } | 212 | } | ... | ... |
-
Please register or sign in to post a comment