1
This commit is contained in:
		
							parent
							
								
									a13c0950fb
								
							
						
					
					
						commit
						4538ad4132
					
				@ -198,7 +198,7 @@
 | 
				
			|||||||
        </table>
 | 
					        </table>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
    </t-dialog>
 | 
					    </t-dialog>
 | 
				
			||||||
    <t-dialog header="捐赠详情" :confirmBtn="null" :visible="JuanMode" :onClose="onCloseMy" width="65%" top="50px">
 | 
					    <t-dialog :header="getType==3?'捐赠详情':'付费详情'" :confirmBtn="null" :visible="JuanMode" :onClose="onCloseMy" width="65%" top="50px">
 | 
				
			||||||
      <div style="height: 600px;overflow-y: scroll;">
 | 
					      <div style="height: 600px;overflow-y: scroll;">
 | 
				
			||||||
        <table class="layui-table" style="margin: 10px 0px">
 | 
					        <table class="layui-table" style="margin: 10px 0px">
 | 
				
			||||||
          <thead>
 | 
					          <thead>
 | 
				
			||||||
@ -532,6 +532,7 @@ export default {
 | 
				
			|||||||
        autoFocus: true,
 | 
					        autoFocus: true,
 | 
				
			||||||
        MENU_CONF: {
 | 
					        MENU_CONF: {
 | 
				
			||||||
          uploadImage: {
 | 
					          uploadImage: {
 | 
				
			||||||
 | 
					            maxFileSize: 50 * 1024 * 1024,
 | 
				
			||||||
            server: store.state.user.apiUrl + '/api/common/upload',
 | 
					            server: store.state.user.apiUrl + '/api/common/upload',
 | 
				
			||||||
            fieldName: 'file',
 | 
					            fieldName: 'file',
 | 
				
			||||||
            metaWithUrl: false,
 | 
					            metaWithUrl: false,
 | 
				
			||||||
@ -545,6 +546,11 @@ export default {
 | 
				
			|||||||
              // 从 res 中找到 url alt href ,然后插入图片
 | 
					              // 从 res 中找到 url alt href ,然后插入图片
 | 
				
			||||||
              insertFn(res.data.fullurl, '', '')
 | 
					              insertFn(res.data.fullurl, '', '')
 | 
				
			||||||
            },
 | 
					            },
 | 
				
			||||||
 | 
					            onError:(file, err, res)=>{
 | 
				
			||||||
 | 
					              if(err.message.indexOf('exceeds maximum allowed size') !== -1){
 | 
				
			||||||
 | 
					                this.$message.error('限制为50M,请调整好再上传!',2000);
 | 
				
			||||||
 | 
					              }
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
@ -977,6 +983,9 @@ export default {
 | 
				
			|||||||
          if (res.code == 1) {
 | 
					          if (res.code == 1) {
 | 
				
			||||||
            this.list = res.data.ret;
 | 
					            this.list = res.data.ret;
 | 
				
			||||||
            this.pagination.total = res.data.count;
 | 
					            this.pagination.total = res.data.count;
 | 
				
			||||||
 | 
					          }else{
 | 
				
			||||||
 | 
					            this.list = [];
 | 
				
			||||||
 | 
					            this.pagination.total =0;
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        })
 | 
					        })
 | 
				
			||||||
 | 
				
			|||||||
@ -151,6 +151,7 @@ export default {
 | 
				
			|||||||
        autoFocus: true,
 | 
					        autoFocus: true,
 | 
				
			||||||
        MENU_CONF: {
 | 
					        MENU_CONF: {
 | 
				
			||||||
          uploadImage: {
 | 
					          uploadImage: {
 | 
				
			||||||
 | 
					            maxFileSize: 50 * 1024 * 1024,
 | 
				
			||||||
            server: store.state.user.apiUrl + '/api/common/upload',
 | 
					            server: store.state.user.apiUrl + '/api/common/upload',
 | 
				
			||||||
            fieldName: 'file',
 | 
					            fieldName: 'file',
 | 
				
			||||||
            meta:{
 | 
					            meta:{
 | 
				
			||||||
 | 
				
			|||||||
@ -144,6 +144,7 @@ export default {
 | 
				
			|||||||
        autoFocus: true,
 | 
					        autoFocus: true,
 | 
				
			||||||
        MENU_CONF: {
 | 
					        MENU_CONF: {
 | 
				
			||||||
          uploadImage: {
 | 
					          uploadImage: {
 | 
				
			||||||
 | 
					            maxFileSize: 50 * 1024 * 1024,
 | 
				
			||||||
            server: store.state.user.apiUrl + '/api/common/upload',
 | 
					            server: store.state.user.apiUrl + '/api/common/upload',
 | 
				
			||||||
            fieldName: 'file',
 | 
					            fieldName: 'file',
 | 
				
			||||||
            meta:{
 | 
					            meta:{
 | 
				
			||||||
 | 
				
			|||||||
@ -59,6 +59,9 @@
 | 
				
			|||||||
        <t-form-item label="点击量" name="news_source">
 | 
					        <t-form-item label="点击量" name="news_source">
 | 
				
			||||||
          <t-input placeholder="请输入自定义点击量" v-model="addForm.news_hits"/>
 | 
					          <t-input placeholder="请输入自定义点击量" v-model="addForm.news_hits"/>
 | 
				
			||||||
        </t-form-item>
 | 
					        </t-form-item>
 | 
				
			||||||
 | 
					        <t-form-item label="微信文章链接" name="wx_url">
 | 
				
			||||||
 | 
					          <t-input placeholder="请输入微信文章链接" v-model="addForm.wx_url"/>
 | 
				
			||||||
 | 
					        </t-form-item>
 | 
				
			||||||
        <t-form-item label="新闻内容" name="news_content">
 | 
					        <t-form-item label="新闻内容" name="news_content">
 | 
				
			||||||
          <div style="border: 1px solid #ccc;z-index: 99">
 | 
					          <div style="border: 1px solid #ccc;z-index: 99">
 | 
				
			||||||
            <!-- 工具栏 -->
 | 
					            <!-- 工具栏 -->
 | 
				
			||||||
@ -122,6 +125,7 @@ export default {
 | 
				
			|||||||
        news_image_show:[],
 | 
					        news_image_show:[],
 | 
				
			||||||
        showtime:'',
 | 
					        showtime:'',
 | 
				
			||||||
        news_hits:0,
 | 
					        news_hits:0,
 | 
				
			||||||
 | 
					        wx_url:'',
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      addMode: false,
 | 
					      addMode: false,
 | 
				
			||||||
      isEdit: false,
 | 
					      isEdit: false,
 | 
				
			||||||
@ -161,6 +165,7 @@ export default {
 | 
				
			|||||||
        autoFocus: true,
 | 
					        autoFocus: true,
 | 
				
			||||||
        MENU_CONF: {
 | 
					        MENU_CONF: {
 | 
				
			||||||
          uploadImage: {
 | 
					          uploadImage: {
 | 
				
			||||||
 | 
					            maxFileSize: 50 * 1024 * 1024,
 | 
				
			||||||
            server: store.state.user.apiUrl + '/api/common/upload',
 | 
					            server: store.state.user.apiUrl + '/api/common/upload',
 | 
				
			||||||
            fieldName: 'file',
 | 
					            fieldName: 'file',
 | 
				
			||||||
            meta:{
 | 
					            meta:{
 | 
				
			||||||
@ -283,6 +288,7 @@ export default {
 | 
				
			|||||||
          news_image_show:[],
 | 
					          news_image_show:[],
 | 
				
			||||||
          showtime:'',
 | 
					          showtime:'',
 | 
				
			||||||
        news_hits:0,
 | 
					        news_hits:0,
 | 
				
			||||||
 | 
					        wx_url:'',
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    edit(d) {
 | 
					    edit(d) {
 | 
				
			||||||
@ -298,6 +304,7 @@ export default {
 | 
				
			|||||||
      this.addForm.news_content = d.news_content;
 | 
					      this.addForm.news_content = d.news_content;
 | 
				
			||||||
      this.addForm.showtime = d.showtime
 | 
					      this.addForm.showtime = d.showtime
 | 
				
			||||||
      this.addForm.news_hits = d.news_hits;
 | 
					      this.addForm.news_hits = d.news_hits;
 | 
				
			||||||
 | 
					      this.addForm.wx_url=d.wx_url;
 | 
				
			||||||
      this.addMode = true;
 | 
					      this.addMode = true;
 | 
				
			||||||
      this.isEdit = true;
 | 
					      this.isEdit = true;
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
@ -351,10 +358,10 @@ export default {
 | 
				
			|||||||
        this.$message.error('来源不能为空');
 | 
					        this.$message.error('来源不能为空');
 | 
				
			||||||
        return;
 | 
					        return;
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
      if (this.addForm.news_content == '') {
 | 
					      // if (this.addForm.news_content == '') {
 | 
				
			||||||
        this.$message.error('详情不能为空');
 | 
					      //   this.$message.error('详情不能为空');
 | 
				
			||||||
        return;
 | 
					      //   return;
 | 
				
			||||||
      }
 | 
					      // }
 | 
				
			||||||
      if (this.addForm.news_image=='') {
 | 
					      if (this.addForm.news_image=='') {
 | 
				
			||||||
        this.$message.error('新闻主图不能为空');
 | 
					        this.$message.error('新闻主图不能为空');
 | 
				
			||||||
        return;
 | 
					        return;
 | 
				
			||||||
 | 
				
			|||||||
@ -47,6 +47,7 @@ export default {
 | 
				
			|||||||
      editID:0,
 | 
					      editID:0,
 | 
				
			||||||
      list: [],
 | 
					      list: [],
 | 
				
			||||||
      columns: [
 | 
					      columns: [
 | 
				
			||||||
 | 
					        {colKey: 'id', title: 'ID'},
 | 
				
			||||||
        {colKey: 'weigh', title: '排序'},
 | 
					        {colKey: 'weigh', title: '排序'},
 | 
				
			||||||
        {colKey: 'name', title: '类目名称'},
 | 
					        {colKey: 'name', title: '类目名称'},
 | 
				
			||||||
        {colKey: 'createtime', title: '添加时间'},
 | 
					        {colKey: 'createtime', title: '添加时间'},
 | 
				
			||||||
 | 
				
			|||||||
@ -160,6 +160,7 @@ export default {
 | 
				
			|||||||
        autoFocus: true,
 | 
					        autoFocus: true,
 | 
				
			||||||
        MENU_CONF: {
 | 
					        MENU_CONF: {
 | 
				
			||||||
          uploadImage: {
 | 
					          uploadImage: {
 | 
				
			||||||
 | 
					            maxFileSize: 50 * 1024 * 1024,
 | 
				
			||||||
            //server: store.state.user.apiUrl + '/api/wx_news/wxuploadimg',
 | 
					            //server: store.state.user.apiUrl + '/api/wx_news/wxuploadimg',
 | 
				
			||||||
            server:'/api/wx_news/wxuploadimg',
 | 
					            server:'/api/wx_news/wxuploadimg',
 | 
				
			||||||
            fieldName: 'file',
 | 
					            fieldName: 'file',
 | 
				
			||||||
 | 
				
			|||||||
@ -3,13 +3,13 @@
 | 
				
			|||||||
    <div class="form-step-container">
 | 
					    <div class="form-step-container">
 | 
				
			||||||
      <t-form
 | 
					      <t-form
 | 
				
			||||||
        ref="form"
 | 
					        ref="form"
 | 
				
			||||||
        :data="formData"
 | 
					        :data="ser"
 | 
				
			||||||
        :label-width="80"
 | 
					        :label-width="80"
 | 
				
			||||||
        @submit="onSubmit"
 | 
					        @submit="onSubmit"
 | 
				
			||||||
      >
 | 
					      >
 | 
				
			||||||
        <t-row>
 | 
					        <t-row>
 | 
				
			||||||
          <t-form-item name="nikename">
 | 
					          <t-form-item name="nikename">
 | 
				
			||||||
            <t-button @click="add">新增</t-button>
 | 
					            <t-button @click="add">添加新闻</t-button>
 | 
				
			||||||
          </t-form-item>
 | 
					          </t-form-item>
 | 
				
			||||||
          <t-form-item label="标题">
 | 
					          <t-form-item label="标题">
 | 
				
			||||||
            <t-input
 | 
					            <t-input
 | 
				
			||||||
@ -20,7 +20,7 @@
 | 
				
			|||||||
              style="width: 150px"
 | 
					              style="width: 150px"
 | 
				
			||||||
            />
 | 
					            />
 | 
				
			||||||
          </t-form-item>
 | 
					          </t-form-item>
 | 
				
			||||||
          <t-form-item label="所属类目">
 | 
					          <t-form-item label="所属类目" style="margin-left: 20px;">
 | 
				
			||||||
            <t-select  v-model="ser.category_id">
 | 
					            <t-select  v-model="ser.category_id">
 | 
				
			||||||
              <t-option :key="0" label="全部" value=""></t-option>
 | 
					              <t-option :key="0" label="全部" value=""></t-option>
 | 
				
			||||||
              <t-option v-for="(item,index) in gory_list" :key="index" :label="item.category_name" :value="item.id" />
 | 
					              <t-option v-for="(item,index) in gory_list" :key="index" :label="item.category_name" :value="item.id" />
 | 
				
			||||||
@ -52,6 +52,10 @@
 | 
				
			|||||||
            </t-popconfirm>
 | 
					            </t-popconfirm>
 | 
				
			||||||
          </t-space>
 | 
					          </t-space>
 | 
				
			||||||
        </template>
 | 
					        </template>
 | 
				
			||||||
 | 
					        <template #top="{ row }">
 | 
				
			||||||
 | 
					          <t-button theme="success" size="small" v-if="row.if_recommend==1" @click="topNews(row)">点击置顶</t-button>
 | 
				
			||||||
 | 
					          <t-button theme="warning" size="small" v-if="row.if_recommend==2" @click="topNewsDel(row)">取消置顶</t-button>
 | 
				
			||||||
 | 
					        </template>
 | 
				
			||||||
      </t-table>
 | 
					      </t-table>
 | 
				
			||||||
      <div style="margin-top: 30px">
 | 
					      <div style="margin-top: 30px">
 | 
				
			||||||
        <t-pagination
 | 
					        <t-pagination
 | 
				
			||||||
@ -79,6 +83,9 @@
 | 
				
			|||||||
        <t-form-item label="点击量" name="news_source">
 | 
					        <t-form-item label="点击量" name="news_source">
 | 
				
			||||||
          <t-input placeholder="请输入自定义点击量" v-model="addForm.number_of_views"/>
 | 
					          <t-input placeholder="请输入自定义点击量" v-model="addForm.number_of_views"/>
 | 
				
			||||||
        </t-form-item>
 | 
					        </t-form-item>
 | 
				
			||||||
 | 
					        <t-form-item label="微信文章链接" name="wx_url">
 | 
				
			||||||
 | 
					          <t-input placeholder="请输入微信文章链接" v-model="addForm.wx_url"/>
 | 
				
			||||||
 | 
					        </t-form-item>
 | 
				
			||||||
        <t-form-item label="新闻内容" name="news_content">
 | 
					        <t-form-item label="新闻内容" name="news_content">
 | 
				
			||||||
          <div style="border: 1px solid #ccc;z-index: 99">
 | 
					          <div style="border: 1px solid #ccc;z-index: 99">
 | 
				
			||||||
            <!-- 工具栏 -->
 | 
					            <!-- 工具栏 -->
 | 
				
			||||||
@ -143,6 +150,7 @@ export default {
 | 
				
			|||||||
        image_show:[],
 | 
					        image_show:[],
 | 
				
			||||||
        number_of_views:0,
 | 
					        number_of_views:0,
 | 
				
			||||||
        display_time:'',
 | 
					        display_time:'',
 | 
				
			||||||
 | 
					        wx_url:'',
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      addMode: false,
 | 
					      addMode: false,
 | 
				
			||||||
      isEdit: false,
 | 
					      isEdit: false,
 | 
				
			||||||
@ -155,6 +163,7 @@ export default {
 | 
				
			|||||||
        {colKey: 'number_of_views', title: '点击量', align: 'center'},
 | 
					        {colKey: 'number_of_views', title: '点击量', align: 'center'},
 | 
				
			||||||
        {colKey: 'article_source', title: '来源', align: 'center'},
 | 
					        {colKey: 'article_source', title: '来源', align: 'center'},
 | 
				
			||||||
        {colKey: 'display_time', title: '展示时间', align: 'center'},
 | 
					        {colKey: 'display_time', title: '展示时间', align: 'center'},
 | 
				
			||||||
 | 
					        // {colKey: 'top', title: '首页置顶', align: 'center'},
 | 
				
			||||||
        {colKey: 'select', title: '操作', width: 200, align: 'center'},
 | 
					        {colKey: 'select', title: '操作', width: 200, align: 'center'},
 | 
				
			||||||
      ],
 | 
					      ],
 | 
				
			||||||
      pagination: {
 | 
					      pagination: {
 | 
				
			||||||
@ -180,6 +189,7 @@ export default {
 | 
				
			|||||||
        autoFocus: true,
 | 
					        autoFocus: true,
 | 
				
			||||||
        MENU_CONF: {
 | 
					        MENU_CONF: {
 | 
				
			||||||
          uploadImage: {
 | 
					          uploadImage: {
 | 
				
			||||||
 | 
					            maxFileSize: 50 * 1024 * 1024,
 | 
				
			||||||
            server: store.state.user.apiUrl + '/api/common/upload',
 | 
					            server: store.state.user.apiUrl + '/api/common/upload',
 | 
				
			||||||
            fieldName: 'file',
 | 
					            fieldName: 'file',
 | 
				
			||||||
            meta:{
 | 
					            meta:{
 | 
				
			||||||
@ -192,6 +202,11 @@ export default {
 | 
				
			|||||||
              // 从 res 中找到 url alt href ,然后插入图片
 | 
					              // 从 res 中找到 url alt href ,然后插入图片
 | 
				
			||||||
              insertFn(res.data.fullurl, '', '')
 | 
					              insertFn(res.data.fullurl, '', '')
 | 
				
			||||||
            },
 | 
					            },
 | 
				
			||||||
 | 
					            onError:(file, err, res)=>{
 | 
				
			||||||
 | 
					              if(err.message.indexOf('exceeds maximum allowed size') !== -1){
 | 
				
			||||||
 | 
					                this.$message.error('限制为50M,请调整好再上传!',2000);
 | 
				
			||||||
 | 
					              }
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
          },
 | 
					          },
 | 
				
			||||||
          uploadVideo: {
 | 
					          uploadVideo: {
 | 
				
			||||||
            server: store.state.user.apiUrl + '/api/common/upload',
 | 
					            server: store.state.user.apiUrl + '/api/common/upload',
 | 
				
			||||||
@ -266,6 +281,7 @@ export default {
 | 
				
			|||||||
        image_show:[],
 | 
					        image_show:[],
 | 
				
			||||||
        number_of_views:0,
 | 
					        number_of_views:0,
 | 
				
			||||||
        display_time:'',
 | 
					        display_time:'',
 | 
				
			||||||
 | 
					        wx_url:'',
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    edit(d) {
 | 
					    edit(d) {
 | 
				
			||||||
@ -279,6 +295,7 @@ export default {
 | 
				
			|||||||
      this.addForm.content = d.content;
 | 
					      this.addForm.content = d.content;
 | 
				
			||||||
      this.addForm.number_of_views = d.number_of_views;
 | 
					      this.addForm.number_of_views = d.number_of_views;
 | 
				
			||||||
      this.addForm.display_time=d.display_time;
 | 
					      this.addForm.display_time=d.display_time;
 | 
				
			||||||
 | 
					      this.addForm.wx_url=d.wx_url;
 | 
				
			||||||
      this.addMode = true;
 | 
					      this.addMode = true;
 | 
				
			||||||
      this.isEdit = true;
 | 
					      this.isEdit = true;
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
@ -294,6 +311,9 @@ export default {
 | 
				
			|||||||
          if (res.code == 1) {
 | 
					          if (res.code == 1) {
 | 
				
			||||||
            this.list = res.data.ret;
 | 
					            this.list = res.data.ret;
 | 
				
			||||||
            this.pagination.total = res.data.count;
 | 
					            this.pagination.total = res.data.count;
 | 
				
			||||||
 | 
					          }else{
 | 
				
			||||||
 | 
					            this.list = [];
 | 
				
			||||||
 | 
					            this.pagination.total =0;
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        })
 | 
					        })
 | 
				
			||||||
@ -328,10 +348,10 @@ export default {
 | 
				
			|||||||
        this.$message.error('来源不能为空');
 | 
					        this.$message.error('来源不能为空');
 | 
				
			||||||
        return;
 | 
					        return;
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
      if (this.addForm.content == '') {
 | 
					      // if (this.addForm.content == '') {
 | 
				
			||||||
        this.$message.error('详情不能为空');
 | 
					      //   this.$message.error('详情不能为空');
 | 
				
			||||||
        return;
 | 
					      //   return;
 | 
				
			||||||
      }
 | 
					      // }
 | 
				
			||||||
      if (this.addForm.image=='') {
 | 
					      if (this.addForm.image=='') {
 | 
				
			||||||
        this.$message.error('新闻主图不能为空');
 | 
					        this.$message.error('新闻主图不能为空');
 | 
				
			||||||
        return;
 | 
					        return;
 | 
				
			||||||
@ -356,6 +376,40 @@ export default {
 | 
				
			|||||||
          console.log(e);
 | 
					          console.log(e);
 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
					    topNews(row){
 | 
				
			||||||
 | 
					      console.log(row);
 | 
				
			||||||
 | 
					      this.$request
 | 
				
			||||||
 | 
					        .post('/common/listtopping', {id: row.id,type:'pcactivity'})
 | 
				
			||||||
 | 
					        .then((res) => {
 | 
				
			||||||
 | 
					          if (res.code == 1) {
 | 
				
			||||||
 | 
					            this.$message.success('置顶成功');
 | 
				
			||||||
 | 
					            this.getList();
 | 
				
			||||||
 | 
					          } else {
 | 
				
			||||||
 | 
					            this.$message.error(res.msg);
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					          console.log(res);
 | 
				
			||||||
 | 
					        })
 | 
				
			||||||
 | 
					        .catch((e) => {
 | 
				
			||||||
 | 
					          console.log(e);
 | 
				
			||||||
 | 
					        });
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    topNewsDel(row){
 | 
				
			||||||
 | 
					      console.log(row);
 | 
				
			||||||
 | 
					      this.$request
 | 
				
			||||||
 | 
					        .post('/common/listcancel', {id: row.id,type:'pcactivity'})
 | 
				
			||||||
 | 
					        .then((res) => {
 | 
				
			||||||
 | 
					          if (res.code == 1) {
 | 
				
			||||||
 | 
					            this.$message.success('取消置顶成功');
 | 
				
			||||||
 | 
					            this.getList();
 | 
				
			||||||
 | 
					          } else {
 | 
				
			||||||
 | 
					            this.$message.error(res.msg);
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					          console.log(res);
 | 
				
			||||||
 | 
					        })
 | 
				
			||||||
 | 
					        .catch((e) => {
 | 
				
			||||||
 | 
					          console.log(e);
 | 
				
			||||||
 | 
					        });
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
    onCloseMy() {
 | 
					    onCloseMy() {
 | 
				
			||||||
      this.addMode = false;
 | 
					      this.addMode = false;
 | 
				
			||||||
      this.infoMode = false;
 | 
					      this.infoMode = false;
 | 
				
			||||||
 | 
				
			|||||||
@ -16,9 +16,9 @@
 | 
				
			|||||||
        <template #select="{ row }">
 | 
					        <template #select="{ row }">
 | 
				
			||||||
          <t-space size="24px" v-if="row.id!=0">
 | 
					          <t-space size="24px" v-if="row.id!=0">
 | 
				
			||||||
            <t-button theme="warning" @click="edit(row)">编辑</t-button>
 | 
					            <t-button theme="warning" @click="edit(row)">编辑</t-button>
 | 
				
			||||||
            <t-popconfirm  content="确认删除吗,类目下的新闻将不再显示!" @confirm="del(row)">
 | 
					<!--            <t-popconfirm  content="确认删除吗,类目下的新闻将不再显示!" @confirm="del(row)">-->
 | 
				
			||||||
              <t-button theme="danger" >删除</t-button>
 | 
					<!--              <t-button theme="danger" >删除</t-button>-->
 | 
				
			||||||
            </t-popconfirm>
 | 
					<!--            </t-popconfirm>-->
 | 
				
			||||||
          </t-space>
 | 
					          </t-space>
 | 
				
			||||||
        </template>
 | 
					        </template>
 | 
				
			||||||
      </t-table>
 | 
					      </t-table>
 | 
				
			||||||
@ -54,23 +54,23 @@ export default {
 | 
				
			|||||||
    this.getList();
 | 
					    this.getList();
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  methods: {
 | 
					  methods: {
 | 
				
			||||||
    del(d){
 | 
					    // del(d){
 | 
				
			||||||
      console.log(d);
 | 
					    //   console.log(d);
 | 
				
			||||||
      this.$request
 | 
					    //   this.$request
 | 
				
			||||||
        .post('/pc_news/gorydeletetime',{id:d.id})
 | 
					    //     .post('/pc_news/gorydeletetime',{id:d.id})
 | 
				
			||||||
        .then((res) => {
 | 
					    //     .then((res) => {
 | 
				
			||||||
          if(res.code==1){
 | 
					    //       if(res.code==1){
 | 
				
			||||||
            this.$message.success('删除成功!');
 | 
					    //         this.$message.success('删除成功!');
 | 
				
			||||||
            this.getList();
 | 
					    //         this.getList();
 | 
				
			||||||
          }else {
 | 
					    //       }else {
 | 
				
			||||||
            this.$message.error(res.msg);
 | 
					    //         this.$message.error(res.msg);
 | 
				
			||||||
          }
 | 
					    //       }
 | 
				
			||||||
          console.log(res);
 | 
					    //       console.log(res);
 | 
				
			||||||
        })
 | 
					    //     })
 | 
				
			||||||
        .catch((e) => {
 | 
					    //     .catch((e) => {
 | 
				
			||||||
          console.log(e);
 | 
					    //       console.log(e);
 | 
				
			||||||
        });
 | 
					    //     });
 | 
				
			||||||
    },
 | 
					    // },
 | 
				
			||||||
    add(){
 | 
					    add(){
 | 
				
			||||||
      this.category_name= '';
 | 
					      this.category_name= '';
 | 
				
			||||||
      this.addMode=true;
 | 
					      this.addMode=true;
 | 
				
			||||||
 | 
				
			|||||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@ -60,9 +60,9 @@
 | 
				
			|||||||
                <div class="t-upload" @click="openCai" style="margin-top: 20px;">
 | 
					                <div class="t-upload" @click="openCai" style="margin-top: 20px;">
 | 
				
			||||||
                  <div style="cursor: pointer;text-align: center;width: 200px;height: 200px;line-height: 200px;border: 1px dashed #999999;">
 | 
					                  <div style="cursor: pointer;text-align: center;width: 200px;height: 200px;line-height: 200px;border: 1px dashed #999999;">
 | 
				
			||||||
                    <img :src="$store.state.user.apiUrl+formData.photo_image" style="width: 200px;display: block"
 | 
					                    <img :src="$store.state.user.apiUrl+formData.photo_image" style="width: 200px;display: block"
 | 
				
			||||||
                         v-if="formData.photo_image!=''">
 | 
					                         v-if="formData.photo_image!=''&&formData.photo_image!=null">
 | 
				
			||||||
                    <svg style="    font-size: 35px;" fill="none" viewBox="0 0 24 24" width="100px" height="100px" class="t-icon t-icon-add"
 | 
					                    <svg style="    font-size: 35px;" fill="none" viewBox="0 0 24 24" width="100px" height="100px" class="t-icon t-icon-add"
 | 
				
			||||||
                         v-if="formData.photo_image==''">
 | 
					                         v-if="formData.photo_image==''||formData.photo_image==null">
 | 
				
			||||||
                      <path fill="currentColor" d="M13 4v7h7v2h-7v7h-2v-7H4v-2h7V4h2z"></path>
 | 
					                      <path fill="currentColor" d="M13 4v7h7v2h-7v7h-2v-7H4v-2h7V4h2z"></path>
 | 
				
			||||||
                    </svg>
 | 
					                    </svg>
 | 
				
			||||||
                  </div>
 | 
					                  </div>
 | 
				
			||||||
@ -81,6 +81,11 @@
 | 
				
			|||||||
                        <t-option :key="1" label="男" :value="1"></t-option>
 | 
					                        <t-option :key="1" label="男" :value="1"></t-option>
 | 
				
			||||||
                      </t-select>
 | 
					                      </t-select>
 | 
				
			||||||
                    </t-form-item>
 | 
					                    </t-form-item>
 | 
				
			||||||
 | 
					                    <t-form-item label="协会职务">
 | 
				
			||||||
 | 
					                      <t-select size="large" v-model="formData.position_id" placeholder="请选择协会职务" :style="{ width: '200px' }">
 | 
				
			||||||
 | 
					                        <t-option v-for="item in plan_list" :value="item.id" :label="item.position_name" :key="item.id"></t-option>
 | 
				
			||||||
 | 
					                      </t-select>
 | 
				
			||||||
 | 
					                    </t-form-item>
 | 
				
			||||||
                    <t-form-item label="出生年月日">
 | 
					                    <t-form-item label="出生年月日">
 | 
				
			||||||
                      <t-date-picker size="large" :style="{ width: '200px' }" v-model="formData.birth_time"/>
 | 
					                      <t-date-picker size="large" :style="{ width: '200px' }" v-model="formData.birth_time"/>
 | 
				
			||||||
                    </t-form-item>
 | 
					                    </t-form-item>
 | 
				
			||||||
@ -167,11 +172,11 @@
 | 
				
			|||||||
              <div style="display: flex;justify-items: center;padding: 30px 0px">
 | 
					              <div style="display: flex;justify-items: center;padding: 30px 0px">
 | 
				
			||||||
                <div style="text-align: center">
 | 
					                <div style="text-align: center">
 | 
				
			||||||
                  <div class="sfz">
 | 
					                  <div class="sfz">
 | 
				
			||||||
                  <span v-if="formData.cardz_image==''"><svg style=" font-size: 30px;" fill="none" viewBox="0 0 24 24" width="100px" height="100px" class="t-icon t-icon-add"
 | 
					                  <span v-if="formData.cardz_image==''||formData.cardz_image==null"><svg style=" font-size: 30px;" fill="none" viewBox="0 0 24 24" width="100px" height="100px" class="t-icon t-icon-add"
 | 
				
			||||||
                                                             v-if="formData.cardz_image==''">
 | 
					                                                             >
 | 
				
			||||||
                    <path fill="currentColor" d="M13 4v7h7v2h-7v7h-2v-7H4v-2h7V4h2z"></path>
 | 
					                    <path fill="currentColor" d="M13 4v7h7v2h-7v7h-2v-7H4v-2h7V4h2z"></path>
 | 
				
			||||||
                  </svg></span>
 | 
					                  </svg></span>
 | 
				
			||||||
                    <img v-if="formData.cardz_image!=''" :src="$store.state.user.apiUrl+formData.cardz_image"
 | 
					                    <img v-if="formData.cardz_image!=''&&formData.cardz_image!=null" :src="$store.state.user.apiUrl+formData.cardz_image"
 | 
				
			||||||
                         style="width: 100%;max-height: 200px;">
 | 
					                         style="width: 100%;max-height: 200px;">
 | 
				
			||||||
                  </div>
 | 
					                  </div>
 | 
				
			||||||
                  <div style="margin: 10px 0px;">请上传身份证正面照片</div>
 | 
					                  <div style="margin: 10px 0px;">请上传身份证正面照片</div>
 | 
				
			||||||
@ -188,11 +193,11 @@
 | 
				
			|||||||
                </div>
 | 
					                </div>
 | 
				
			||||||
                <div style="margin-left: 100px;text-align: center">
 | 
					                <div style="margin-left: 100px;text-align: center">
 | 
				
			||||||
                  <div class="sfz">
 | 
					                  <div class="sfz">
 | 
				
			||||||
                  <span v-if="formData.cardf_image==''"><svg style=" font-size: 30px;" fill="none" viewBox="0 0 24 24" width="100px" height="100px" class="t-icon t-icon-add"
 | 
					                  <span v-if="formData.cardf_image==''||formData.cardf_image==null"><svg style=" font-size: 30px;" fill="none" viewBox="0 0 24 24" width="100px" height="100px" class="t-icon t-icon-add"
 | 
				
			||||||
                                                             v-if="formData.cardf_image==''">
 | 
					                                                             >
 | 
				
			||||||
                    <path fill="currentColor" d="M13 4v7h7v2h-7v7h-2v-7H4v-2h7V4h2z"></path>
 | 
					                    <path fill="currentColor" d="M13 4v7h7v2h-7v7h-2v-7H4v-2h7V4h2z"></path>
 | 
				
			||||||
                  </svg></span>
 | 
					                  </svg></span>
 | 
				
			||||||
                    <img v-if="formData.cardf_image!=''" :src="$store.state.user.apiUrl+formData.cardf_image"
 | 
					                    <img v-if="formData.cardf_image!=''&&formData.cardf_image!=null" :src="$store.state.user.apiUrl+formData.cardf_image"
 | 
				
			||||||
                         style="width: 100%;max-height: 200px;">
 | 
					                         style="width: 100%;max-height: 200px;">
 | 
				
			||||||
                  </div>
 | 
					                  </div>
 | 
				
			||||||
                  <div style="margin: 10px 0px;">请上传身份证背面照片</div>
 | 
					                  <div style="margin: 10px 0px;">请上传身份证背面照片</div>
 | 
				
			||||||
@ -445,11 +450,11 @@
 | 
				
			|||||||
              <div style="display: flex;justify-items: center;padding: 30px 0px">
 | 
					              <div style="display: flex;justify-items: center;padding: 30px 0px">
 | 
				
			||||||
                <div style="text-align: center">
 | 
					                <div style="text-align: center">
 | 
				
			||||||
                  <div class="sfz">
 | 
					                  <div class="sfz">
 | 
				
			||||||
                  <span v-if="formData.business_license_image==''"><svg style=" font-size: 30px;" fill="none" viewBox="0 0 24 24" width="100px" height="100px" class="t-icon t-icon-add"
 | 
					                  <span v-if="formData.business_license_image==''||formData.business_license_image==null"><svg style=" font-size: 30px;" fill="none" viewBox="0 0 24 24" width="100px" height="100px" class="t-icon t-icon-add"
 | 
				
			||||||
                                                                        v-if="formData.business_license_image==''">
 | 
					                                                                       >
 | 
				
			||||||
                    <path fill="currentColor" d="M13 4v7h7v2h-7v7h-2v-7H4v-2h7V4h2z"></path>
 | 
					                    <path fill="currentColor" d="M13 4v7h7v2h-7v7h-2v-7H4v-2h7V4h2z"></path>
 | 
				
			||||||
                  </svg></span>
 | 
					                  </svg></span>
 | 
				
			||||||
                    <img v-if="formData.business_license_image!=''"
 | 
					                    <img v-if="formData.business_license_image!=''&&formData.business_license_image!=null"
 | 
				
			||||||
                         :src="$store.state.user.apiUrl+formData.business_license_image"
 | 
					                         :src="$store.state.user.apiUrl+formData.business_license_image"
 | 
				
			||||||
                         style="width: 100%;max-height: 200px;">
 | 
					                         style="width: 100%;max-height: 200px;">
 | 
				
			||||||
                  </div>
 | 
					                  </div>
 | 
				
			||||||
@ -467,11 +472,11 @@
 | 
				
			|||||||
                </div>
 | 
					                </div>
 | 
				
			||||||
                <div style="margin-left: 100px;text-align: center">
 | 
					                <div style="margin-left: 100px;text-align: center">
 | 
				
			||||||
                  <div class="sfz">
 | 
					                  <div class="sfz">
 | 
				
			||||||
                  <span v-if="formData.company_image==''"><svg style=" font-size: 30px;" fill="none" viewBox="0 0 24 24" width="100px" height="100px" class="t-icon t-icon-add"
 | 
					                  <span v-if="formData.company_image==''||formData.company_image==null"><svg style=" font-size: 30px;" fill="none" viewBox="0 0 24 24" width="100px" height="100px" class="t-icon t-icon-add"
 | 
				
			||||||
                                                               v-if="formData.company_image==''">
 | 
					                                                               >
 | 
				
			||||||
                    <path fill="currentColor" d="M13 4v7h7v2h-7v7h-2v-7H4v-2h7V4h2z"></path>
 | 
					                    <path fill="currentColor" d="M13 4v7h7v2h-7v7h-2v-7H4v-2h7V4h2z"></path>
 | 
				
			||||||
                  </svg></span>
 | 
					                  </svg></span>
 | 
				
			||||||
                    <img v-if="formData.company_image!=''" :src="$store.state.user.apiUrl+formData.company_image"
 | 
					                    <img v-if="formData.company_image!=''&&formData.company_image!=null" :src="$store.state.user.apiUrl+formData.company_image"
 | 
				
			||||||
                         style="width: 200px;max-height: 200px;">
 | 
					                         style="width: 200px;max-height: 200px;">
 | 
				
			||||||
                  </div>
 | 
					                  </div>
 | 
				
			||||||
                  <div style="margin: 10px 0px">请上传公司LOGO</div>
 | 
					                  <div style="margin: 10px 0px">请上传公司LOGO</div>
 | 
				
			||||||
@ -665,13 +670,13 @@
 | 
				
			|||||||
                    <div>
 | 
					                    <div>
 | 
				
			||||||
                      <div style="text-align: center">
 | 
					                      <div style="text-align: center">
 | 
				
			||||||
                        <div class="sfz">
 | 
					                        <div class="sfz">
 | 
				
			||||||
                  <span v-if="formData.documents_file==''"><svg style=" font-size: 30px;" fill="none"
 | 
					                  <span v-if="formData.documents_file==''||formData.documents_file==null"><svg style=" font-size: 30px;" fill="none"
 | 
				
			||||||
                                                                viewBox="0 0 24 24" width="100px" height="100px"
 | 
					                                                                viewBox="0 0 24 24" width="100px" height="100px"
 | 
				
			||||||
                                                                class="t-icon t-icon-add"
 | 
					                                                                class="t-icon t-icon-add"
 | 
				
			||||||
                                                                v-if="formData.documents_file==''">
 | 
					                                                                >
 | 
				
			||||||
                    <path fill="currentColor" d="M13 4v7h7v2h-7v7h-2v-7H4v-2h7V4h2z"></path>
 | 
					                    <path fill="currentColor" d="M13 4v7h7v2h-7v7h-2v-7H4v-2h7V4h2z"></path>
 | 
				
			||||||
                  </svg></span>
 | 
					                  </svg></span>
 | 
				
			||||||
                          <img v-if="formData.documents_file!=''"
 | 
					                          <img v-if="formData.documents_file!=''&&formData.documents_file!=null"
 | 
				
			||||||
                               :src="$store.state.user.apiUrl+formData.documents_file"
 | 
					                               :src="$store.state.user.apiUrl+formData.documents_file"
 | 
				
			||||||
                               style="width: 100%;max-height: 200px;">
 | 
					                               style="width: 100%;max-height: 200px;">
 | 
				
			||||||
                        </div>
 | 
					                        </div>
 | 
				
			||||||
@ -1254,6 +1259,7 @@ export default {
 | 
				
			|||||||
          this.formData.previous_donation = res.data.previous_donation;
 | 
					          this.formData.previous_donation = res.data.previous_donation;
 | 
				
			||||||
          this.formData.qitaqiyerenzhiqingkuang = res.data.qitaqiyerenzhiqingkuang;
 | 
					          this.formData.qitaqiyerenzhiqingkuang = res.data.qitaqiyerenzhiqingkuang;
 | 
				
			||||||
          this.formData.enterprise_Introduction = res.data.enterprise_Introduction;
 | 
					          this.formData.enterprise_Introduction = res.data.enterprise_Introduction;
 | 
				
			||||||
 | 
					          this.formData.enterprise_lvxingzeren=res.data.enterprise_lvxingzeren;
 | 
				
			||||||
          this.formData.introdiction = res.data.introdiction;
 | 
					          this.formData.introdiction = res.data.introdiction;
 | 
				
			||||||
          this.formData.enterprise_honor = res.data.enterprise_honor;
 | 
					          this.formData.enterprise_honor = res.data.enterprise_honor;
 | 
				
			||||||
          this.formData.if_organization = res.data.if_organization+'';
 | 
					          this.formData.if_organization = res.data.if_organization+'';
 | 
				
			||||||
@ -1290,7 +1296,7 @@ export default {
 | 
				
			|||||||
          this.formData.zip_code=res.data.zip_code;
 | 
					          this.formData.zip_code=res.data.zip_code;
 | 
				
			||||||
          this.formData.registered_capital=res.data.registered_capital;
 | 
					          this.formData.registered_capital=res.data.registered_capital;
 | 
				
			||||||
          this.tuan_list = JSON.parse(res.data.tuanweifuzerenxinxi);
 | 
					          this.tuan_list = JSON.parse(res.data.tuanweifuzerenxinxi);
 | 
				
			||||||
          this.formData.enterprise_lvxingzeren=res.data.enterprise_lvxingzeren;
 | 
					
 | 
				
			||||||
        })
 | 
					        })
 | 
				
			||||||
        .catch((e) => {
 | 
					        .catch((e) => {
 | 
				
			||||||
          console.log(e);
 | 
					          console.log(e);
 | 
				
			||||||
 | 
				
			|||||||
@ -88,8 +88,11 @@
 | 
				
			|||||||
            <t-button theme="default" v-if="row.if_xianshi==0||row.if_xianshi==3" @click="openUrl(row.member_id)">审核
 | 
					            <t-button theme="default" v-if="row.if_xianshi==0||row.if_xianshi==3" @click="openUrl(row.member_id)">审核
 | 
				
			||||||
            </t-button>
 | 
					            </t-button>
 | 
				
			||||||
            <t-button @click="()=>$router.push('/user/user_edit?id='+row.member_id)">编辑</t-button>
 | 
					            <t-button @click="()=>$router.push('/user/user_edit?id='+row.member_id)">编辑</t-button>
 | 
				
			||||||
 | 
					            <t-popconfirm v-if="row.if_xianshi==1" content="确认要改为待审核状态吗?" @confirm="hidden(row)">
 | 
				
			||||||
 | 
					              <t-button theme="warning">隐藏</t-button>
 | 
				
			||||||
 | 
					            </t-popconfirm>
 | 
				
			||||||
            <t-popconfirm content="确认要删除吗?" @confirm="del(row)">
 | 
					            <t-popconfirm content="确认要删除吗?" @confirm="del(row)">
 | 
				
			||||||
              <t-button theme="warning">删除</t-button>
 | 
					              <t-button theme="danger">删除</t-button>
 | 
				
			||||||
            </t-popconfirm>
 | 
					            </t-popconfirm>
 | 
				
			||||||
          </t-space>
 | 
					          </t-space>
 | 
				
			||||||
        </template>
 | 
					        </template>
 | 
				
			||||||
@ -182,6 +185,21 @@ export default {
 | 
				
			|||||||
      var token = store.state.user.token;
 | 
					      var token = store.state.user.token;
 | 
				
			||||||
      window.location.href = "https://hnyea.0rui.cn/api/excel_controller/memberexport?token=" + token + "&ids=" + ids+"&if_xianshi="+this.tabIndex;
 | 
					      window.location.href = "https://hnyea.0rui.cn/api/excel_controller/memberexport?token=" + token + "&ids=" + ids+"&if_xianshi="+this.tabIndex;
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
					    hidden(row){
 | 
				
			||||||
 | 
					      console.log(row);
 | 
				
			||||||
 | 
					      this.$request
 | 
				
			||||||
 | 
					        .post("/member/examinelist",{member_id:row.member_id,if_xianshi:0})
 | 
				
			||||||
 | 
					        .then((res) => {
 | 
				
			||||||
 | 
					          console.log(res);
 | 
				
			||||||
 | 
					          this.page = 1;
 | 
				
			||||||
 | 
					          this.total = 0;
 | 
				
			||||||
 | 
					          this.list = [];
 | 
				
			||||||
 | 
					          this.getList();
 | 
				
			||||||
 | 
					        })
 | 
				
			||||||
 | 
					        .catch((e) => {
 | 
				
			||||||
 | 
					          console.log(e);
 | 
				
			||||||
 | 
					        });
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
    getRegion() {
 | 
					    getRegion() {
 | 
				
			||||||
      this.$request
 | 
					      this.$request
 | 
				
			||||||
        .post("/region")
 | 
					        .post("/region")
 | 
				
			||||||
 | 
				
			|||||||
@ -52,7 +52,8 @@
 | 
				
			|||||||
                                  :closeOnEscKeydown="false">
 | 
					                                  :closeOnEscKeydown="false">
 | 
				
			||||||
                    <template #trigger="{ open }">
 | 
					                    <template #trigger="{ open }">
 | 
				
			||||||
                      <div style="cursor: pointer" @click="open">
 | 
					                      <div style="cursor: pointer" @click="open">
 | 
				
			||||||
                        <img :src="$store.state.user.apiUrl+info.photo_image" style="width: 200px;height: 200px;">
 | 
					                        <img v-if="info.photo_image!=''&&info.photo_image!=null"  :src="$store.state.user.apiUrl+info.photo_image" style="width: 200px;height: 200px;">
 | 
				
			||||||
 | 
					                        <span v-if="info.photo_image==''||info.photo_image==null">未上传</span>
 | 
				
			||||||
                      </div>
 | 
					                      </div>
 | 
				
			||||||
                    </template>
 | 
					                    </template>
 | 
				
			||||||
                  </t-image-viewer>
 | 
					                  </t-image-viewer>
 | 
				
			||||||
@ -61,6 +62,8 @@
 | 
				
			|||||||
                <td>{{ info.nikename }}</td>
 | 
					                <td>{{ info.nikename }}</td>
 | 
				
			||||||
                <td>性别</td>
 | 
					                <td>性别</td>
 | 
				
			||||||
                <td>{{ info.gender == 0 ? '女' : '男' }}</td>
 | 
					                <td>{{ info.gender == 0 ? '女' : '男' }}</td>
 | 
				
			||||||
 | 
					                <td>协会职务</td>
 | 
				
			||||||
 | 
					                <td>{{ info.position_name}}</td>
 | 
				
			||||||
                <td>出生年月日</td>
 | 
					                <td>出生年月日</td>
 | 
				
			||||||
                <td>{{ info.birth_time }}</td>
 | 
					                <td>{{ info.birth_time }}</td>
 | 
				
			||||||
                <td>民族</td>
 | 
					                <td>民族</td>
 | 
				
			||||||
@ -75,34 +78,33 @@
 | 
				
			|||||||
                <td>{{ info.work_unit }}</td>
 | 
					                <td>{{ info.work_unit }}</td>
 | 
				
			||||||
                <td>单位职务</td>
 | 
					                <td>单位职务</td>
 | 
				
			||||||
                <td>{{ info.unit_position }}</td>
 | 
					                <td>{{ info.unit_position }}</td>
 | 
				
			||||||
              </tr>
 | 
					 | 
				
			||||||
              <tr>
 | 
					 | 
				
			||||||
                <td>通讯地址</td>
 | 
					                <td>通讯地址</td>
 | 
				
			||||||
                <td>{{ info.mail_address }}</td>
 | 
					                <td>{{ info.mail_address }}</td>
 | 
				
			||||||
 | 
					              </tr>
 | 
				
			||||||
 | 
					              <tr>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                <td>籍贯</td>
 | 
					                <td>籍贯</td>
 | 
				
			||||||
                <td>{{ info.jiguan }}</td>
 | 
					                <td>{{ info.jiguan }}</td>
 | 
				
			||||||
                <td>毕业院校</td>
 | 
					                <td>毕业院校</td>
 | 
				
			||||||
                <td>{{ info.institution }}</td>
 | 
					                <td>{{ info.institution }}</td>
 | 
				
			||||||
                <td>学历</td>
 | 
					                <td>学历</td>
 | 
				
			||||||
                <td>{{ info.education }}</td>
 | 
					                <td>{{ info.education }}</td>
 | 
				
			||||||
              </tr>
 | 
					 | 
				
			||||||
              <tr>
 | 
					 | 
				
			||||||
                <td>学位</td>
 | 
					                <td>学位</td>
 | 
				
			||||||
                <td>{{ info.academic_degree }}</td>
 | 
					                <td>{{ info.academic_degree }}</td>
 | 
				
			||||||
                <td>邮编</td>
 | 
					                <td>邮编</td>
 | 
				
			||||||
                <td>{{ info.zip_code }}</td>
 | 
					                <td>{{ info.zip_code }}</td>
 | 
				
			||||||
 | 
					              </tr>
 | 
				
			||||||
 | 
					              <tr>
 | 
				
			||||||
                <td>手机号</td>
 | 
					                <td>手机号</td>
 | 
				
			||||||
                <td>{{ info.phone }}</td>
 | 
					                <td>{{ info.phone }}</td>
 | 
				
			||||||
                <td>邮箱</td>
 | 
					                <td>邮箱</td>
 | 
				
			||||||
                <td>{{ info.mailbox }}</td>
 | 
					                <td>{{ info.mailbox }}</td>
 | 
				
			||||||
              </tr>
 | 
					 | 
				
			||||||
              <tr>
 | 
					 | 
				
			||||||
                <td>微信</td>
 | 
					                <td>微信</td>
 | 
				
			||||||
                <td>{{ info.wx_number }}</td>
 | 
					                <td>{{ info.wx_number }}</td>
 | 
				
			||||||
                <td>固定电话</td>
 | 
					                <td>固定电话</td>
 | 
				
			||||||
                <td>{{ info.fixed_telephone }}</td>
 | 
					                <td>{{ info.fixed_telephone }}</td>
 | 
				
			||||||
                <td>所在区域</td>
 | 
					                <td>所在区域</td>
 | 
				
			||||||
                <td colspan="3">{{ info.region_name }}</td>
 | 
					                <td>{{ info.region_name }}</td>
 | 
				
			||||||
              </tr>
 | 
					              </tr>
 | 
				
			||||||
              <tr align="center">
 | 
					              <tr align="center">
 | 
				
			||||||
                <td>身份证正面照</td>
 | 
					                <td>身份证正面照</td>
 | 
				
			||||||
@ -111,7 +113,8 @@
 | 
				
			|||||||
                                  :closeOnEscKeydown="false">
 | 
					                                  :closeOnEscKeydown="false">
 | 
				
			||||||
                    <template #trigger="{ open }">
 | 
					                    <template #trigger="{ open }">
 | 
				
			||||||
                      <div style="cursor: pointer" @click="open">
 | 
					                      <div style="cursor: pointer" @click="open">
 | 
				
			||||||
                        <img :src="$store.state.user.apiUrl+info.cardz_image" style="height: 150px;">
 | 
					                        <img v-if="info.cardz_image!=''&&info.cardz_image!=null" :src="$store.state.user.apiUrl+info.cardz_image" style="height: 150px;">
 | 
				
			||||||
 | 
					                        <span v-if="info.cardz_image==''||info.cardz_image==null">未上传</span>
 | 
				
			||||||
                      </div>
 | 
					                      </div>
 | 
				
			||||||
                    </template>
 | 
					                    </template>
 | 
				
			||||||
                  </t-image-viewer>
 | 
					                  </t-image-viewer>
 | 
				
			||||||
@ -122,38 +125,39 @@
 | 
				
			|||||||
                                  :closeOnEscKeydown="false">
 | 
					                                  :closeOnEscKeydown="false">
 | 
				
			||||||
                    <template #trigger="{ open }">
 | 
					                    <template #trigger="{ open }">
 | 
				
			||||||
                      <div style="cursor: pointer" @click="open">
 | 
					                      <div style="cursor: pointer" @click="open">
 | 
				
			||||||
                        <img :src="$store.state.user.apiUrl+info.cardf_image" style="height: 150px;">
 | 
					                        <img v-if="info.cardf_image!=''&&info.cardf_image!=null" :src="$store.state.user.apiUrl+info.cardf_image" style="height: 150px;">
 | 
				
			||||||
 | 
					                        <span v-if="info.cardf_image==''||info.cardf_image==null">未上传</span>
 | 
				
			||||||
                      </div>
 | 
					                      </div>
 | 
				
			||||||
                    </template>
 | 
					                    </template>
 | 
				
			||||||
                  </t-image-viewer>
 | 
					                  </t-image-viewer>
 | 
				
			||||||
                </td>
 | 
					                </td>
 | 
				
			||||||
              </tr>
 | 
					              </tr>
 | 
				
			||||||
              <tr align="center">
 | 
					              <tr align="center">
 | 
				
			||||||
                <td colspan="5">
 | 
					                <td colspan="6">
 | 
				
			||||||
                  <div style="font-size: 18px;font-weight: 600;">个人简介</div>
 | 
					                  <div style="font-size: 18px;font-weight: 600;">个人简介</div>
 | 
				
			||||||
                </td>
 | 
					                </td>
 | 
				
			||||||
                <td colspan="5">
 | 
					                <td colspan="6">
 | 
				
			||||||
                  <div style="font-size: 18px;font-weight: 600">主要成就以及获奖情况</div>
 | 
					                  <div style="font-size: 18px;font-weight: 600">主要成就以及获奖情况</div>
 | 
				
			||||||
                </td>
 | 
					                </td>
 | 
				
			||||||
              </tr>
 | 
					              </tr>
 | 
				
			||||||
              <tr >
 | 
					              <tr >
 | 
				
			||||||
                <td colspan="5">
 | 
					                <td colspan="6">
 | 
				
			||||||
                  <div style="text-align: left" v-html="info.introduction"></div>
 | 
					                  <div style="text-align: left" v-html="info.introduction"></div>
 | 
				
			||||||
                </td>
 | 
					                </td>
 | 
				
			||||||
                <td colspan="5">
 | 
					                <td colspan="6">
 | 
				
			||||||
                  <div style="text-align: left" v-html="info.achievement_award"></div>
 | 
					                  <div style="text-align: left" v-html="info.achievement_award"></div>
 | 
				
			||||||
                </td>
 | 
					                </td>
 | 
				
			||||||
              </tr>
 | 
					              </tr>
 | 
				
			||||||
              <tr align="center">
 | 
					              <tr align="center">
 | 
				
			||||||
                <td colspan="5">
 | 
					                <td colspan="6">
 | 
				
			||||||
                  <div style="font-size: 18px;font-weight: 600">学习工作经历</div>
 | 
					                  <div style="font-size: 18px;font-weight: 600">学习工作经历</div>
 | 
				
			||||||
                </td>
 | 
					                </td>
 | 
				
			||||||
                <td colspan="5">
 | 
					                <td colspan="6">
 | 
				
			||||||
                  <div style="font-size: 18px;font-weight: 600">社会职务资料</div>
 | 
					                  <div style="font-size: 18px;font-weight: 600">社会职务资料</div>
 | 
				
			||||||
                </td>
 | 
					                </td>
 | 
				
			||||||
              </tr>
 | 
					              </tr>
 | 
				
			||||||
              <tr align="center">
 | 
					              <tr align="center">
 | 
				
			||||||
                <td colspan="5">
 | 
					                <td colspan="6">
 | 
				
			||||||
                  <table style="width: 100%; text-align: center; border-collapse: collapse;">
 | 
					                  <table style="width: 100%; text-align: center; border-collapse: collapse;">
 | 
				
			||||||
                    <thead>
 | 
					                    <thead>
 | 
				
			||||||
                    <tr>
 | 
					                    <tr>
 | 
				
			||||||
@ -171,17 +175,17 @@
 | 
				
			|||||||
                    </tbody>
 | 
					                    </tbody>
 | 
				
			||||||
                  </table>
 | 
					                  </table>
 | 
				
			||||||
                </td>
 | 
					                </td>
 | 
				
			||||||
                <td colspan="5">
 | 
					                <td colspan="6">
 | 
				
			||||||
                  {{ info.main_social_positions }},{{ info.other_social_positions }}
 | 
					                  {{ info.main_social_positions }},{{ info.other_social_positions }}
 | 
				
			||||||
                </td>
 | 
					                </td>
 | 
				
			||||||
              </tr>
 | 
					              </tr>
 | 
				
			||||||
              <tr align="center">
 | 
					              <tr align="center">
 | 
				
			||||||
                <td colspan="5">
 | 
					                <td colspan="6">
 | 
				
			||||||
                  <div style="font-size: 18px;font-weight: 600">紧急(助理)联系人</div>
 | 
					                  <div style="font-size: 18px;font-weight: 600">紧急(助理)联系人</div>
 | 
				
			||||||
                </td>
 | 
					                </td>
 | 
				
			||||||
              </tr>
 | 
					              </tr>
 | 
				
			||||||
              <tr align="center">
 | 
					              <tr align="center">
 | 
				
			||||||
                <td colspan="5">
 | 
					                <td colspan="6">
 | 
				
			||||||
                  <table style="width: 100%; text-align: center; border-collapse: collapse;">
 | 
					                  <table style="width: 100%; text-align: center; border-collapse: collapse;">
 | 
				
			||||||
                    <thead>
 | 
					                    <thead>
 | 
				
			||||||
                    <tr>
 | 
					                    <tr>
 | 
				
			||||||
@ -249,7 +253,8 @@
 | 
				
			|||||||
                                  :closeOnEscKeydown="false">
 | 
					                                  :closeOnEscKeydown="false">
 | 
				
			||||||
                    <template #trigger="{ open }">
 | 
					                    <template #trigger="{ open }">
 | 
				
			||||||
                      <div style="cursor: pointer" @click="open">
 | 
					                      <div style="cursor: pointer" @click="open">
 | 
				
			||||||
                        <img :src="$store.state.user.apiUrl + info.business_license_image" style="height: 150px; ">
 | 
					                        <img v-if="info.business_license_image!=''&&info.business_license_image!=null" :src="$store.state.user.apiUrl + info.business_license_image" style="height: 150px; ">
 | 
				
			||||||
 | 
					                        <span v-if="info.business_license_image==''||info.business_license_image==null">未上传</span>
 | 
				
			||||||
                      </div>
 | 
					                      </div>
 | 
				
			||||||
                    </template>
 | 
					                    </template>
 | 
				
			||||||
                  </t-image-viewer>
 | 
					                  </t-image-viewer>
 | 
				
			||||||
@ -262,7 +267,8 @@
 | 
				
			|||||||
                                  :closeOnEscKeydown="false">
 | 
					                                  :closeOnEscKeydown="false">
 | 
				
			||||||
                    <template #trigger="{ open }">
 | 
					                    <template #trigger="{ open }">
 | 
				
			||||||
                      <div style="cursor: pointer" @click="open">
 | 
					                      <div style="cursor: pointer" @click="open">
 | 
				
			||||||
                        <img :src="$store.state.user.apiUrl + info.company_image" style="height: 150px; ">
 | 
					                        <img v-if="info.company_image!=''&&info.company_image!=null" :src="$store.state.user.apiUrl + info.company_image" style="height: 150px; ">
 | 
				
			||||||
 | 
					                        <span v-if="info.company_image==''||info.company_image==null">未上传</span>
 | 
				
			||||||
                      </div>
 | 
					                      </div>
 | 
				
			||||||
                    </template>
 | 
					                    </template>
 | 
				
			||||||
                  </t-image-viewer>
 | 
					                  </t-image-viewer>
 | 
				
			||||||
@ -344,7 +350,8 @@
 | 
				
			|||||||
                                    :closeOnEscKeydown="false">
 | 
					                                    :closeOnEscKeydown="false">
 | 
				
			||||||
                      <template #trigger="{ open }">
 | 
					                      <template #trigger="{ open }">
 | 
				
			||||||
                        <div style="cursor: pointer" @click="open">
 | 
					                        <div style="cursor: pointer" @click="open">
 | 
				
			||||||
                          <img :src="$store.state.user.apiUrl + info.documents_file" style="height: 150px; ">
 | 
					                          <img v-if="info.documents_file!=''&&info.documents_file!=null" :src="$store.state.user.apiUrl + info.documents_file" style="height: 150px; ">
 | 
				
			||||||
 | 
					                          <span v-if="info.documents_file==''||info.documents_file==null">未上传</span>
 | 
				
			||||||
                        </div>
 | 
					                        </div>
 | 
				
			||||||
                      </template>
 | 
					                      </template>
 | 
				
			||||||
                    </t-image-viewer>
 | 
					                    </t-image-viewer>
 | 
				
			||||||
@ -432,9 +439,10 @@ export default {
 | 
				
			|||||||
        .post("/member/find", {member_id: this.member_id})
 | 
					        .post("/member/find", {member_id: this.member_id})
 | 
				
			||||||
        .then((res) => {
 | 
					        .then((res) => {
 | 
				
			||||||
          var key = res.data;
 | 
					          var key = res.data;
 | 
				
			||||||
          key.work_experience = JSON.parse(key.work_experience);
 | 
					          console.log(key);
 | 
				
			||||||
          key.other_contacts = JSON.parse(key.other_contacts);
 | 
					          key.work_experience =key.work_experience!=''?JSON.parse(key.work_experience):'';
 | 
				
			||||||
          key.tuanweifuzerenxinxi = JSON.parse(key.tuanweifuzerenxinxi);
 | 
					          key.other_contacts = key.other_contacts!=''?JSON.parse(key.other_contacts):'';
 | 
				
			||||||
 | 
					          key.tuanweifuzerenxinxi = key.tuanweifuzerenxinxi!=''?JSON.parse(key.tuanweifuzerenxinxi):'';
 | 
				
			||||||
          this.info = key;
 | 
					          this.info = key;
 | 
				
			||||||
          console.log(key);
 | 
					          console.log(key);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -146,6 +146,8 @@ export default {
 | 
				
			|||||||
    },
 | 
					    },
 | 
				
			||||||
    tabIndexChange(d) {
 | 
					    tabIndexChange(d) {
 | 
				
			||||||
      console.log(d);
 | 
					      console.log(d);
 | 
				
			||||||
 | 
					      this.tabIndex = d;
 | 
				
			||||||
 | 
					      this.getList();
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    onSubmit(this_if_ssue){
 | 
					    onSubmit(this_if_ssue){
 | 
				
			||||||
      if(this_if_ssue==1){
 | 
					      if(this_if_ssue==1){
 | 
				
			||||||
 | 
				
			|||||||
@ -171,11 +171,12 @@ export default [
 | 
				
			|||||||
      //   meta: {title: '系统设置'},
 | 
					      //   meta: {title: '系统设置'},
 | 
				
			||||||
      // }
 | 
					      // }
 | 
				
			||||||
    ],
 | 
					    ],
 | 
				
			||||||
  }, {
 | 
					  },
 | 
				
			||||||
 | 
					  {
 | 
				
			||||||
    path: '/pc',
 | 
					    path: '/pc',
 | 
				
			||||||
    name: 'pc',
 | 
					    name: 'pc',
 | 
				
			||||||
    component: Layout,
 | 
					    component: Layout,
 | 
				
			||||||
    meta: {title: '官网内容管理', icon: HomeIcon},
 | 
					    meta: {title: '官网内容管理', icon: ViewModuleIcon},
 | 
				
			||||||
    children: [
 | 
					    children: [
 | 
				
			||||||
      {
 | 
					      {
 | 
				
			||||||
        path: 'pc_news_type',
 | 
					        path: 'pc_news_type',
 | 
				
			||||||
@ -189,12 +190,6 @@ export default [
 | 
				
			|||||||
        component: () => import('@/pages/pc/pc_news.vue'),
 | 
					        component: () => import('@/pages/pc/pc_news.vue'),
 | 
				
			||||||
        meta: {title: '新闻列表'},
 | 
					        meta: {title: '新闻列表'},
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      {
 | 
					 | 
				
			||||||
        path: 'pc_swiper',
 | 
					 | 
				
			||||||
        name: 'pcSwiper',
 | 
					 | 
				
			||||||
        component: () => import('@/pages/pc/pc_swiper.vue'),
 | 
					 | 
				
			||||||
        meta: {title: '轮播管理'},
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      {
 | 
					      {
 | 
				
			||||||
        path: 'pc_message',
 | 
					        path: 'pc_message',
 | 
				
			||||||
        name: 'pcSwiper',
 | 
					        name: 'pcSwiper',
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user