|
@@ -41,6 +41,11 @@
|
|
<el-option v-for="(item, index) in entStateOptions" :key="index" :label="item.dictLabel" :value="item.dictValue"></el-option>
|
|
<el-option v-for="(item, index) in entStateOptions" :key="index" :label="item.dictLabel" :value="item.dictValue"></el-option>
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
+ <el-form-item label="审核状态" prop="authState">
|
|
|
|
+ <el-select v-model="queryParams.authState" style="width: 200px;" placeholder="请选择">
|
|
|
|
+ <el-option v-for="(item, index) in authStateOptions" :key="index" :label="item.dictLabel" :value="item.dictValue"></el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ </el-form-item>
|
|
|
|
|
|
<el-form-item>
|
|
<el-form-item>
|
|
<el-button type="primary" @click="handleQuery">搜索</el-button>
|
|
<el-button type="primary" @click="handleQuery">搜索</el-button>
|
|
@@ -71,20 +76,30 @@
|
|
<el-table-column label="联系人手机号" prop="phonenumber" align="center" width="160"></el-table-column>
|
|
<el-table-column label="联系人手机号" prop="phonenumber" align="center" width="160"></el-table-column>
|
|
<el-table-column label="联系人邮箱" prop="email" align="center" width="180"></el-table-column>
|
|
<el-table-column label="联系人邮箱" prop="email" align="center" width="180"></el-table-column>
|
|
<el-table-column label="创建时间" prop="createTime" align="center" width="160"></el-table-column>
|
|
<el-table-column label="创建时间" prop="createTime" align="center" width="160"></el-table-column>
|
|
- <el-table-column label="服务时间" align="center" width="180">
|
|
|
|
|
|
+ <el-table-column label="服务时间" align="center" width="200">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<template v-if="scope.row.entState == '1'">
|
|
<template v-if="scope.row.entState == '1'">
|
|
<span>--</span>
|
|
<span>--</span>
|
|
</template>
|
|
</template>
|
|
<template v-else-if="scope.row.entState == '2'">
|
|
<template v-else-if="scope.row.entState == '2'">
|
|
- <span>{{scope.row.startDate}}-{{scope.row.endDate}}</span>
|
|
|
|
|
|
+ <span>{{scope.row.startDate}} - {{scope.row.endDate}}</span>
|
|
|
|
+ <el-button @click="handleEdit(scope.row)" type="text" size="small">修改服务时间</el-button>
|
|
</template>
|
|
</template>
|
|
<template v-else>
|
|
<template v-else>
|
|
<span>已到期</span>
|
|
<span>已到期</span>
|
|
</template>
|
|
</template>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="服务状态" prop="entState" align="center" width="120" :formatter="entSateFormat"></el-table-column>
|
|
|
|
|
|
+ <el-table-column label="服务状态" prop="entState" align="center" width="120" :formatter="entSateFormat">
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ <template v-if="scope.row.authState == '3'">
|
|
|
|
+ <span>驳回</span>
|
|
|
|
+ </template>
|
|
|
|
+ <template v-else>
|
|
|
|
+ <span>{{scope.row.entState | entStateMode}}</span>
|
|
|
|
+ </template>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
<el-table-column label="审核状态" prop="authState" align="center" width="120" :formatter="authStateFormat"></el-table-column>
|
|
<el-table-column label="审核状态" prop="authState" align="center" width="120" :formatter="authStateFormat"></el-table-column>
|
|
<el-table-column label="操作" align="center" width="180" class-name="small-padding fixed-width">
|
|
<el-table-column label="操作" align="center" width="180" class-name="small-padding fixed-width">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
@@ -112,8 +127,9 @@
|
|
:total="total"
|
|
:total="total"
|
|
:page.sync="queryParams.pageNum"
|
|
:page.sync="queryParams.pageNum"
|
|
:limit.sync="queryParams.pageSize"
|
|
:limit.sync="queryParams.pageSize"
|
|
- @pagination="getList"
|
|
|
|
- />
|
|
|
|
|
|
+ @pagination="getList"/>
|
|
|
|
+
|
|
|
|
+ <audit-ent v-if="auditEntVisible" ref="auditEnt" @refreshData="getList()"></audit-ent>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<!-- 企业管理模块只有科德管理员和税务人员 -->
|
|
<!-- 企业管理模块只有科德管理员和税务人员 -->
|
|
@@ -123,9 +139,14 @@
|
|
import {entStateOptions, getLabel, authStateOptions} from '@/utils/dataFormat'
|
|
import {entStateOptions, getLabel, authStateOptions} from '@/utils/dataFormat'
|
|
import {listEntTaxApi} from '@/api/gov/gov'
|
|
import {listEntTaxApi} from '@/api/gov/gov'
|
|
import { resetUserPwd } from "@/api/system/user";
|
|
import { resetUserPwd } from "@/api/system/user";
|
|
|
|
+ import AuditEnt from "./components/service"
|
|
export default {
|
|
export default {
|
|
|
|
+ components: {
|
|
|
|
+ AuditEnt
|
|
|
|
+ },
|
|
data () {
|
|
data () {
|
|
return {
|
|
return {
|
|
|
|
+ auditEntVisible: false,
|
|
loading: false,
|
|
loading: false,
|
|
provinceDataList: [],
|
|
provinceDataList: [],
|
|
cityDataList: [],
|
|
cityDataList: [],
|
|
@@ -171,7 +192,30 @@
|
|
return this.$store.state.user.userType
|
|
return this.$store.state.user.userType
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ filters: {
|
|
|
|
+ entStateMode(val) {
|
|
|
|
+ switch(val) {
|
|
|
|
+ case 1:
|
|
|
|
+ return '待审核';
|
|
|
|
+ case 2:
|
|
|
|
+ return '服务中';
|
|
|
|
+ case 3:
|
|
|
|
+ return '已过期';
|
|
|
|
+ case 4:
|
|
|
|
+ return '冻结';
|
|
|
|
+ default:
|
|
|
|
+ return "";
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
methods: {
|
|
methods: {
|
|
|
|
+ /** 修改服务时间 */
|
|
|
|
+ handleEdit(row){
|
|
|
|
+ this.auditEntVisible = true
|
|
|
|
+ this.$nextTick(() => {
|
|
|
|
+ this.$refs.auditEnt.init(row.id)
|
|
|
|
+ })
|
|
|
|
+ },
|
|
getAreaData() {
|
|
getAreaData() {
|
|
getRegionChildrenApi(this.scopeId).then(res => {
|
|
getRegionChildrenApi(this.scopeId).then(res => {
|
|
if(res.code == 200) {
|
|
if(res.code == 200) {
|
|
@@ -258,20 +302,6 @@
|
|
}, 500);
|
|
}, 500);
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- /** 重置密码按钮操作 */
|
|
|
|
- // handleResetPwd(row) {
|
|
|
|
- // this.$prompt('请输入"' + row.userName + '"的新密码', "提示", {
|
|
|
|
- // confirmButtonText: "确定",
|
|
|
|
- // cancelButtonText: "取消",
|
|
|
|
- // closeOnClickModal: false,
|
|
|
|
- // inputPattern: /^.{5,20}$/,
|
|
|
|
- // inputErrorMessage: "用户密码长度必须介于 5 和 20 之间"
|
|
|
|
- // }).then(({ value }) => {
|
|
|
|
- // resetPwdApi(row.id, value).then(response => {
|
|
|
|
- // this.$modal.msgSuccess("修改成功,新密码是:" + value);
|
|
|
|
- // });
|
|
|
|
- // }).catch(() => {});
|
|
|
|
- // },
|
|
|
|
handleRemind(row) {
|
|
handleRemind(row) {
|
|
this.$confirm('是否确认提醒用户服务时间到期?', "警告", {
|
|
this.$confirm('是否确认提醒用户服务时间到期?', "警告", {
|
|
confirmButtonText: "确定",
|
|
confirmButtonText: "确定",
|