| src/api/hfiveget/index.js | ●●●●● patch | view | raw | blame | history | |
| src/views/examine/index.vue | ●●●●● patch | view | raw | blame | history | |
| src/views/login/index.vue | ●●●●● patch | view | raw | blame | history |
src/api/hfiveget/index.js
@@ -25,7 +25,8 @@ //登录 export const Loginto = (params) => { return request({ url: "/api/blade-auth/oauth/token", // url: "/api/blade-auth/oauth/token", url: '/api/blade-auth/oauth/token?tenantId=000000&username=' + params + '&password=21232f297a57a5a743894a0e4a801fc3&grant_type=password&scope=all&type=account', method: "post", apiKey: true, params: { src/views/examine/index.vue
@@ -5,7 +5,7 @@ class="view" v-for="(item,index) in ViewData" :key="index" v-show="item.assessmentTaskVO!=null" v-show="!(item.assessmentTaskVO==null)" > <p class="TaskNumber"> <span>考核任务编号:{{item.assessmentTaskVO.assessmentNo}}</span> @@ -39,7 +39,11 @@ ViewData: [] }; }, mounted() { let currentTime = new Date(); let targetTime = new Date("2023-12-14 10:23:00"); console.log(currentTime < targetTime); }, computed: {}, created() { this.assessmentTaskData(); @@ -50,7 +54,10 @@ let toUserId = localStorage.getItem("tokensave"); assessmentSet({ toUserId: toUserId }).then(res => { this.ViewData = res.data.data.records; console.log(res.data.data.records); this.ViewData.forEach(item => { console.log(); console.log(item.assessmentTaskVO.endTime); }); }); // assessmentTask(data).then(task => { // console.log(task); src/views/login/index.vue
@@ -87,7 +87,7 @@ phone: this.username, code: this.Code }; Loginto(Data).then(res => { Loginto(Data.phone).then(res => { if (res.data.code == 400) { this.$toast.fail(res.data.msg); } else {