|  | @@ -51,12 +51,12 @@
 | 
	
		
			
				|  |  |        <el-table-column label="省" prop="provinceName" align="center" width="120"/>
 | 
	
		
			
				|  |  |        <el-table-column label="市" prop="cityName" align="center" width="120" />
 | 
	
		
			
				|  |  |        <el-table-column label="区" prop="districtName" align="center" width="120" />
 | 
	
		
			
				|  |  | -      <el-table-column label="社会信用代码" prop="license" align="center" width="120"></el-table-column>
 | 
	
		
			
				|  |  | +      <el-table-column label="社会信用代码" prop="license" align="center" width="160"></el-table-column>
 | 
	
		
			
				|  |  |        <el-table-column label="联系人" align="center" prop="linkName" width="150"></el-table-column>
 | 
	
		
			
				|  |  | -      <el-table-column label="联系人手机号" prop="linkMobile" align="center" width="120"></el-table-column>
 | 
	
		
			
				|  |  | -      <el-table-column label="联系人邮箱" prop="linkEmail" align="center" width="120"></el-table-column>
 | 
	
		
			
				|  |  | +      <el-table-column label="联系人手机号" prop="linkMobile" align="center" width="160"></el-table-column>
 | 
	
		
			
				|  |  | +      <el-table-column label="联系人邮箱" prop="linkEmail" align="center" width="180"></el-table-column>
 | 
	
		
			
				|  |  |        <el-table-column label="创建时间" prop="createTime" align="center" width="160"></el-table-column>
 | 
	
		
			
				|  |  | -      <el-table-column label="服务时间" align="center" width="120">
 | 
	
		
			
				|  |  | +      <el-table-column label="服务时间" align="center" width="180">
 | 
	
		
			
				|  |  |          <template slot-scope="scope">
 | 
	
		
			
				|  |  |            <template v-if="scope.row.entState == '1'">
 | 
	
		
			
				|  |  |              <span>--</span>
 | 
	
	
		
			
				|  | @@ -74,15 +74,18 @@
 | 
	
		
			
				|  |  |        <el-table-column label="操作" align="center" width="180" class-name="small-padding fixed-width">
 | 
	
		
			
				|  |  |          <template slot-scope="scope">
 | 
	
		
			
				|  |  |            <el-button type="text" @click="handleView(scope.row)">查看</el-button>
 | 
	
		
			
				|  |  | -          <el-button type="text" @click="handleRePwd(scope.row)" v-if="scope.row.entState == '3'">重置密码</el-button>
 | 
	
		
			
				|  |  | -          <el-button type="text" @click="handleAudit(scope.row)" v-if="scope.row.authState == '1'">审核</el-button>
 | 
	
		
			
				|  |  | -          <template v-if="scope.row.authState == '2'">
 | 
	
		
			
				|  |  | -            <el-button type="text" @click="handleUpdate(scope.row)">修改</el-button>
 | 
	
		
			
				|  |  | -            <el-button type="text" @click="handleStop(scope.row)">停用</el-button>
 | 
	
		
			
				|  |  | -            <el-button type="text" @click="handleRemind(scope.row)">提醒</el-button>
 | 
	
		
			
				|  |  | -          </template>
 | 
	
		
			
				|  |  | -          <template v-if="scope.row.authState == '2' || scope.row.authState == '1'">
 | 
	
		
			
				|  |  | -            <el-button type="text" @click="handleDelete(scope.row)">删除</el-button>
 | 
	
		
			
				|  |  | +          <!-- 只有科德管理员才可以有以下操作 -->
 | 
	
		
			
				|  |  | +          <template v-if="roleType =='manager'">
 | 
	
		
			
				|  |  | +            <el-button type="text" @click="handleRePwd(scope.row)">重置密码</el-button>
 | 
	
		
			
				|  |  | +            <el-button type="text" @click="handleAudit(scope.row)" v-if="scope.row.authState == '1'">审核</el-button>
 | 
	
		
			
				|  |  | +            <!-- 只有审核通过 authState才可以修改 -->
 | 
	
		
			
				|  |  | +            <el-button type="text" @click="handleUpdate(scope.row)" v-if="scope.row.authState == '2'">修改</el-button>
 | 
	
		
			
				|  |  | +            <!-- 只有服务中且审核状态为已通过才可以停用 -->
 | 
	
		
			
				|  |  | +            <el-button type="text" @click="handleStop(scope.row)" v-if="scope.row.entState == '2' || scope.row.authState == '2'">停用</el-button>
 | 
	
		
			
				|  |  | +            <!-- 只有服务状态为已到期才可以提醒 -->
 | 
	
		
			
				|  |  | +            <el-button type="text" @click="handleRemind(scope.row)" v-if="scope.row.entState == '3'">提醒</el-button>
 | 
	
		
			
				|  |  | +            <!-- 审核状态为已驳回不可以删除 -->
 | 
	
		
			
				|  |  | +            <el-button type="text" @click="handleDelete(scope.row)" v-if="scope.row.authState != '3'">删除</el-button>
 | 
	
		
			
				|  |  |            </template>
 | 
	
		
			
				|  |  |          </template>
 | 
	
		
			
				|  |  |        </el-table-column>
 | 
	
	
		
			
				|  | @@ -97,7 +100,7 @@
 | 
	
		
			
				|  |  |      />
 | 
	
		
			
				|  |  |    </div>
 | 
	
		
			
				|  |  |  </template>
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | +<!-- 企业管理模块只有科德管理员和税务人员 -->
 | 
	
		
			
				|  |  |  <script>
 | 
	
		
			
				|  |  |    import {getProvinceDataApi,getRegionChildrenApi} from "@/api/common/common"
 | 
	
		
			
				|  |  |    import {listEntApi, deleteEntApi, resetPwdApi, remindUserApi, stopEntUserApi} from '@/api/admin/ent/ent'
 | 
	
	
		
			
				|  | @@ -112,6 +115,7 @@
 | 
	
		
			
				|  |  |          entStateOptions: entStateOptions,
 | 
	
		
			
				|  |  |          authStateOptions: authStateOptions,
 | 
	
		
			
				|  |  |          dateRange: [],
 | 
	
		
			
				|  |  | +        roleType: '',
 | 
	
		
			
				|  |  |          queryParams: {
 | 
	
		
			
				|  |  |            pageNum: 1,
 | 
	
		
			
				|  |  |            pageSize: 10,
 | 
	
	
		
			
				|  | @@ -128,6 +132,12 @@
 | 
	
		
			
				|  |  |      created() {
 | 
	
		
			
				|  |  |        this.getList()
 | 
	
		
			
				|  |  |        this.getProvinceData()
 | 
	
		
			
				|  |  | +      this.roleType = this.roles.join(',')
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  | +    computed: {
 | 
	
		
			
				|  |  | +      roles() {
 | 
	
		
			
				|  |  | +        return this.$store.state.user.roles
 | 
	
		
			
				|  |  | +      }
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      methods: {
 | 
	
		
			
				|  |  |        //选择省份
 |