| | |
| | | }, |
| | | OutLogin() { |
| | | localStorage.clear(); |
| | | store.commit("updatelogintopath", "/Appraising"); |
| | | setTimeout(() => { |
| | | this.$router.push({ |
| | | path: "/discrimination" |
| | |
| | | }, |
| | | mounted() {}, |
| | | computed: {}, |
| | | beforeCreate() {}, |
| | | created() { |
| | | store.commit("updatelogintopath", "/examine"); |
| | | if (localStorage.getItem("tokensave") == null) { |
| | |
| | | }, |
| | | OutLogin() { |
| | | localStorage.clear(); |
| | | store.commit("updatelogintopath", "/examine"); |
| | | setTimeout(() => { |
| | | this.$router.push({ |
| | | path: "/discrimination" |
| | |
| | | ) { |
| | | let toUserId = localStorage.getItem("tokensave"); |
| | | assessmentTask({ userId: toUserId }).then(res => { |
| | | this.ViewData = res.data.data.records||[]; |
| | | this.ViewData = res.data.data.records || []; |
| | | this.ViewData = this.ViewData.sort( |
| | | (a, b) => a.isAssessmentOk - b.isAssessmentOk |
| | | ); |
| | |
| | | |
| | | computed: {}, |
| | | created() { |
| | | this.$router.push(this.$store.state.logintopath); |
| | | if (localStorage.getItem("tokensave") == null) { |
| | | this.$router.push({ |
| | | path: "/discrimination" |
| | |
| | | if (localStorage.getItem("tokensave") == "111") { |
| | | this.messageData.forEach((item, indexto) => { |
| | | if (item.userName == "匿名用户") { |
| | | let childitemdata = []; |
| | | item.children.forEach((itemsss, indexsss) => { |
| | | if (itemsss.userName == "匿名用户") { |
| | | childitemdata.push(itemsss); |
| | | } |
| | | }); |
| | | item.children = childitemdata; |
| | | kehuarray.push(item); |
| | | } |
| | | }); |
| | |
| | | }, |
| | | // 提交评论:1匿名提交,2不匿名提交 |
| | | SubmitComment(key, item, index) { |
| | | if (item.inputValue == undefined && item.imageDatatoup == undefined) { |
| | | if ( |
| | | (item.inputValue == undefined || item.inputValue == "") && |
| | | (item.imageDatatoup == undefined || item.imageDatatoup.length == 0) |
| | | ) { |
| | | this.$toast.fail("请输入留言内容"); |
| | | } else { |
| | | let toData = { |
| | |
| | | }, |
| | | OutLogin() { |
| | | localStorage.clear(); |
| | | store.commit("updatelogintopath", "/message"); |
| | | setTimeout(() => { |
| | | this.$router.push({ |
| | | path: "/discrimination" |
| | |
| | | </p> |
| | | <p class="info"> |
| | | <span>截止日期:</span> |
| | | <span>{{this.poepleinfo.candidateCutoffTimeEnd}}</span> |
| | | <span>{{this.poepleinfo.evaluateCutoffTimeEnd}}</span> |
| | | </p> |
| | | <p class="info" v-show="this.poepleinfo.isVote==false"> |
| | | <span>推荐部门:</span> |
| | |
| | | </van-checkbox-group> |
| | | </span> |
| | | </p> |
| | | <p class="info"> |
| | | <p class="info" v-show="this.poepleinfo.isVote==true"> |
| | | <span>推荐部门:</span> |
| | | <span |
| | | v-for="item_resu in this.poepleinfo.evaluateCandidateResultVOS" |
| | |
| | | proxy: { |
| | | "/api": { |
| | | // target用于配置你允许访问数据的计算机名称,即是你的api接口的服务器地址 |
| | | target: "http://127.0.0.1:8111", |
| | | // target: "http://127.0.0.1:8111", |
| | | target: "http://139.196.94.172:8111", |
| | | // target: "https://132v69t077.yicp.fun", |
| | | // target: "http://139.196.94.172:8111", |
| | | // target: 'http://192.168.1.83:2888', |