9ada342a by 任超

style;样式修改

1 parent 466409f6
......@@ -2,20 +2,5 @@
npm install
# 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题
npm install --registry=https://registry.npm.taobao.org
## Git 贡献提交规范
- 参考 [vue](https://github.com/vuejs/vue/blob/dev/.github/COMMIT_CONVENTION.md) 规范 ([Angular](https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-angular))
- `feat` 增加新功能
- `fix` 修复问题/BUG
- `style` 代码风格相关无影响运行结果的
- `perf` 优化/性能提升
- `refactor` 重构
- `revert` 撤销修改
- `test` 测试相关
- `docs` 文档/注释
- `chore` 依赖更新/脚手架配置修改等
- `wip` 开发中
### 菜单配置地址 http://192.168.2.235/fis
......
......@@ -83,7 +83,7 @@
display: block
}
}
.el-input__prefix {display: none;}
// fix date-picker ui bug in filter-item
.el-range-editor.el-input__inner {
display: inline-flex !important;
......
......@@ -7,7 +7,10 @@
display: flex;
justify-content: space-between;
}
.title {
display: flex;
align-items: center;
}
.workbench {
flex-wrap: wrap;
height: 100%;
......
......@@ -351,6 +351,10 @@ export default {
@import "~@/styles/mixin.scss";
@import "./index.scss";
/deep/.el-card__header {
padding: 8px 15px
}
/deep/.el-card__body {
padding: 3px 10px 5px 10px;
overflow: hidden;
......
......@@ -16,7 +16,7 @@
</el-input>
</el-form-item>
</el-col>
<el-col :span="10">
<el-col :span="11">
<el-form-item label="查询时间">
<el-date-picker v-model="queryForm.sqr" type="date" placeholder="开始日期" value-format="yyyy-MM-dd"
clearable>
......@@ -26,10 +26,10 @@
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="4" class="btnColRight">
<el-col :span="3" class="btnColRight">
<el-form-item>
<el-button type="primary" native-type="submit" @click="queryClick">查询</el-button>
<el-button @click="moreQueryClick()">高级查询</el-button>
<!-- <el-button @click="moreQueryClick()">高级查询</el-button> -->
</el-form-item>
</el-col>
</el-row>
......@@ -53,14 +53,14 @@ import { getJtfcPage } from "@/api/sqcx";
export default {
name: "dydjb",
mixins: [table],
mounted() {
mounted () {
sendThis(this);
this.queryClick();
},
computed: {
...mapGetters(["dictData"]),
},
data() {
data () {
return {
queryForm: {
cxbh: "",
......@@ -75,7 +75,7 @@ export default {
},
methods: {
// 初始化数据
queryClick() {
queryClick () {
this.$startLoading();
getJtfcPage({ ...this.queryForm, ...this.pageData }).then((res) => {
this.$endLoading();
......@@ -86,12 +86,12 @@ export default {
}
});
},
dydjbClick(scope) {
dydjbClick (scope) {
popupDialog("打印登记薄", "sqcx/dydjb/components/dydjbInfo", {
sqcxdata: scope.row,
});
},
handleSort(name, sort) {
handleSort (name, sort) {
console.log(name, sort);
},
},
......
......@@ -16,7 +16,7 @@
</el-input>
</el-form-item>
</el-col>
<el-col :span="10">
<el-col :span="11" class="flex">
<el-form-item label="查询时间">
<el-date-picker v-model="queryForm.sqr" type="date" placeholder="开始日期" value-format="yyyy-MM-dd"
clearable>
......@@ -26,7 +26,7 @@
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="4" class="btnColRight">
<el-col :span="3" class="btnColRight">
<el-button type="primary" native-type="submit" @click="queryClick()">查询</el-button>
<el-button type="primary" @click="handleAdd">新增</el-button>
</el-col>
......