| | |
| | | <span>较上月增加{{ socialSecurity.addNum }}人</span> |
| | | </div> |
| | | <div class="box-card"> |
| | | <span>社保缴纳总额(元)</span> |
| | | <span>{{ socialSecurity.money }}</span> |
| | | <span>较上月增加{{ socialSecurity.addMoney }}元</span> |
| | | <template v-if="socialSecurity.money / 10000 > 1"> |
| | | <span>社保缴纳总额(万元)</span> |
| | | <span>{{ (socialSecurity.money / 10000).toFixed(0) }}</span> |
| | | </template> |
| | | <template v-else> |
| | | <span>社保缴纳总额(元)</span> |
| | | <span>{{ Number(socialSecurity.money).toFixed(0) }}</span> |
| | | </template> |
| | | |
| | | <span |
| | | >较上月增加{{ |
| | | Number(socialSecurity.addMoney).toFixed(0) |
| | | }}元</span |
| | | > |
| | | </div> |
| | | <div class="box-card"> |
| | | <span>公司派遣人数</span> |
| | |
| | | getCompanys({ jurisdiction: this.value1 }).then(res => { |
| | | if (res.data.code === 200) { |
| | | this.options2 = res.data.data; |
| | | this.value2 = this.options2[0] ? this.options2[0].departmentid : ""; |
| | | // this.value2 = this.options2[0] ? this.options2[0].departmentid : ""; |
| | | this.changeCompanys(); |
| | | } |
| | | }); |
| | |
| | | selectTo(params).then(res => { |
| | | if (res.data.code === 200) { |
| | | let data = res.data.data[0]; |
| | | this.socialSecurity.num = data.thismouth; |
| | | this.socialSecurity.addNum = data.thismouth - data.lastmonth; |
| | | this.socialSecurity.money = data.thisamount; |
| | | this.socialSecurity.addMoney = data.thisamount - data.lastamount; |
| | | this.socialSecurity.paiQ = data.userpcthismouth; |
| | | this.socialSecurity.addPaiQ = |
| | | data.userpcthismouth - data.userpclastmouth; |
| | | this.socialSecurity.num = data.znum; |
| | | this.socialSecurity.addNum = data.thismouth; |
| | | this.socialSecurity.money = data.tamountnum.toFixed(0); |
| | | this.socialSecurity.addMoney = data.thisamount.toFixed(0); |
| | | this.socialSecurity.paiQ = data.userpcnum; |
| | | this.socialSecurity.addPaiQ = data.userpcthismouth; |
| | | this.socialSecurity.sheBPerson = |
| | | data.userthismouth && (data.thismouth / data.userthismouth) * 100 |
| | | ? ((data.thismouth / data.userthismouth) * 100).toFixed(2) + "%" |
| | | data.usernum && (data.znum / data.usernum) * 100 |
| | | ? ((data.znum / data.usernum) * 100).toFixed(2) + "%" |
| | | : 0; |
| | | this.socialSecurity.addSheBPerson = |
| | | data.userthismouth && |
| | | data.userlastmouth && |
| | | (data.thismouth / data.userthismouth) * 100 && |
| | | (data.lastmonth / data.userlastmouth) * 100 && |
| | | (data.thismouth / data.userthismouth) * 100 - |
| | | (data.lastmonth / data.userlastmouth) * 100 |
| | | data.thismouth && data.lastmonth && data.thismouth - data.lastmonth |
| | | ? ( |
| | | (data.thismouth / data.userthismouth) * 100 - |
| | | (data.lastmonth / data.userlastmouth) * 100 |
| | | ((data.thismouth - data.lastmonth) / data.lastmonth) * |
| | | 100 |
| | | ).toFixed(2) + "%" |
| | | : 0; |
| | | } else { |
| | |
| | | } |
| | | .select1 { |
| | | position: absolute; |
| | | right: 302px; |
| | | right: 360px; |
| | | } |
| | | .select2 { |
| | | position: absolute; |
| | |
| | | right: 0px; |
| | | } |
| | | /deep/ .el-input__inner { |
| | | width: 120px; |
| | | width: 180px; |
| | | } |
| | | } |
| | | .col-content { |