diff --git a/src/components/CustomPopoverSearch/index.vue b/src/components/CustomPopoverSearch/index.vue index d40471a..12e983e 100644 --- a/src/components/CustomPopoverSearch/index.vue +++ b/src/components/CustomPopoverSearch/index.vue @@ -1,7 +1,13 @@ @@ -39,11 +57,16 @@ export default { }, value: { type: Array + }, + keyword: { + type: String + }, + placeholder: { + type: String } }, data() { return { - keyword: '', visible: false, width: 0, isLoading: true, @@ -60,6 +83,15 @@ export default { await this.remoteMethod() this.isLoading = false } + }, + onSelect(option) { + option.checked = !option.checked + }, + onAdd() { + const selectedOptions = this.innerOptions.filter(option => option.checked).map(option => option.value) + this.$emit('add', selectedOptions) + this.visible = false + this.innerKeyWord = '' } }, watch: { @@ -71,6 +103,16 @@ export default { this.innerOptions = options } } + }, + computed: { + innerKeyWord: { + set(val) { + this.$emit('update:keyword', val) + }, + get() { + return this.keyword + } + } } } @@ -92,4 +134,28 @@ export default { } } } +.ant-spin { + height: 150px; + line-height: 150px; + width: 100%; + text-align: center; +} +.btn-group { + height: 30px; + line-height: 30px; + text-align: center; + cursor: pointer; + border-top: 1px solid #0da397; +} + + diff --git a/src/components/SearchForm/index.vue b/src/components/SearchForm/index.vue index 6bf847f..5766b3e 100644 --- a/src/components/SearchForm/index.vue +++ b/src/components/SearchForm/index.vue @@ -78,6 +78,7 @@ export default { .ant-form-item-label, .ant-form-item-control { line-height: 32px; + height: 32px; } .ant-form-item-label { flex-shrink: 0; diff --git a/src/style.less b/src/style.less index c1c0951..b565a04 100644 --- a/src/style.less +++ b/src/style.less @@ -176,6 +176,24 @@ body { } } } + + &-date { + &:hover { + background-color: @primary-color; + color: #fff; + } + } + + &-selected-day { + .ant-calendar-date { + background-color: @primary-color; + } + } + &-today { + .ant-calendar-date { + color: #fff; + } + } } // 日历 @@ -193,8 +211,7 @@ body { &-content { margin-top: 10px; - height: 98px; - background-color: rgba(140, 255, 229, 0.1); + height: 98px !important; &::-webkit-scrollbar { width: 4px !important; } @@ -647,6 +664,9 @@ body { &-message { color: #fff; } + &-close { + color: #fff !important; + } } } @@ -680,9 +700,6 @@ body { .ant-popover { &-inner { background-color: #03353f; - &-content { - padding: 0; - } } &-arrow { border-left-color: #03353f !important; diff --git a/src/views/system/DataBase.vue b/src/views/system/DataBase.vue index 9065527..45b6d26 100644 --- a/src/views/system/DataBase.vue +++ b/src/views/system/DataBase.vue @@ -43,7 +43,7 @@ const columns = [ title: 'SITE DET CODE', align: 'center', dataIndex: 'siteDetCode', - width: 120 + width: 130 }, { title: 'SAMPLE ID', @@ -120,7 +120,7 @@ const columns = [ { title: 'ACQ.REAL(S)', align: 'center', - width: 100, + width: 120, dataIndex: 'acquisitionRealSec' }, { diff --git a/src/views/system/Scheduling.vue b/src/views/system/Scheduling.vue index 5566ff3..38b1194 100644 --- a/src/views/system/Scheduling.vue +++ b/src/views/system/Scheduling.vue @@ -10,12 +10,16 @@
-
+

- fanyq - + + {{ item.username }} + + + +

-
+
@@ -25,7 +29,17 @@
- ARP01、ARP02、ARP03、ARP04、ARP05、 ARP06、ARP07、ARP08 +
@@ -35,12 +49,13 @@
+
- + -