| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193 |
- <html>
- <head>
- <style>
- .article-info {
- padding: 0 16px;
- position: relative;
- }
- .article-info-title {
- font-size: 18px;
- line-height: 32px;
- padding: 10px 0 6px;
- }
- .article-info-mesg {
- color: #999;
- font-size: 12px;
- }
- .article-tabs .van-tab__pane {
- padding: 12px 10px;
- background-color: #fff;
- }
- .article-tabs img {
- max-width: 100%;
- }
- .article-tabs p {
- word-break: break-all;
- }
- .article-desc {
- box-sizing: border-box;
- display: block;
- border: 1px solid #f7f7fc;
- border-radius: 3px;
- padding: 10px 10px;
- background-color: #f7f7fc;
- color: #999aaa;
- margin: 0px 0px 10px 0px
- }
- .article-info-bottom {
- float: right;
- background-color: #cc9650;
- border-radius: 3px;
- padding: 0px 2px;
- font-size: 12px;
- }
- .article-info-bottom .van-button {
- float: right;
- }
- .article-info-bottom>span {
- color: #fff;
- }
- .van-hairline--top-bottom::after,
- .van-hairline-unset--top-bottom::after {
- border-width: 0px 0px 1px;
- }
- .iframe-wrap {
- box-sizing: border-box;
- width: 100%;
- height: calc(100% - 139px);
- }
- .iframe-wrap iframe,
- .van-tab__pane {
- width: 100%;
- height: 100%;
- }
- .van-tabs__content {
- box-sizing: border-box;
- height: calc(100% - 3px);
- }
- /* 徽章 */
- .flow-result {
- width: 76px;
- height: 58px;
- background: url(/apps/space/images/mobile/flow/agree.png) no-repeat;
- background-size: contain;
- position: absolute;
- right: 12px;
- top: 28px;
- z-index: 10;
- color: #4db485;
- transform: rotate( 19deg);
- }
- .flow-result p {
- line-height: 58px;
- text-align: center;
- font-size: 15px;
- }
- .flow-result.flow-reject {
- color: #d81e06;
- background-image: url("/apps/space/images/mobile/flow/reject.png");
- }
- </style>
- </head>
- <body>
- <div id="space-content">
- <div class="content-wrap">
- <div class="article-info">
- <h2 class="article-info-title">
- ${applyData.auditTitle}
- </h2>
- <div class="article-info-mesg">
- 由 ${applyData.auditPersonName} / ${applyData.auditPersonDepartment} 发起
- <span style="color: #1989fa;margin-left: 8px;" @click="viewInfo">
- 查看内容
- </span>
- <c:if test="${applyData.ascode == '11'}">
- <div class="article-info-bottom">
- <span>
- ${applyData.asName}
- </span>
- </div>
- </c:if>
- </div>
- <c:if test="${applyData.ascode != '11'}">
- <!-- 徽章 -->
- <!-- 加上flow-reject样式名是红色,不加flow-reject是绿色 -->
-
- <c:if test="${applyData.ascode == '51' || applyData.ascode == '41'}">
- <div class="flow-result">
- <p>
- ${applyData.asName}
- </p>
- </div>
- </c:if>
- <c:if test="${applyData.ascode != '51' && applyData.ascode != '41'}">
- <div class="flow-result flow-reject">
- <p>
- ${applyData.asName}
- </p>
- </div>
- </c:if>
-
- </c:if>
-
- </div>
- <!-- Tab 标签页 -->
- <van-tabs v-model="tabActiveName" color="#1989fa" class="article-tabs iframe-wrap" swipeable>
- <van-tab title="流转意见" name="auditOpinion">
- <iframe
- src='@service{ name: `sys.sys_flow_audit_time_line`, page:`flow_time`, params:`{applyid: "${applyid}", auditid: "${auditid}", isWxAuditLink: "${isWxAuditLink}"}`}@'
- frameborder="0"></iframe>
- </van-tab>
- <van-tab title="流程图" name="flowChart">
- <iframe
- src='@service{ name: `sys.sys_flow_chart`, page:`sys.common_audit.flow_chart`, params:`{applyid: "${applyid}"}`}@'
- frameborder="0" style="min-height: 500px;"></iframe>
- </van-tab>
- </van-tabs>
- </div>
- </div>
- </body>
- <script type="text/javascript">
- space.vue = new Vue({
- el: space.appContent,
- data: function () {
- return {
- tabActiveName: "${tabsType}",
- }
- },
- mounted: function () {
- },
- methods: {
- viewInfo: function() {
- space.plugin.layer.open({
- url: '${applyInfoToken}'
- });
- }
- }
- })
- </script>
- </html>
|