123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142 |
- <!DOCTYPE html>
- <html>
- <head>
- <title>互助组-详情</title>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <meta name="viewport"
- content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
- <!-- 所有的 css js 资源 -->
- <link rel="stylesheet" href="https://unpkg.com/element-ui@2.13.0/lib/theme-chalk/index.css">
- <link rel="stylesheet" href="../../static/sa.css">
- <script src="https://unpkg.com/vue@2.6.10/dist/vue.min.js"></script>
- <script src="https://unpkg.com/element-ui@2.13.0/lib/index.js"></script>
- <script src="https://unpkg.com/jquery@3.4.1/dist/jquery.js"></script>
- <script src="../../static/kj/layer/layer.js"></script>
- <script src="../../static/sa.js"></script>
- <style type="text/css">
- .c-panel .c-label {
- width: 8em;
- }
- table {
- font-family: arial, sans-serif;
- border-collapse: collapse;
- width: 90%;
- margin-top: 26px ;
- margin-left: auto;
- margin-right: auto;
- }
- th {
- border: 1px solid darkgray;
- text-align: left;
- height: 30px;
- padding: 8px;
- background-color: #dddddd;
- }
- td {
- border: 1px solid darkgray;
- text-align: left;
- padding: 8px;
- }
- </style>
- </head>
- <body>
- <div class="vue-box sbot" style="display: none;" :style="'display: block;'">
- <!-- ------- 内容部分 ------- -->
- <div class="s-body">
- <div class="c-panel">
- <el-form size="mini" v-if="m">
- <table>
- <tr>
- <th>名称</th>
- <td>{{m.orgName}}</td>
- <th>组长</th>
- <td>{{m.leaderName}}</td>
- </tr>
- <tr>
- <th>互市区</th>
- <td>{{m.tradeAreaName}}</td>
- <th>组长电话</th>
- <td>{{maskPhone(m.leaderPhone)}}</td>
- </tr>
- <tr>
- <th>限购额度</th>
- <td>{{m.leftPrice}}</td>
- <th>所属地址</th>
- <td>{{m.address}}</td>
- </tr>
- <tr>
- <th>场站编码</th>
- <td>{{m.fieldCode}}</td>
- <th>内部业务编号</th>
- <td>{{m.platSeqNo}}</td>
- </tr>
- <tr>
- <th>关区代码</th>
- <td>{{m.customsCode}}</td>
- <th>登记号</th>
- <td>{{m.shopsSccd}}</td>
- </tr>
- <tr>
- <th>启停用状态</th>
- <td>
- <b v-if="m.eDStatus == 1">启用</b>
- <b v-if="m.eDStatus == 2">停用</b>
- <b v-if="m.eDStatus == 3">注销</b>
- </td>
- <th>备案状态</th>
- <td>
- <b v-if="m.filingStatus == 0">待申报</b>
- <b v-if="m.filingStatus == 1">已申报</b>
- <b v-if="m.filingStatus == 2">备案通过</b>
- <b v-if="m.filingStatus == 3">备案失败</b>
- </td>
- </tr>
- <tr>
- <th>备案编号</th>
- <td>{{m.putrecNo}}</td>
- <th>地方政府编号</th>
- <td>{{m.localGovernmentNo}}</td>
- </tr>
- <tr>
- <th>有效效截止时间</th>
- <td>{{sa.forDate(m.expiry, 2)}}</td>
- <th>创建时间</th>
- <td>{{sa.forDate(m.createTime, 2)}}</td>
- </tr>
- </table>
- </el-form>
- </div>
- </div>
- <!-- ------- 底部按钮 ------- -->
- <div class="s-foot">
- <el-button size="mini" type="success" @click="sa.closeCurrIframe()">确定</el-button>
- <el-button size="mini" @click="sa.closeCurrIframe()">取消</el-button>
- </div>
- </div>
- <script>
- var app = new Vue({
- el: '.vue-box',
- data: {
- id: sa.p('id', 0), // 获取数据ID
- m: null
- },
- methods: {
- maskPhone:function (phone) {
- return phone.replace(/(\d{3})\d{4}(\d{4})/, '$1****$2');
- },
- addLeaderFn(groupId) {
- sa.showIframe('添加组长', 'tb-group-leader.html?groupId=' + groupId, '950px', '90%');
- },
- },
- mounted: function() {
- sa.ajax('/level-one-server/TbGroup/getById?id=' + this.id, function(res) {
- this.m = res.data;
- if (res.data == null) {
- sa.alert('未能查找到 id=' + this.id + " 详细数据");
- }
- }.bind(this))
- }
- })
- </script>
- </body>
- </html>
|