|
|
|
|
@ -82,7 +82,7 @@ |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
|
import {getNumList,getExamProject,addExamProject,getHosList,examProjectDetail,} from "@/api/booknumber/booknumber"; |
|
|
|
|
import {getNumList,getExamProject,addExamProject,getHosList,examProjectDetail,getDays} from "@/api/booknumber/booknumber"; |
|
|
|
|
import {getUserInfo,getList} from '@/api/system/user' |
|
|
|
|
import { mapGetters } from "vuex"; |
|
|
|
|
export default { |
|
|
|
|
@ -229,7 +229,8 @@ export default { |
|
|
|
|
isEdit:false, |
|
|
|
|
valTime:'', |
|
|
|
|
isShowHos:false, |
|
|
|
|
tabArr1:[] |
|
|
|
|
tabArr1:[], |
|
|
|
|
deadline:'' |
|
|
|
|
}; |
|
|
|
|
}, |
|
|
|
|
computed: { |
|
|
|
|
@ -371,6 +372,10 @@ export default { |
|
|
|
|
}) |
|
|
|
|
this.tabArr1 = this.tabArr; |
|
|
|
|
}) |
|
|
|
|
}); |
|
|
|
|
getDays().then(res =>{ |
|
|
|
|
console.log(res) |
|
|
|
|
this.deadline = res.data.data[0].dictValue |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
computed:{ |
|
|
|
|
@ -451,7 +456,8 @@ export default { |
|
|
|
|
// }) |
|
|
|
|
|
|
|
|
|
}else{ |
|
|
|
|
this.selectDay = new Date().getTime() + 3600 * 1000 * 24 * 6; |
|
|
|
|
console.log(this.deadline) |
|
|
|
|
this.selectDay = new Date().getTime() + 3600 * 1000 * 24 * (this.deadline - 1); |
|
|
|
|
// console.log(new Date(this.selectDay)) |
|
|
|
|
this.isShowHos = false |
|
|
|
|
// this.tabArr.map(item =>{ |
|
|
|
|
@ -487,7 +493,7 @@ export default { |
|
|
|
|
this.selectDay = new Date().getTime(); |
|
|
|
|
}else{ |
|
|
|
|
this.isShowHos = false |
|
|
|
|
this.selectDay = new Date().getTime() + 3600 * 1000 * 24 * 6; |
|
|
|
|
this.selectDay = new Date().getTime() + 3600 * 1000 * 24 * (this.deadline - 1); |
|
|
|
|
// item.addOption.column.find(item => item.prop == "select").display = false |
|
|
|
|
} |
|
|
|
|
if(item.dictValue == this.activeName){ |
|
|
|
|
@ -825,7 +831,7 @@ export default { |
|
|
|
|
justify-content: center; |
|
|
|
|
} |
|
|
|
|
::v-deep .selected{ |
|
|
|
|
background: rgba(22, 119, 255,.3); |
|
|
|
|
background: #EBEEF5; |
|
|
|
|
cursor: not-allowed; |
|
|
|
|
pointer-events:none; |
|
|
|
|
width: 100%; |
|
|
|
|
|