| @@ -3,6 +3,8 @@ | |||||
| .wh_item_date:hover { | .wh_item_date:hover { | ||||
| background: #71c7a5; | background: #71c7a5; | ||||
| cursor: pointer; | cursor: pointer; | ||||
| color: #fff; | |||||
| border-radius: 50%; | |||||
| } | } | ||||
| } | } | ||||
| * { | * { | ||||
| @@ -115,7 +117,8 @@ wh_content_item_tag { | |||||
| .wh_content_item > .wh_isMark { | .wh_content_item > .wh_isMark { | ||||
| margin: auto; | margin: auto; | ||||
| border-radius: 100px; | border-radius: 100px; | ||||
| background: blue; | |||||
| background: #7d7df5; | |||||
| color: #fff; | |||||
| z-index: 2; | z-index: 2; | ||||
| } | } | ||||
| .wh_content_item .wh_other_dayhide { | .wh_content_item .wh_other_dayhide { | ||||
| @@ -154,6 +157,7 @@ wh_content_item_tag { | |||||
| <div class="wh_content_item" v-for="(item,index) in list" :key="index" @click="clickDay(item,index)"> | <div class="wh_content_item" v-for="(item,index) in list" :key="index" @click="clickDay(item,index)"> | ||||
| <div | <div | ||||
| class="wh_item_date" | class="wh_item_date" | ||||
| :style="{background:item.isMark?theme:''}" | |||||
| v-bind:class="[{ wh_isMark: item.isMark},{wh_other_dayhide:item.otherMonth!=='nowMonth'},{wh_want_dayhide:item.dayHide},{wh_isToday:item.isToday},{wh_chose_day:item.chooseDay},setClass(item)]" | v-bind:class="[{ wh_isMark: item.isMark},{wh_other_dayhide:item.otherMonth!=='nowMonth'},{wh_want_dayhide:item.dayHide},{wh_isToday:item.isToday},{wh_chose_day:item.chooseDay},setClass(item)]" | ||||
| >{{item.id}}</div> | >{{item.id}}</div> | ||||
| </div> | </div> | ||||
| @@ -163,6 +167,8 @@ wh_content_item_tag { | |||||
| </template> | </template> | ||||
| <script> | <script> | ||||
| import timeUtil from "./calendar"; | import timeUtil from "./calendar"; | ||||
| import { mapGetters } from "vuex"; | |||||
| const c = console.log.bind(document); | |||||
| export default { | export default { | ||||
| data() { | data() { | ||||
| return { | return { | ||||
| @@ -202,6 +208,9 @@ export default { | |||||
| this.intStart(); | this.intStart(); | ||||
| this.myDate = new Date(); | this.myDate = new Date(); | ||||
| }, | }, | ||||
| computed:{ | |||||
| ...mapGetters(['theme']) | |||||
| }, | |||||
| methods: { | methods: { | ||||
| intStart() { | intStart() { | ||||
| timeUtil.sundayStart = this.sundayStart; | timeUtil.sundayStart = this.sundayStart; | ||||
| @@ -233,8 +233,10 @@ | |||||
| <div class="labeltext">违禁标签:</div> | <div class="labeltext">违禁标签:</div> | ||||
| <el-select | <el-select | ||||
| v-model="searchForm.sensitiveWords" | v-model="searchForm.sensitiveWords" | ||||
| multiple | |||||
| clearable | clearable | ||||
| filterable | filterable | ||||
| collapse-tags | |||||
| placeholder="请选择" | placeholder="请选择" | ||||
| class="div-inpbox" | class="div-inpbox" | ||||
| > | > | ||||
| @@ -515,7 +517,7 @@ export default { | |||||
| timeType: "0", | timeType: "0", | ||||
| clientStage: "", | clientStage: "", | ||||
| orderBy:'', | orderBy:'', | ||||
| sensitiveWords:'', | |||||
| sensitiveWords:[], | |||||
| }, | }, | ||||
| clientStagelist: [], | clientStagelist: [], | ||||
| sensitiveList:[],//违禁词 | sensitiveList:[],//违禁词 | ||||
| @@ -572,6 +574,7 @@ export default { | |||||
| ...this.searchForm, | ...this.searchForm, | ||||
| }; | }; | ||||
| obj.keywordIds = obj.keywordsId.join(","); | obj.keywordIds = obj.keywordsId.join(","); | ||||
| obj.sensitiveWords = JSON.stringify(obj.sensitiveWords); | |||||
| (obj.dateType = this.searchForm.staDate | (obj.dateType = this.searchForm.staDate | ||||
| ? null | ? null | ||||
| : this.searchForm.dateType), | : this.searchForm.dateType), | ||||
| @@ -596,7 +599,7 @@ export default { | |||||
| searchForm: "", | searchForm: "", | ||||
| timeType: "0", | timeType: "0", | ||||
| orderBy:'', | orderBy:'', | ||||
| sensitiveWords:'', | |||||
| sensitiveWords:[], | |||||
| projectId: | projectId: | ||||
| this.orgType == 3 | this.orgType == 3 | ||||
| ? localStorage.getItem("houseId") | ? localStorage.getItem("houseId") | ||||
| @@ -605,7 +608,7 @@ export default { | |||||
| this.findbypage(); | this.findbypage(); | ||||
| }, | }, | ||||
| houseChange() { | houseChange() { | ||||
| this.searchForm.sensitiveWords='' | |||||
| this.searchForm.sensitiveWords=[] | |||||
| this.searchForm.keywordsId=[] | this.searchForm.keywordsId=[] | ||||
| this.findbypage(); | this.findbypage(); | ||||
| this.findKeywords(); | this.findKeywords(); | ||||
| @@ -6,6 +6,7 @@ | |||||
| <div style="margin-left: 26px"> | <div style="margin-left: 26px"> | ||||
| <el-select | <el-select | ||||
| v-model="houseId" | v-model="houseId" | ||||
| filterable | |||||
| placeholder="请选择" | placeholder="请选择" | ||||
| @change="houseChange" | @change="houseChange" | ||||
| > | > | ||||
| @@ -773,7 +774,7 @@ export default { | |||||
| if (num != 0) { | if (num != 0) { | ||||
| item.zxl1 = Math.floor((item.zxl / num) * 100); | item.zxl1 = Math.floor((item.zxl / num) * 100); | ||||
| } else { | } else { | ||||
| item.zxl1 = 0 | |||||
| item.zxl1 = 0; | |||||
| } | } | ||||
| }); | }); | ||||
| console.log(arr, "arr2"); | console.log(arr, "arr2"); | ||||