diff --git a/package.json b/package.json index 57797995..d36ba8d3 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,6 @@ "serve": "vite preview --host" }, "dependencies": { - "@amap/amap-jsapi-loader": "^1.0.1", "@antfu/utils": "^0.7.2", "@element-plus/icons-vue": "^2.0.9", "@saber/nf-design-base-elp": "^1.0.0", @@ -15,7 +14,6 @@ "@wangeditor/editor": "^5.1.23", "@wangeditor/editor-for-vue": "^5.1.12", "animate.css": "^4.1.1", - "avue-plugin-map": "^1.0.1", "axios": "^0.21.1", "crypto-js": "^4.1.1", "dayjs": "^1.10.6", @@ -29,8 +27,7 @@ "nprogress": "^0.2.0", "vite-plugin-mock": "^2.9.4", "vue": "^3.2.40", - "vue-amap": "^0.5.10", - "vue-bmap-gl": "^0.1.2", + "vue-baidu-map": "^0.21.22", "vue-i18n": "^9.1.9", "vue-router": "^4.1.5", "vuex": "^4.0.2" diff --git a/src/api/basicdata/basicStoreContact.js b/src/api/basicdata/basicStoreContact.js index 23b1beb4..9bb7152a 100644 --- a/src/api/basicdata/basicStoreContact.js +++ b/src/api/basicdata/basicStoreContact.js @@ -22,6 +22,13 @@ export const getListStore = (current, size, params) => { } }) } +export const updateCargoControl = (row) => { + return request({ + url: '/api/logpm-basicdata/basicdataStoreContact/update', + method: 'post', + data: row + }) +} export const getDetail = (id) => { return request({ diff --git a/src/main.js b/src/main.js index fb1c7da6..ea9563ab 100644 --- a/src/main.js +++ b/src/main.js @@ -27,10 +27,6 @@ import dayjs from 'dayjs'; import 'styles/common.scss'; // 业务组件 import tenantPackage from './views/system/tenantpackage.vue'; -import AvueMap from 'avue-plugin-map'; -import AMap from 'vue-amap' - - window.$crudCommon = crudCommon; @@ -51,8 +47,7 @@ app.config.globalProperties.website = website; app.config.globalProperties.getScreen = getScreen; app.use(error); app.use(i18n); -app.use(AvueMap); -app.use(AMap); + diff --git a/src/option/basicdata/basicClientFrom.js b/src/option/basicdata/basicClientFrom.js new file mode 100644 index 00000000..ed1d5278 --- /dev/null +++ b/src/option/basicdata/basicClientFrom.js @@ -0,0 +1,132 @@ +export default { + expand: false, + index: true, + border: true, + selection: true, + column: [ + { + label: "租户号", + prop: "tenantId", + display: false, + hide: true, + }, + { + label: "创建人", + prop: "createUser", + display: true, + hide: true, + }, + { + label: "创建时间", + prop: "createTime", + display: false, + hide: true, + }, + { + label: "更新人", + prop: "updateUser", + display: false, + hide: true, + }, + { + label: "更新时间", + prop: "updateTime", + display: false, + hide: true, + }, + { + label: "状态", + prop: "status", + display: false, + hide: true, + }, + { + label: "是否已删除", + prop: "isDeleted", + display: false, + hide: true, + }, + { + label: "创建部门", + prop: "createDept", + display: false, + hide: true, + }, + { + label: "主键", + prop: "id", + display: false, + hide: true, + }, + { + label: "预留1", + prop: "reserve1", + display: false, + hide: true, + }, + { + label: "预留2", + prop: "reserve2", + display: false, + hide: true, + }, + { + label: "预留3", + prop: "reserve3", + display: false, + hide: true, + }, + { + label: "预留4", + prop: "reserve4", + display: false, + hide: true, + }, + { + label: "预留5", + prop: "reserve5", + display: false, + hide: true, + }, + { + label: "客户名称", + prop: "clientName", + search: true, + }, + { + label: "客户类型", + prop: "clientType", + search: true, + hide: true, + }, + { + label: "客户类型", + prop: "typeService", + search: true, + }, + { + label: "地址", + prop: "bladeRegionProvinceId", + search: true, + }, + { + label: "合同附件", + prop: "fileName", + }, + { + label: "控货", + prop: "cargoControl", + hide: true, + }, + { + label: "合同开始时间", + prop: "contractStartTime", + search: true, + }, + { + label: "合同结束时间", + prop: "contractEntTime", + search: true, + }, + ] +} diff --git a/src/option/basicdata/basicStoreContact.js b/src/option/basicdata/basicStoreContact.js index a37063d9..c1f862fd 100644 --- a/src/option/basicdata/basicStoreContact.js +++ b/src/option/basicdata/basicStoreContact.js @@ -98,6 +98,11 @@ export default { prop: "phone", search: true, }, + { + label: "默认联系人", + prop: "defaultType", + search: true, + }, { label: "创建时间", prop: "createTime", diff --git a/src/views/basicdata/brand/basicClient.vue b/src/views/basicdata/brand/basicClient.vue index 749dc188..a19f3c69 100644 --- a/src/views/basicdata/brand/basicClient.vue +++ b/src/views/basicdata/brand/basicClient.vue @@ -108,6 +108,8 @@ 商场 装饰 个人 + 待调整 + 待调整 @@ -150,6 +152,9 @@ 联系人 + + 品牌 + @@ -361,7 +366,7 @@