diff --git a/activationCode/components/date-picker-select.vue b/activationCode/components/date-picker-select.vue new file mode 100644 index 0000000..ef33737 --- /dev/null +++ b/activationCode/components/date-picker-select.vue @@ -0,0 +1,59 @@ + + + + + \ No newline at end of file diff --git a/activationCode/data.js b/activationCode/data.js new file mode 100644 index 0000000..43dd4f3 --- /dev/null +++ b/activationCode/data.js @@ -0,0 +1,28 @@ +export const shopTypes = { + 'only': '单店', + 'chain': '连锁店', + 'join': '加盟店', +} + +export const registerTypes = { + 'before': '快餐版', + 'after': '餐饮版', +} + +export const profiless = { + probation: '试用', + release: '正式', +} +export const statuss = { + 1: '开启', + 0: '关闭' +} +export const tubeTypes = { + 1: '直接管理', + 0: '不可直接管理' +} + +export const channels = { + 'poly': '聚合支付', + 'native': '支付进件', +} \ No newline at end of file diff --git a/activationCode/index/index.vue b/activationCode/index/index.vue new file mode 100644 index 0000000..3ca1145 --- /dev/null +++ b/activationCode/index/index.vue @@ -0,0 +1,395 @@ + + + + + \ No newline at end of file diff --git a/commons/data/entryManager.js b/commons/data/entryManager.js new file mode 100644 index 0000000..628d5d6 --- /dev/null +++ b/commons/data/entryManager.js @@ -0,0 +1,73 @@ +export const userTypes = { + '0': '个体商户', + '1': '企业商户', +} + +export const contactPersonTypes = { + 'LEGAL': '经营者/法定代表人', + 'SUPER': '经办人', +} + +export const certTypes = { + '0': '身份证' +} + +export const companyChildTypes = { + '1': '普通企业', + '2': '事业单位', + '3': '政府机关', + '4': '社会组织', +} + +export const sexs = { + '0': '男', + '1': '女' +} + +export const settlementTypes = { + '0': '非法人结算', + '1': '法人结算' +} + +export const settlementCardTypes = { + '11': '对私借记卡', + '21': '对公借记卡', +} +// WAIT 待提交 + // INIT 待处理 + // AUDIT 待审核 + // SIGN 待签约 + // FINISH 已完成 + // REJECTED 失败 + +export const statusList = [{ + value: 'WAIT', + name: '待提交', + class: 'gray' + }, + { + value: 'INIT', + name: '待处理', + class: 'warning' + }, + { + value: 'AUDIT', + name: '待审核', + class: 'warning' + }, + { + value: 'SIGN', + name: '待签约', + class: 'warning' + }, + { + value: 'FINISH', + name: '已完成', + class: 'success' + }, + { + value: 'REJECTED', + name: '失败', + class: 'error' + }, +] \ No newline at end of file diff --git a/components/my-components/my-address-select.vue b/components/my-components/my-address-select.vue new file mode 100644 index 0000000..8d3fa69 --- /dev/null +++ b/components/my-components/my-address-select.vue @@ -0,0 +1,254 @@ + + + + diff --git a/components/my-components/my-bottom-btn-group.vue b/components/my-components/my-bottom-btn-group.vue index 489fcf1..1290d30 100644 --- a/components/my-components/my-bottom-btn-group.vue +++ b/components/my-components/my-bottom-btn-group.vue @@ -6,16 +6,17 @@ class="fixed-bottom u-flex gap-20" :class="[direction == 'column' ? 'u-flex-column' : '']" > - - - 保存 - - + 取消 + + + 保存 + + diff --git a/components/my-components/my-page-loading.vue b/components/my-components/my-page-loading.vue new file mode 100644 index 0000000..205df42 --- /dev/null +++ b/components/my-components/my-page-loading.vue @@ -0,0 +1,35 @@ + + + + + \ No newline at end of file diff --git a/entryManager/add/components/bank-select.vue b/entryManager/add/components/bank-select.vue index 0b857b0..c6117de 100644 --- a/entryManager/add/components/bank-select.vue +++ b/entryManager/add/components/bank-select.vue @@ -63,7 +63,6 @@ const bankAliasCode=defineModel('bankAliasCode') - const wxProvinceCode=defineModel('wxProvinceCode') const selid = ref('') @@ -95,7 +94,6 @@ show.value = false; } - function search() { isEnd.value = false query.page = 1 @@ -111,7 +109,6 @@ selItem.value = findShop bankInstId.value = findShop.bankCode bankAliasCode.value = findShop.bankAliasCode - wxProvinceCode.value=findShop.wxProvinceCode } } diff --git a/entryManager/add/components/bankBranchList.vue b/entryManager/add/components/bankBranchList.vue index a2e6542..63b4001 100644 --- a/entryManager/add/components/bankBranchList.vue +++ b/entryManager/add/components/bankBranchList.vue @@ -7,7 +7,7 @@ - + @@ -19,13 +19,13 @@ - + @@ -71,15 +71,15 @@ const show = ref(false); const modelValue = defineModel(); - const bankBranchName = defineModel('bankBranchName', { + const bankbank_branch_name = defineModel('bankbank_branch_name', { default: '', }); const selid = ref('') function returnLabel() { - const findShop = list.value.find(v => v.bankCode == modelValue.value) - return findShop ? findShop.branchName : '' + const findShop = list.value.find(v => v.bank_branch_id == modelValue.value) + return findShop ? findShop.bank_branch_name : '' } const selItem = ref(null) @@ -87,9 +87,9 @@ selItem.value = data } - function returnbranchName(bankCode) { - const item = list.value.find((v) => v.bankCode == bankCode); - return item?.branchName || ''; + function returnbank_branch_name(bank_branch_id) { + const item = list.value.find((v) => v.bank_branch_id == bank_branch_id); + return item?.bank_branch_name || ''; } function close() { @@ -97,8 +97,8 @@ } function submit() { - modelValue.value = selItem.value.bankCode - bankBranchName.value = selItem.value.branchName + modelValue.value = selItem.value.bank_branch_id + bankbank_branch_name.value = selItem.value.bank_branch_name show.value = false; } @@ -165,10 +165,12 @@ const list = ref([]); - function openPopup() { + async function openPopup() { + await init() selid.value = 'shop_' + modelValue.value - const findShop = list.value.find(v => v.bankCode == modelValue.value) - selItem.value=findShop?findShop:null + console.log('list.value',list.value); + const findShop = list.value.find(v => v.bank_branch_id == modelValue.value) + selItem.value = findShop ? findShop : null show.value = true; } @@ -208,23 +210,20 @@ query: { type: Object, default: () => ({ - province: '', - city: '', - instId: '', + bankAliceCode: '', + cityCode: '' }) } }) - watch(() => show.value, (newval) => { - init() - }) + let allList = [] async function init() { const res = await bankBranchList(props.query); - list.value = res - allList = res + list.value = res.data + allList = res.data } \ No newline at end of file diff --git a/pagesShops/add/components/head-shop-select.vue b/pagesShops/add/components/head-shop-select.vue new file mode 100644 index 0000000..fe44563 --- /dev/null +++ b/pagesShops/add/components/head-shop-select.vue @@ -0,0 +1,73 @@ + + + + + \ No newline at end of file diff --git a/pagesShops/add/components/popup-head-shop.vue b/pagesShops/add/components/popup-head-shop.vue new file mode 100644 index 0000000..036d380 --- /dev/null +++ b/pagesShops/add/components/popup-head-shop.vue @@ -0,0 +1,209 @@ + + + \ No newline at end of file diff --git a/pagesShops/components/mcc-category.vue b/pagesShops/components/mcc-category.vue new file mode 100644 index 0000000..dead36e --- /dev/null +++ b/pagesShops/components/mcc-category.vue @@ -0,0 +1,302 @@ + + + \ No newline at end of file diff --git a/pagesShops/components/shop-select.vue b/pagesShops/components/shop-select.vue new file mode 100644 index 0000000..b90f3d0 --- /dev/null +++ b/pagesShops/components/shop-select.vue @@ -0,0 +1,203 @@ + + + \ No newline at end of file diff --git a/pagesShops/components/u-city-select.vue b/pagesShops/components/u-city-select.vue new file mode 100644 index 0000000..cfcde60 --- /dev/null +++ b/pagesShops/components/u-city-select.vue @@ -0,0 +1,257 @@ + + + + diff --git a/pagesShops/data.js b/pagesShops/data.js new file mode 100644 index 0000000..43dd4f3 --- /dev/null +++ b/pagesShops/data.js @@ -0,0 +1,28 @@ +export const shopTypes = { + 'only': '单店', + 'chain': '连锁店', + 'join': '加盟店', +} + +export const registerTypes = { + 'before': '快餐版', + 'after': '餐饮版', +} + +export const profiless = { + probation: '试用', + release: '正式', +} +export const statuss = { + 1: '开启', + 0: '关闭' +} +export const tubeTypes = { + 1: '直接管理', + 0: '不可直接管理' +} + +export const channels = { + 'poly': '聚合支付', + 'native': '支付进件', +} \ No newline at end of file diff --git a/pagesShops/index/index.vue b/pagesShops/index/index.vue new file mode 100644 index 0000000..3da74c1 --- /dev/null +++ b/pagesShops/index/index.vue @@ -0,0 +1,415 @@ + + + + + \ No newline at end of file diff --git a/pagesShops/pay-config/pay-config.vue b/pagesShops/pay-config/pay-config.vue new file mode 100644 index 0000000..aad0120 --- /dev/null +++ b/pagesShops/pay-config/pay-config.vue @@ -0,0 +1,615 @@ + + + + + \ No newline at end of file