a909f7fe by jiaozeping@pashanhoo.com

修改样式

1 parent 89d6513b
......@@ -101,11 +101,18 @@
}
// 搜索框按钮的位置
.btnCol {
.btnColRight {
box-sizing: border-box;
text-align: right;
}
// 搜索框按钮的位置 左
.btnColLeft {
box-sizing: border-box;
text-align: left;
}
.title-block {
display: inline-block;
position: relative;
......
......@@ -35,7 +35,7 @@
</el-form-item>
</el-col>
<el-col :span="4" class="btnCol">
<el-col :span="4" class="btnColRight">
<el-form-item>
<el-button type="primary" icon="el-icon-search" @click="fetchData">查询</el-button>
<el-button @click="moreQueryClick()">高级查询</el-button>
......
......@@ -24,7 +24,7 @@
<personInfoTable @getInfoList="handleGetSqList" :dataList="sqdataList" />
<b class="title">权利人</b>
<personInfoTable :dataList="qldataList" @getInfoList="handleGetQlList" />
<personInfoTable @getInfoList="handleGetQlList" :dataList="qldataList" />
<div class="submit-button">
<el-button type="primary" @click="queryChick()">查询</el-button>
<el-button @click="resetClick()">重置</el-button>
......@@ -130,7 +130,14 @@ export default {
}
},
queryChick () {
debugger;
this.addJtfc.djSqcxDO = { ...this.ruleForm }
this.$message({
type: 'success',
message: '删除成功!'
});
addJtfcCxjgXx(this.addJtfc).then(res => {
debugger;
this.searchData.data = res.result;
......
......@@ -26,7 +26,7 @@
</el-input>
</el-form-item>
</el-col>
<el-col :span="14" class="btnCol">
<el-col :span="14" class="btnColRight">
<el-button type="primary" @click="queryClick()"
>查询</el-button
>
......
......@@ -6,23 +6,33 @@
<el-row>
<el-col :span="5">
<el-form-item label="查询编号">
<el-input placeholder="请输入编号" v-model="queryForm.cxbh" clearable>
<el-input
placeholder="请输入编号"
v-model="queryForm.cxbh"
class="width200px"
clearable
>
</el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="申请人">
<el-input placeholder="请输入申请人" v-model="queryForm.sqr" clearable>
<el-input
placeholder="请输入申请人"
v-model="queryForm.sqr"
class="width200px"
clearable
>
</el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<!-- <el-col :span="5">
<el-form-item label="业务号">
<el-input placeholder="请输入业务号" v-model="queryForm.ywh" clearable class="width200px">
</el-input>
</el-form-item>
</el-col>
<el-col :span="4" class="btnCol">
</el-col> -->
<el-col :span="14" class="btnColRight">
<el-form-item>
<el-button type="primary" @click="queryClick()">查询</el-button>
<el-button @click="moreQueryClick()">高级查询</el-button>
......@@ -33,26 +43,33 @@
</div>
<!-- 表格 -->
<div class="from-clues-content">
<lb-table :page-size="pageData.size" border @sort-change="handleSort" :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"
border
@sort-change="handleSort"
:current-page.sync="pageData.current"
:total="tableData.total"
@size-change="handleSizeChange"
@p-current-change="handleCurrentChange"
:column="tableData.columns"
:data="tableData.data"
>
</lb-table>
</div>
</div>
</template>
<script>
import table from "@/utils/mixin/table"
import { datas, sendThis } from "./sqcxjldata"
import { getJtfcPage } from '@/api/jtfc'
import table from "@/utils/mixin/table";
import { datas, sendThis } from "./sqcxjldata";
import { getJtfcPage } from "@/api/jtfc";
export default {
name: "sqcxjl",
mixins: [table],
mounted () {
mounted() {
sendThis(this);
},
data () {
data() {
return {
queryForm: {
cxbh: "",
sqr: "",
......@@ -62,15 +79,15 @@ export default {
columns: datas.columns(),
data: [],
},
}
};
},
methods: {
queryClick(){
queryClick() {
this.fetchData();
},
// 初始化数据
fetchData () {
fetchData() {
debugger;
getJtfcPage({ ...this.queryForm, ...this.pageData }).then((res) => {
let { records, total } = res.result;
......@@ -78,33 +95,30 @@ export default {
this.tableData.total = total;
});
},
handleSort (name, sort) {
handleSort(name, sort) {
console.log(name, sort);
},
// 查看
handleView () {
handleView() {
// this.isDialog = true
let that = this;
this.$popup({
title: "申请查询记录",
width: "85%",
btnShow: true,
editItem: 'sqcx/sqcxjl/components/addjtfc', // 弹窗内容
editItem: "sqcx/sqcxjl/components/addjtfc", // 弹窗内容
height: "700px",
formData: {
bsmSlsq: this.bsmSlsq,
dataList: this.unitData,
},
cancel: function () { }, //取消事件的回调
cancel: function () {}, //取消事件的回调
confirm: function () {
that.loadBdcdylist();
}, //确认事件的回调
});
}
},
},
};
</script>
......
......@@ -14,7 +14,7 @@
<el-input v-model="ruleForm.dname" placeholder="字典类型名称"></el-input>
</el-form-item>
</el-col>
<el-col :span="12" class="btnCol">
<el-col :span="12" class="btnColRight">
<el-form-item>
<el-button type="primary" icon="el-icon-search" @click="fetchData">查询</el-button>
<el-button icon="el-icon-refresh" @click="handleRefresh">刷新缓存</el-button>
......
......@@ -12,7 +12,7 @@
</el-select>
</el-form-item>
</el-col>
<el-col :span="18" class="btnCol">
<el-col :span="18" class="btnColRight">
<el-form-item>
<el-button type="primary" icon="el-icon-search" @click="fetchData()">查询</el-button>
<el-button @click="moreQueryClick()">高级查询</el-button>
......
......@@ -18,7 +18,7 @@
</el-input>
</el-form-item>
</el-col>
<el-col :span="12" class="btnCol">
<el-col :span="12" class="btnColRight">
<el-form-item>
<el-button type="primary" icon="el-icon-search" @click="queryClick()">查询</el-button>
</el-form-item>
......
......@@ -19,7 +19,7 @@
<el-input v-model="ruleForm.qlr" clearable placeholder="请输入权利人"></el-input>
</el-form-item>
</el-col>
<el-col :span="6" class="btnCol">
<el-col :span="6" class="btnColRight">
<el-form-item>
<el-button type="primary" icon="el-icon-search" @click="fetchData()">查询</el-button>
</el-form-item>
......
......@@ -35,7 +35,7 @@
</el-form-item>
</el-col>
<el-col :span="4" class="btnCol">
<el-col :span="4" class="btnColRight">
<el-form-item>
<el-button type="primary" @click="queryClick()">查询</el-button>
<el-button @click="moreQueryClick()">高级查询</el-button>
......
......@@ -35,7 +35,7 @@
</el-form-item>
</el-col>
<el-col :span="4" class="btnCol">
<el-col :span="4" class="btnColRight">
<el-form-item>
<el-button type="primary" @click="queryClick()">查询</el-button>
<el-button @click="moreQueryClick()">高级查询</el-button>
......
......@@ -30,7 +30,7 @@
</el-input>
</el-form-item>
</el-col>
<el-col :span="2" class="btnCol">
<el-col :span="2" class="btnColRight">
<el-form-item>
<el-button type="primary" @click="fetchData">查询</el-button>
</el-form-item>
......
......@@ -31,7 +31,7 @@
</el-input>
</el-form-item>
</el-col>
<el-col :span="2" class="btnCol">
<el-col :span="2" class="btnColRight">
<el-form-item>
<el-button type="primary" @click="fetchData()">查询</el-button>
</el-form-item>
......
......@@ -30,7 +30,7 @@
</el-input>
</el-form-item>
</el-col>
<el-col :span="2" class="btnCol">
<el-col :span="2" class="btnColRight">
<el-form-item>
<el-button type="primary" @click="fetchData()">查询</el-button>
</el-form-item>
......
......@@ -32,7 +32,7 @@
</el-input>
</el-form-item>
</el-col>
<el-col :span="2" class="btnCol">
<el-col :span="2" class="btnColRight">
<el-form-item>
<el-button type="primary" @click="queryClick()">查询</el-button>
</el-form-item>
......
......@@ -19,7 +19,7 @@
</el-input>
</el-form-item>
</el-col>
<el-col :span="12" class="btnCol">
<el-col :span="12" class="btnColRight">
<el-form-item>
<el-button type="primary" @click="fetchData()">查询</el-button>
</el-form-item>
......
......@@ -16,7 +16,7 @@
</el-input>
</el-form-item>
</el-col>
<el-col :span="4" class="btnCol">
<el-col :span="4" class="btnColRight">
<el-form-item>
<el-button type="primary" @click="fetchData">查询</el-button>
</el-form-item>
......
......@@ -32,7 +32,7 @@
</el-input>
</el-form-item>
</el-col>
<el-col :span="2" class="btnCol">
<el-col :span="2" class="btnColRight">
<el-form-item>
<el-button type="primary" @click="fetchData">查询</el-button>
</el-form-item>
......
......@@ -31,7 +31,7 @@
</el-form-item>
</el-col>
<el-col :span="4" class="btnCol">
<el-col :span="4" class="btnColRight">
<el-form-item>
<el-button type="primary" @click="queryClick()">查询</el-button>
<el-button @click="moreQueryClick()">高级查询</el-button>
......
......@@ -35,7 +35,7 @@
</el-form-item>
</el-col>
<el-col :span="4" class="btnCol">
<el-col :span="4" class="btnColRight">
<el-form-item>
<el-button type="primary" @click="queryClick()">查询</el-button>
<el-button @click="moreQueryClick()">高级查询</el-button>
......
......@@ -49,7 +49,7 @@
</el-form-item>
</el-col>
<el-col :span="4" class="btnCol">
<el-col :span="4" class="btnColRight">
<el-form-item>
<el-button type="primary" @click="queryClick()">查询</el-button>
<el-button @click="moreQueryClick()">高级查询</el-button>
......
......@@ -29,7 +29,7 @@
</el-form-item>
</el-col>
<el-col :span="4" class="btnCol">
<el-col :span="4" class="btnColRight">
<el-form-item>
<el-button type="primary" icon="el-icon-search" @click="fetchData">查询</el-button>
<el-button @click="moreQueryClick()">高级查询</el-button>
......
......@@ -29,7 +29,7 @@
</el-form-item>
</el-col>
<el-col :span="4" class="btnCol">
<el-col :span="4" class="btnColRight">
<el-form-item>
<el-button type="primary" icon="el-icon-search" @click="fetchData">查询</el-button>
<el-button @click="moreQueryClick()">高级查询</el-button>
......
......@@ -16,7 +16,7 @@
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="11" class="btnCol">
<el-col :span="11" class="btnColRight">
<el-form-item>
<el-button type="primary" @click="queryClick()">查询</el-button>
<el-button type="primary" @click="openDialog()">新增</el-button>
......
......@@ -16,7 +16,7 @@
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="11" class="btnCol">
<el-col :span="11" class="btnColRight">
<el-form-item>
<el-button type="primary" @click="queryClick()">查询</el-button>
<el-button type="primary" @click="openDialog()">新增</el-button>
......
......@@ -28,7 +28,7 @@
</el-form-item>
</el-col>
<el-col :span="3" class="btnCol">
<el-col :span="3" class="btnColRight">
<el-form-item>
<el-button type="primary" icon="el-icon-search" @click="fetchData">查询</el-button>
<el-button @click="moreQueryClick()">高级查询</el-button>
......