+
+
+
+
+
+
+
+
+
+
+ 添加
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/fadada/type_1.vue b/pages/fadada/type_1.vue
index 2a15f09..1fb6fa9 100644
--- a/pages/fadada/type_1.vue
+++ b/pages/fadada/type_1.vue
@@ -27,7 +27,7 @@ export default {
// 查询表单数据源,可在此设置默认值
formData: {
dcloud_appid: "",
- type: 2
+ type: 1
//allow_login_background : true,
},
// 查询表单的字段规则 fieldName:指定数据库字段名,不填默认等于key
@@ -39,26 +39,21 @@ export default {
},
table1: {
// 表格数据请求地址
- action: "admin/fadada/sys/getList",
+ action: "admin/system/user/sys/getList",
// 表格字段显示规则
columns: [
- {key: "user.mobile", title: "手机号", type: "text", width: 120, defaultValue: ""},
+ {key: "mobile", title: "手机号", type: "text", width: 120, defaultValue: ""},
// {
// key: "", title: "认证类型", type: "text", width: 120, formatter: (val, row, column, index) => {
// return parseInt(row.type) === 1 ? '个人' : '企业'
// }
// },
{
- key: "mobile", title: "个人/企业信息", type: "html", defaultValue: "",
+ key: "mobile", title: "个人信息", type: "html", defaultValue: "",
formatter: (val, row, column, index) => {
let str
- if (parseInt(row.type) === 1) {
- str = `${row.person.personName}`
- str += `${row.person.mobile}`
- } else {
- str = `${row.company.companyName}`
- str += `${row.manager.personName}/${row.manager.mobile}`
- }
+ str = `${row.person.personName}`
+ // str += `${row.person.mobile}`
return str;
}
},
diff --git a/pages/fadada/type_2.vue b/pages/fadada/type_2.vue
index cbc260e..a89aa41 100644
--- a/pages/fadada/type_2.vue
+++ b/pages/fadada/type_2.vue
@@ -14,7 +14,37 @@
:selection="true"
:row-no="true"
:pagination="true"
- >
+ >
+
+ 详情
+
+ 通过
+ 拒绝
+
+
+
+
+
+
+
+
+
+ 关闭
+
+
@@ -23,6 +53,38 @@ export default {
name: "index",
data() {
return {
+ showInfo: false,
+ info: null,
+ title: '',
+ infoColumns: [
+ {key: "company.companyName", title: "企业名称", type: "text"},
+ {key: "company.organization", title: "统一社会信用代码", type: "text"},
+ {key: "company.companyName", title: "公司所在地", type: "text"},
+ {key: "company.companyName", title: "详细地址", type: "text"},
+ {key: "company.mailAddress", title: "有效通信地址", type: "text"},
+ {key: "company.contactEmail", title: "有效邮箱地址", type: "text"},
+ {key: "company.companyAccount", title: "对公账号", type: "text"},
+ {key: "company.companyBankName", title: "开户行", type: "text"},
+ {key: "company.personAccount", title: "个人账号", type: "text"},
+ {key: "company.personBankName", title: "个人开户行", type: "text"},
+ {key: "company.accountName", title: "户名", type: "text"},
+ {key: "company.personBankName", title: "个人开户行", type: "text"},
+ {key: "company.organizationPath", title: "营业执照", type: "image"},
+ {key: "company.businessType", title: "经营类目", type: "text"},
+ {key: "company.invoiceInfo", title: "上开票资料", type: "image"},
+ {key: "company.taxType", title: "纳税人类型", type: "text"},
+ {key: "company.taxImage", title: "纳税人资格", type: "image"},
+ {key: "manager.personName", title: "代理人类型", type: "text"},
+ {
+ key: "manager.certType", title: "证件类型", type: "html", formatter: (val, row, column, index) => {
+ return `${row.certType === 0 ? '身份证' : '护照'}
`;
+ }
+ },
+ {key: "manager.idCard", title: "代理人证件号", type: "text"},
+ {key: "manager.mobile", title: "代理人电话", type: "text"},
+ {key: "manager.headPhotoPath", title: "身份证正面", type: "image"},
+ {key: "manager.backgroundIdCardPath", title: "身份证反面", type: "image"},
+ ],
queryForm1: {
// 查询表单数据源,可在此设置默认值
formData: {
@@ -39,30 +101,33 @@ export default {
},
table1: {
// 表格数据请求地址
- action: "admin/fadada/sys/getList",
+ action: "admin/system/user/sys/getList",
// 表格字段显示规则
columns: [
- {key: "user.mobile", title: "手机号", type: "text", width: 120, defaultValue: ""},
+ // {key: "user.mobile", title: "手机号", type: "text", width: 120, defaultValue: ""},
+ {key: "company.companyName", title: "企业名称", type: "text"},
+ {key: "company.organization", title: "统一社会信用代码", type: "text"},
+ {key: "company.mailAddress", title: "有效通信地址", type: "text"},
{
- key: "", title: "认证类型", type: "text", width: 120, formatter: (val, row, column, index) => {
- return parseInt(row.type) === 1 ? '个人' : '企业'
+ key: "", title: "代理人", type: "html", formatter: (val, row, column, index) => {
+ let str
+ str = `${row.manager.personName}`
+ // str += `${row.person.mobile}`
+ return str;
}
},
- // {
- // key: "mobile", title: "个人/企业信息", type: "html", defaultValue: "",
- // formatter: (val, row, column, index) => {
- // let str
- // if (parseInt(row.type) === 1) {
- // str = `${row.person.personName}`
- // str += `${row.person.mobile}`
- // } else {
- // str = `${row.company.companyName}`
- // str += `${row.manager.personName}/${row.manager.mobile}`
- // }
- // return str;
- // }
- // },
- {key: "authenticationSubmitTime", title: "认证时间", type: "time", width: 160, sortable: "custom"},
+ {key: "authTime", title: "认证时间", type: "time", width: 160, sortable: "custom"},
+ {
+ key: "authStatus", title: "认证状态", type: "tag", data: [
+ {value: 0, label: "未认证", tagType: "warning"},
+ {value: 1, label: "已认证", tagType: "success"},
+ {value: 2, label: "认证失败", tagType: "danger"},
+ ]
+ },
+ {key: "isCoop", title: "是否合作/联营单位", type: "html"},
+ {
+ key: "action", title: "操作", type: "html"
+ },
],
// 多选框选中的值
multipleSelection: [],
@@ -75,6 +140,39 @@ export default {
search() {
this.$refs.table1.query();
},
+ async refuse(id) {
+ const {action, value} = await this.$prompt('拒绝理由', {
+ showInput: true
+ });
+ if (action === 'confirm') {
+ this.changeStatus(id, 2, value)
+ }
+ },
+ changeStatus(id, authStatus, refuseReason = null) {
+ vk.callFunction({
+ url: 'admin/system/user/sys/changeStatus',
+ data: {
+ id, authStatus, refuseReason
+ }
+ }).then(() => {
+ this.$refs.table1.refresh()
+ })
+ },
+ doShowInfo(info) {
+ this.info = info
+ this.title = '详情'
+ this.showInfo = true
+ },
+ changeIsCoop(id) {
+ vk.callFunction({
+ url: 'admin/system/user/sys/changeCoop',
+ data: {
+ id
+ }
+ }).then(() => {
+ this.$refs.table1.refresh()
+ })
+ },
}
}
\ No newline at end of file
diff --git a/pages/goods/category.vue b/pages/goods/category.vue
new file mode 100644
index 0000000..1075902
--- /dev/null
+++ b/pages/goods/category.vue
@@ -0,0 +1,338 @@
+
+
+
+
+
+
+
+
+
+
+
+ 添加
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/goods/list.vue b/pages/goods/list.vue
new file mode 100644
index 0000000..b708626
--- /dev/null
+++ b/pages/goods/list.vue
@@ -0,0 +1,388 @@
+
+
+
+
+
+
+
+
+
+
+
+ 添加
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/product/product-category/list.vue b/pages/product/product-category/list.vue
index 5520718..a142bbd 100644
--- a/pages/product/product-category/list.vue
+++ b/pages/product/product-category/list.vue
@@ -33,7 +33,7 @@
-
diff --git a/pages_template/components/table/table-easy.vue b/pages_template/components/table/table-easy.vue
index d5dfcad..9dd39ef 100644
--- a/pages_template/components/table/table-easy.vue
+++ b/pages_template/components/table/table-easy.vue
@@ -54,7 +54,7 @@
diff --git a/pages_template/components/table/table-expand.vue b/pages_template/components/table/table-expand.vue
index 5d4d120..5627955 100644
--- a/pages_template/components/table/table-expand.vue
+++ b/pages_template/components/table/table-expand.vue
@@ -59,7 +59,7 @@
diff --git a/pages_template/kong/list.vue b/pages_template/kong/list.vue
index 7eb7d8a..4fe0e5e 100644
--- a/pages_template/kong/list.vue
+++ b/pages_template/kong/list.vue
@@ -51,7 +51,7 @@