123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
- <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
- <title></title>
- <link rel="stylesheet" href="../../css/api.css">
- <link rel="stylesheet" href="../../css/aui.css">
- <link rel="stylesheet" type="text/css" href="../../css/projeck.css" />
- </head>
- <style type="text/css">
- html,body{
- background: transparent;
- -webkit-touch-callout: none;
- font-family: Tahoma, Geneva, sans-serif;
- font-style: normal;
- margin: 0;
- }
- .api_layout{
- background-color: #fff;
- position: absolute; margin: auto;
- left: 0; right: 0; top: 0; bottom: 0;
- width: 325px; height: 258px;
- opacity: 1;
- padding: 0 20px;
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- -webkit-border-radius: 5px;
- border-radius: 5px;
- overflow: hidden;
- padding-top: 106px;
- }
- .api_box{
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- background: #fff;
- z-index: 100;
- padding: 0 20px;
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- border-radius: 5px;
- }
- .selectTitle{
- padding: 15px 0;
- margin-bottom: 15px;
- }
- .column-textarea{
- border: 1px solid #97a3b4;
- -webkit-border-radius: 5px;
- -moz-border-radius: 5px;
- border-radius: 5px;
- padding: 10px;
- height: 124px;
- width: 100%;
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- }
- .column-textarea::placeholder{
- font-size: 13px;
- color: #97a3b4;
- }
- .examine-blue{
- background: #3498db;
- }
- .h3{
- font-size: 20px;
- }
- .api-icon-close{
- position: absolute;
- top: 13px;
- right: -5px;
- font-size: 24px;
- font-weight: bold;
- }
- </style>
- <body>
- <div class="api_layout">
- <div class="api_box">
- <div class="selectTitle after-border relative">
- <h3 class="h3">驳回</h3>
- <i class="aui-iconfont aui-icon-close api-icon-close" onclick="api.closeFrame()"></i>
- </div>
- <div style="padding:0 10px;">
- <textarea name="name" rows="8" cols="80" class="column-textarea font-s" placeholder="简述内容"></textarea>
- </div>
- <div style="text-align: right;margin-top: 15px;padding-right:10px;">
- <div class="aui-btn aui-btn-info examine-blue" onclick="submitReject(api.pageParam.ID)">提交</div>
- </div>
- </div>
- </div>
- </body>
- <script type="text/javascript" src="../../script/api.js"></script>
- <script type="text/javascript" src="../../script/config.js"></script>
- <script type="text/javascript">
- var token="";
- apiready = function(){
- var info = $api.getStorage('data');
- token = JSON.parse(info).data.access_token;
- }
- // 提交驳回
- function submitReject(id) {
- var headers = {
- "Authorization": "Bearer " + token
- };
- var parse= {
- allow:0,
- remark:$api.val($api.dom('.column-textarea'))
- }
- $http.fnReuestDataNologing(UrlRouter.submitAdopt+id,headers,'post',parse,function (ret,err) {
- if (ret.code === 0) {
- api.toast({
- msg: '驳回成功',
- duration: 2000,
- location: 'top'
- });
- api.closeWin({
- name: 'wordorderDetails_win'
- });
- api.sendEvent({
- name: 'eventWord'
- });
- }
- })
- }
- </script>
- </html>
|