| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247 |
- <html>
- <head>
- <style type="text/css">
- body{
- overflow-y: hidden;
- }
-
- .user-row-top {
- height: 166px;
- border-bottom: 1px solid #eee;
- padding-bottom: 26px;
- }
-
- .user-row-top .user-col-rest {
- line-height: 34px;
- }
-
- .user-email {
- color: #7d7d7d;
- }
-
- .user-name {
- vertical-align: middle;
- }
-
- .icon-border {
- background-color: rgba(243, 246, 248, .94);
- border: 4px solid #fff;
- box-shadow: inset 0 1.5px 3px 0 rgba(0, 0, 0, .15), 0 1.5px 3px 0 rgba(0, 0, 0, .15);
- box-sizing: content-box;
- margin: auto;
- position: relative;
- color: #999;
- }
-
- .role-tag {
- margin-right: 6px;
- }
- .space-check-infor{
- padding-left: 40px;
- padding-right: 40px;
- }
- .space-check-infor .infor-label {
- text-align: right;
- }
- .space-check-infor img{
- padding: 0;
- }
- .space-check-infor .infor-value{
- position: relative;
- }
- .space-frame{
- position: absolute;
- top: -10px;
- right: 45px;
- width: 120px;
- height: 120px;
- line-height: 120px;
- background: url(/apps/space/images/frame_green.png) no-repeat center;
- background-size: contain;
- color: #53bf59;
- font-size: 18px;
- text-align: center;
- }
- .space-frame.space-frame-red{
- top: -25px;
- right: 45px;
- width: 150px;
- height: 150px;
- line-height: 150px;
- background: url(/apps/space/images/frame_red.png) no-repeat center;
- background-size: contain;
- color: #da301a;
- font-size: 26px;
- }
- .space-frame p{
- transform: rotate(15deg);
- }
- .user-row-top .el-col{
- position: relative;
- }
- .triangle{
- position: absolute;
- display: inline-block;
- bottom: -38px;
- right: calc(20% + 50px);
- width: 0;
- height: 0px;
- content: '';
- border-style: solid;
- border-width: 6px;
- border-color: #fff #fff transparent transparent;
- transform: rotate(-45deg);
- box-shadow: 1px -1px 0px #e0e0e0;
- }
- .accessory{
- border: 1px solid #dcdfe6;
- border-radius: 4px;
- padding: 2px 8px;
- background-color: #fff;
- position: absolute;
- right: 0;
- bottom: -59px;
- box-shadow: -6px 0px 0 #fff;
- cursor: pointer;
- z-index: 100;
- }
-
- .accessory:hover{
- border-color: #409eff;
- color: #409eff;
- }
- .accessory .el-button{
- padding: 6px 8px;
- }
- .accessory .el-button:hover{
- color: #409eff;
- background: #ecf5ff;
- border-color: #b3d8ff;
- }
- .audit-opinion{
- margin: 32px 26px;
- line-height: 32px;
- /*max-height: 300px;*/
- overflow-y: hidden;
- }
- </style>
- </head>
- <body>
- <div id="space-content">
- <el-container class="space-container">
- <div class="space-check-infor">
- <!--一行两列-->
- <el-row class="user-row-top">
- <el-col :span="7">
- <div class="infor-label" style="margin-left: 30px;">
- <el-avatar :size="100" shape="square" src="${audit.icon_path}" class="icon-border">
- ${audit.person_name}
- </el-avatar>
- </div>
- <span class="triangle" v-if="!${audit.isInputAuditDescribe}"></span>
- </el-col>
- <el-col :span="17" class="user-col-rest">
- <div class="infor-value" style="padding-top: 3px;">
- <p class="user-msg">
- <span class="user-name">${audit.person_name}</span>
- <c:if test="${audit.scode == '10000'}">
- <i class="user-gender user-gender-man"></i>
- </c:if>
- <c:if test="${audit.scode == '10001'}">
- <i class="user-gender user-gender-female"></i>
- </c:if>
- <c:if test="${audit.scode == '10002'}">
- <i class="user-gender"></i>
- </c:if>
- <span style="color: #eee;">|</span>
- <span class="layui-badge-rim">
- ${audit.ps_name}
- </span>
- </p>
- <p class="user-email">
- 部门 ${audit.dept_name}
- </p>
- <p class="user-email">
- 岗位 ${audit.post_name}
- </p>
- <!-- 审核结果 -->
- <div class="space-frame" :class="${audit.ascode} == 81 ? 'space-frame-red' : ''">
- <p>
- ${audit.asname}
- </p>
- </div>
- <!-- 附件 -->
- <div class="accessory" @click="openAttachment('${audit.childCmsId}')" v-if="'${audit.fileTotal}' != ''">
- 附件
- <el-button type="primary" plain>${audit.fileTotal}</el-button>
- </div>
- </div>
- </el-col>
- </el-row>
-
- <div class="audit-opinion user-email" align="center" v-if="${audit.isInputAuditDescribe}">
- ${audit.auditDescribe}
- </div>
- <div class="audit-opinion" v-if="!${audit.isInputAuditDescribe}">
- ${audit.auditDescribe}
- </div>
-
- </div>
- </el-container>
- </div>
- </body>
- <script type="text/javascript">
- space.vue = new Vue({
- el: space.appContent,
- methods: {
- /**
- * 打开附件(CMS)
- */
- openAttachment(id) {
-
- var _this = this;
- var winSetting = {
- "title": "附件",
- "width": "90%",
- "height": "90%",
- "url": "@service{ page:'sys.cms.uploading_info' }@"
- };
-
- space.plugins.layer.openPredefinePage(winSetting, {
- success: function(win) {
- win.CMS = {
- id: id
- }
- },
- end: function() {
- }
- });
-
- }
- }
- })
- </script>
- </html>
|