Commit 1557aa8f authored by jiangqihao's avatar jiangqihao

认证

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