123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- <!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="../../static/kj/element-ui/theme-chalk/index.css">
- <link rel="stylesheet" href="../../static/sa.css">
- <script src="../../static/kj/vue.min.js"></script>
- <script src="../../static/kj/element-ui/index.js"></script>
- <script src="../../static/kj/httpVueLoader.js"></script>
- <script src="../../static/kj/jquery.min.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;}
- .c-item .image-box-2{height: 90px;}
- </style>
- </head>
- <body>
- <div class="vue-box sbot" style="display: none;" :style="'display: block;'">
- <!-- ------- 内容部分 ------- -->
- <div class="s-body">
- <div class="c-panel">
- <el-form v-if="m">
- <el-row>
- <el-col span="12">
- <sa-info name="名称" br>{{m.orgName}}</sa-info>
- <sa-info name="法人" br>{{m.correpName}}</sa-info>
- <sa-info name="身份证号" br>{{m.ciphertextIdno}}</sa-info>
- <sa-info name="手机号码" br>{{m.correpTel}}</sa-info>
- <sa-info type="img-list" name="营业执照" :value="m.businessLicense" br></sa-info>
- </el-col>
- <el-col span="12">
- <sa-info name="税号" br>{{m.orgSccd}}</sa-info>
- <sa-info name="银行名称" br>{{m.bankName}}</sa-info>
- <sa-info name="银行账号" br>{{m.bankAccount}}</sa-info>
- <sa-info name="地址" br>{{m.address}}</sa-info>
- <sa-info name="创建时间" br>{{m.createTime}}</sa-info>
- <sa-info name="更新时间" br>{{m.updateTime}}</sa-info>
- </el-col>
- </el-row>
- </el-form>
- <div>合作社代表</div>
- <el-table class="data-table" ref="data-table" :data="dataList" >
- <sa-td type="index" name="序号"></sa-td>
- <sa-td name="名称" prop="orgName"></sa-td>
- <sa-td name="税号" prop="orgSccd"></sa-td>
- <sa-td name="法人" prop="correpName"></sa-td>
- <sa-td name="手机号码" prop="correpTel" width="100px" ></sa-td>
- <sa-td name="银行名称" prop="bankName"></sa-td>
- <sa-td name="银行账号" prop="bankAccount"></sa-td>
- <sa-td name="创建时间" width="160px" prop="createTime"></sa-td>
- <sa-td label="操作" fixed="right" width="240px">
- <template slot-scope="s" style="line-height: 0px;">
- <el-button class="c-btn" type="success" icon="el-icon-view" @click="get(s.row)">查看</el-button>
- <el-button v-if="sa.isAuth('tb-cooperative-edit')" class="c-btn" type="primary" icon="el-icon-edit" @click="update(s.row)">修改</el-button>
- <el-button v-if="sa.isAuth('tb-cooperative-del')" class="c-btn" type="danger" icon="el-icon-delete" @click="del(s.row)">删除</el-button>
- </template>
- </sa-td>
- </el-table>
- </div>
- </div>
- <!-- ------- 底部按钮 ------- -->
- <div class="s-foot">
- <el-button type="success" @click="sa.closeCurrIframe()">确定</el-button>
- <el-button @click="sa.closeCurrIframe()">取消</el-button>
- </div>
- </div>
- <script>
- var app = new Vue({
- components: {
- "sa-info": httpVueLoader('../../sa-frame/com/sa-info.vue')
- },
- el: '.vue-box',
- data: {
- id: sa.p('id', 0), // 获取数据ID
- m: null,
- dataList:[]
- },
- methods: {
- },
- mounted: function() {
- sa.ajax('/level-one-server/TbCooperative/getById?id=' + this.id, function(res) {
- this.m = res.data;
- if(res.data == null) {
- sa.alert('未能查找到 id=' + this.id + " 详细数据");
- }
- }.bind(this))
- }
- })
-
- </script>
- </body>
- </html>
|