zhang
2023-12-14 5dd9b1bf7c74a7e1b586571ea1fab994b4232c7d
'更新最新内容'
3 files modified
18 ■■■■ changed files
src/api/hfiveget/index.js 3 ●●●● patch | view | raw | blame | history
src/views/examine/index.vue 13 ●●●● patch | view | raw | blame | history
src/views/login/index.vue 2 ●●● 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 {