e7fb4177 by 任超

全局样式的修改

1 parent 11a1b7e8
......@@ -36,6 +36,7 @@ export function editDictNode (data) {
url: '/sys/dict/editDictNode',
method: 'post',
data,
showLoading: true
showLoading: true,
loadingTarget: '正在提交中...'
})
}
\ No newline at end of file
......
......@@ -48,7 +48,8 @@ export function sysSqywmbszSearch (data) {
return request({
url: '/system/sysSqywmbsz/search',
method: 'post',
data
data,
showLoading: true
})
}
/*
......
......@@ -6,6 +6,11 @@
color: #686666;
}
//input
.el-input__inner {
padding: 0 7px !important;
}
.el-upload {
input[type="file"] {
display: none !important;
......@@ -138,16 +143,6 @@
box-shadow: none !important;
}
// input type=number 上下箭头
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
}
input[type="number"] {
-moz-appearance: textfield;
}
// Divider 分割线 样式的修改
.el-divider--horizontal {
margin: 10px 0 !important;
......
<template>
<dialogBox title="其他及附记模板" @submitForm="submitForm" width="60%" loadingText="正在提交中..." @closeDialog="closeDialog"
:saveloding="saveloding" v-model="myValue">
<dialogBox title="其他及附记模板" @submitForm="submitForm" width="60%" @closeDialog="closeDialog" v-model="myValue">
<div class="qtjfjmb-edit-title">
<b>权利信息</b>
</div>
......@@ -114,8 +113,6 @@
<script>
import { updateSysSqywmbsz } from '@/api/system'
export default {
components: {
},
props: {
value: { type: Boolean, default: false },
details: {
......@@ -139,7 +136,6 @@ export default {
},
data () {
return {
saveloding: false,
myValue: this.value,
n: 0,
ruleForm: {
......@@ -199,16 +195,10 @@ export default {
},
submitForm () {
let that = this
this.saveloding = true
updateSysSqywmbsz(this.ruleForm).then(res => {
if (res.code === 200) {
setTimeout(() => {
that.saveloding = false
that.$emit('input', false)
}, 500)
}
}).catch(error => {
that.saveloding = false
})
},
closeDialog () {
......
......@@ -23,9 +23,9 @@
</div>
<!-- 表格 -->
<div class="from-clues-content">
<lb-table :page-size="pageData.size" :loading="loading" :current-page.sync="pageData.current"
:total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange"
:column="tableData.columns" :data="tableData.data">
<lb-table :page-size="pageData.size" :current-page.sync="pageData.current" :total="tableData.total"
@size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
:data="tableData.data">
</lb-table>
</div>
<editDialog v-model="isDialog" :details="details" />
......@@ -51,7 +51,6 @@ export default {
},
data () {
return {
loading: false,
isDialog: false,
queryForm: {
qllx: ""
......@@ -67,14 +66,11 @@ export default {
methods: {
// 初始化数据
fetchData () {
this.loading = true
sysSqywmbszSearch({ ...this.pageData, ...this.queryForm }).then(res => {
this.loading = false
let { records, total } = res.result
this.tableData.data = records
this.tableData.total = total
}).catch(error => {
this.loading = false
})
},
editClick (row) {
......
......@@ -169,7 +169,7 @@
padding: 20px;
@include flex;
flex-wrap: wrap;
margin-left: -20px;
margin-left: -10px;
justify-content: space-between;
&:after {
......@@ -180,12 +180,12 @@
}
li {
width: 48%;
height: 50px;
width: 48.5%;
height: 40px;
border: 1px solid $borderColor;
@include flex;
justify-content: space-between;
margin-left: 20px;
margin-left: 10px;
cursor: pointer;
margin-bottom: 15px;
......@@ -206,7 +206,7 @@
p:nth-child(2) {
width: 50px;
height: 50px;
height: 40px;
border-left: 1px solid $borderColor;
cursor: pointer;
}
......