Commit 1557aa8f authored by jiangqihao's avatar jiangqihao

认证

parent 9cc27b5c
...@@ -17,7 +17,7 @@ const customersRouter = { ...@@ -17,7 +17,7 @@ const customersRouter = {
path: '/overview', path: '/overview',
component: () => import('@/views/customers/customers-overview'), component: () => import('@/views/customers/customers-overview'),
name: 'CustomersOverview', name: 'CustomersOverview',
meta: { title: '总代理商' } meta: { title: '总代信息' }
}, },
// 添加新代理商 // 添加新代理商
{ {
...@@ -59,19 +59,19 @@ const customersRouter = { ...@@ -59,19 +59,19 @@ const customersRouter = {
path: '/Provincial-agentList', path: '/Provincial-agentList',
component: () => import('@/views/customers/provincial-agentList'), component: () => import('@/views/customers/provincial-agentList'),
name: 'CustomersProvince', name: 'CustomersProvince',
meta: { title: '省级代理商' } meta: { title: 'RSP信息' }
}, },
{ {
path: '/Municipal-agentList', path: '/Municipal-agentList',
component: () => import('@/views/customers/municipal-agentList'), component: () => import('@/views/customers/municipal-agentList'),
name: 'CustomersCity', name: 'CustomersCity',
meta: { title: '城市代理商' } meta: { title: 'CCP信息' }
}, },
{ {
path: '/potential', path: '/potential',
component: () => import('@/views/customers/potential-customers'), component: () => import('@/views/customers/potential-customers'),
name: 'CustomersProcess', name: 'CustomersProcess',
meta: { title: 'potentialCustomers' } meta: { title: '注册商审批' }
}, },
{ {
path: '/citypotential-list', path: '/citypotential-list',
...@@ -83,7 +83,7 @@ const customersRouter = { ...@@ -83,7 +83,7 @@ const customersRouter = {
path: '/Personal-customers', path: '/Personal-customers',
component: () => import('@/views/customers/personal-customers'), component: () => import('@/views/customers/personal-customers'),
name: 'CustomersMessage', name: 'CustomersMessage',
meta: { title: '代理商信息' } meta: { title: '注册信息' }
}, },
] ]
} }
......
...@@ -17,19 +17,19 @@ const modelsRouter = { ...@@ -17,19 +17,19 @@ const modelsRouter = {
path: 'total', path: 'total',
component: () => import('@/views/models/total-models'), component: () => import('@/views/models/total-models'),
name: 'TemplatesOverview', name: 'TemplatesOverview',
meta: { title: '总代模板' } meta: { title: '总代协议模板' }
}, },
{ {
path: 'prov', path: 'prov',
component: () => import('@/views/models/prov-models'), component: () => import('@/views/models/prov-models'),
name: 'TemplatesProvince', name: 'TemplatesProvince',
meta: { title: '省代模板' } meta: { title: 'RSP协议模板' }
}, },
{ {
path: 'city', path: 'city',
component: () => import('@/views/models/city-models'), component: () => import('@/views/models/city-models'),
name: 'TemplatesCity', name: 'TemplatesCity',
meta: { title: '城市模板' } meta: { title: 'CCP协议模板' }
}, },
{ {
path: 'all', path: 'all',
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
type="primary" type="primary"
:loading="btnLoading" :loading="btnLoading"
@click="authentication" @click="authentication"
:disabled="showAuthentication" :disabled="btnShow"
> >
认 证 认 证
</el-button> </el-button>
...@@ -35,6 +35,7 @@ import { customerCreate, provinceSearch, citySearch, districtSearch, customerGet ...@@ -35,6 +35,7 @@ import { customerCreate, provinceSearch, citySearch, districtSearch, customerGet
import { qccGetOne } from '@/api/qcc' import { qccGetOne } from '@/api/qcc'
import PersonalInFo from '../personal-customers/conponents/personal-info' import PersonalInFo from '../personal-customers/conponents/personal-info'
import { uploadCode } from '@/api/upload' import { uploadCode } from '@/api/upload'
import EleTable from '@/components/EleTable/EleTable.vue';
export default { export default {
components: { components: {
...@@ -63,7 +64,7 @@ export default { ...@@ -63,7 +64,7 @@ export default {
formData: {}, formData: {},
isShowSubmitBtn: false, isShowSubmitBtn: false,
isShowBackBtn: false, isShowBackBtn: false,
showAuthentication: true, btnShow: true,
sections: [ sections: [
{ {
title: '基本信息', title: '基本信息',
...@@ -312,7 +313,7 @@ export default { ...@@ -312,7 +313,7 @@ export default {
// } // }
}, },
created() { created() {
console.log(this.$refs) console.log(this.$refs.eleTable)
this.getOneData() this.getOneData()
}, },
methods: { methods: {
...@@ -333,7 +334,8 @@ export default { ...@@ -333,7 +334,8 @@ export default {
return formData; return formData;
}, },
showStart(val) { showStart(val) {
this.showAuthentication = val this.btnShow = val
// console.log('1.', val)
}, },
getOneData() { getOneData() {
this.loading = true this.loading = true
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
v-bind="tableConfig" v-bind="tableConfig"
:expand-params="expandParams" :expand-params="expandParams"
@handleSelectionChange="handleSelectionChange" @handleSelectionChange="handleSelectionChange"
@handleTableDataChange='handleTableDataChange'
/> />
<el-dialog <el-dialog
:title="dialogTitle" :title="dialogTitle"
...@@ -143,7 +144,6 @@ export default { ...@@ -143,7 +144,6 @@ export default {
} }
}, },
created() { created() {
console.log(this.$refs.eleTable)
this.tableConfig.columns.handle.vif = this.isShowBtn this.tableConfig.columns.handle.vif = this.isShowBtn
constant.tableConfig.initialParams = { constant.tableConfig.initialParams = {
BusinessObjectID: this.objectID || this.$route.query.objectID, BusinessObjectID: this.objectID || this.$route.query.objectID,
...@@ -167,9 +167,14 @@ export default { ...@@ -167,9 +167,14 @@ export default {
this.formData = res.results[0] this.formData = res.results[0]
}) })
}, },
handleTableDataChange(val) {
if (val.length > 1) {
this.$emit('showAuthentication', false)
}
// console.log('2', val)
},
handleAdd() { handleAdd() {
this.dialogTitle = '创建附件' this.dialogTitle = '创建附件' // this.formData = {}
// this.formData = {}
this.fileList = [] this.fileList = []
this.dialogFormVisible = true this.dialogFormVisible = true
}, },
......
...@@ -38,7 +38,7 @@ export default { ...@@ -38,7 +38,7 @@ export default {
return { return {
loading: false, loading: false,
typeCode: uploadCode.customer, typeCode: uploadCode.customer,
title: '代理商详情qer', title: '代理商详情',
dedeleBtnStart: true, dedeleBtnStart: true,
objectID: '', objectID: '',
addBtnStart: true, addBtnStart: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment