15179599649
2023-12-27 ad427416b5a0d3edbc92ded588befcea1c4ac07f
'完善数据'
4 files modified
48 ■■■■ changed files
src/views/examine/index.vue 24 ●●●● patch | view | raw | blame | history
src/views/layout/index.vue 10 ●●●● patch | view | raw | blame | history
src/views/toexamine/index.vue 4 ●●●● patch | view | raw | blame | history
vue.config.js 10 ●●●● patch | view | raw | blame | history
src/views/examine/index.vue
@@ -70,8 +70,7 @@
      tabbarindex: 0
    };
  },
  mounted() {
  },
  mounted() {},
  computed: {},
  created() {
    this.assessmentTaskData();
@@ -108,27 +107,18 @@
          }
          assessmentSetDept({ toUserId: toUserId }).then(res_dept => {
            if (res_dept.data.data.records != undefined) {
              res_dept.data.data.records.forEach(items => {
                if (items.assessmentTaskVO !== null) {
                  this.ViewData.push(items);
              res_dept.data.data.records.forEach(items_dept => {
                if (items_dept.assessmentTaskVO !== null) {
                  this.ViewData.push(items_dept);
                }
                if (items.assessmentScoreVO !== null) {
                  items.condition = 1;
                if (items_dept.assessmentScoreVO !== null) {
                  items_dept.condition = 1;
                } else {
                  items.condition = 0;
                  items_dept.condition = 0;
                }
              });
            }
            this.ViewData.sort((a, b) => a.condition - b.condition);
            let letData = {
              index: 0,
              notnum: 0
            };
            this.ViewData.forEach(item => {
              if (item.assessmentScoreVO == null) {
                letData.notnum += 1;
              }
            });
          });
        });
      }
src/views/layout/index.vue
@@ -134,7 +134,10 @@
      assessmentSet({ toUserId: toUserId }).then(res_peo => {
        if (res_peo.data.data.records != undefined) {
          res_peo.data.data.records.forEach(item => {
            if (item.assessmentScoreVO == null) {
            if (
              item.assessmentScoreVO == null &&
              item.assessmentTaskVO != null
            ) {
              this.ygTabName[0].num += 1;
            }
          });
@@ -142,7 +145,10 @@
        assessmentSetDept({ toUserId: toUserId }).then(res_dept => {
          if (res_dept.data.data.records != undefined) {
            res_dept.data.data.records.forEach(item_in => {
              if (item_in.assessmentScoreVO == null) {
              if (
                item_in.assessmentScoreVO == null &&
                item_in.assessmentTaskVO != null
              ) {
                this.ygTabName[0].num += 1;
              }
            });
src/views/toexamine/index.vue
@@ -23,14 +23,14 @@
        <span>职务:</span>
        <span>{{this.poepleinfo.postName}}</span>
      </p>
      <p v-show="this.poepleinfo.userId!=undefined">
      <!-- <p v-show="this.poepleinfo.userId!=undefined">
        <span>人员类型:</span>
        <span>经营</span>
      </p>
      <p v-show="this.poepleinfo.userId!=undefined">
        <span>合伙人级别:</span>
        <span>重要合伙人</span>
      </p>
      </p>-->
    </div>
    <p class="illustrate">说明:对当前评分,权重占{{this.poepleinfo.weight}}%,评分范围(100分制)±50</p>
    <div v-if="this.poepleinfo.assessmentScoreVO==null" class="todetails">
vue.config.js
@@ -136,17 +136,17 @@
      // 业务平台接口
      "/api": {
        // target用于配置你允许访问数据的计算机名称,即是你的api接口的服务器地址
        target: "http://127.0.0.1",
        // target: "https://132v69t077.yicp.fun",
        // target: "http://127.0.0.1",
        target: "https://132v69t077.yicp.fun",
        // target: 'http://192.168.1.85:2888',
        // target: "http://192.168.0.100:82",
        // target: "http://17.20.10.3:82",
        // target: "http://10.141.11.11/api",
        // ws: true, //启用webSocket6566
        changeOrigin: true,
        pathRewrite: {
          "^/api": "/"
        }
        // pathRewrite: {
        //   "^/api": "/"
        // }
      },
    },
  },