Browse Source

update

master
boom 4 years ago
parent
commit
acae75a307
  1. 2
      .env.development
  2. 106
      package.json
  3. 11
      src/components/Management/AddDialog.vue
  4. 1
      src/components/Management/Container.vue
  5. 8
      src/components/Management/checkDialog.vue

2
.env.development

@ -3,7 +3,7 @@ ENV = 'development'
VUE_APP_PROJECT_NAME = 'cereshop-admin-web' VUE_APP_PROJECT_NAME = 'cereshop-admin-web'
# 请求服务配置 # 请求服务配置
VUE_APP_DEV_REQUEST_DOMAIN_PREFIX = 'https://ceres.zkthink.com' VUE_APP_DEV_REQUEST_DOMAIN_PREFIX = 'http://192.168.10.78:8764'
# 是否启用验证码 # 是否启用验证码
VUE_APP_IS_CAPTCHA = true VUE_APP_IS_CAPTCHA = true

106
package.json

@ -41,74 +41,76 @@
"url": "" "url": ""
}, },
"dependencies": { "dependencies": {
"@riophae/vue-treeselect": "0.0.38", "@riophae/vue-treeselect": "^0.4.0",
"axios": "^0.19.0", "acorn": "^6.4.1",
"chromedriver": "^79.0.0", "axios": "^0.20.0",
"clipboard": "2.0.4", "clipboard": "^2.0.6",
"codemirror": "5.45.0", "codemirror": "^5.57.0",
"core-js": "^2.6.11", "core-js": "^3.6.5",
"css-loader": "^3.5.3", "css-loader": "^4.2.2",
"dragula": "^3.7.2", "dragula": "^3.7.2",
"driver.js": "0.9.5", "driver.js": "^0.9.8",
"dropzone": "5.5.1", "dropzone": "^5.7.2",
"echarts": "^4.2.1", "echarts": "^4.2.1",
"element-ui": "2.12.0", "element-ui": "^2.13.2",
"file-saver": "2.0.1", "file-saver": "^2.0.2",
"fuse.js": "3.4.4", "fuse.js": "^6.4.1",
"jsonlint": "1.6.3", "jsonlint": "1.6.3",
"jszip": "3.2.1", "jszip": "^3.5.0",
"less-loader": "^6.1.0", "less": "^3.12.2",
"normalize.css": "7.0.0", "less-loader": "^7.0.0",
"normalize.css": "^8.0.1",
"nprogress": "0.2.0", "nprogress": "0.2.0",
"path-to-regexp": "2.4.0", "path-to-regexp": "^6.1.0",
"screenfull": "4.2.0", "screenfull": "^5.0.2",
"showdown": "1.9.0", "showdown": "^1.9.1",
"sortablejs": "1.8.4", "sortablejs": "^1.10.2",
"tui-editor": "1.3.3", "tui-editor": "^1.4.10",
"v-viewer": "^1.5.1", "v-viewer": "^1.5.1",
"vue": "2.6.10", "vue": "^2.6.12",
"vue-count-to": "^1.0.13", "vue-count-to": "^1.0.13",
"vue-i18n": "7.3.2", "vue-i18n": "^8.21.0",
"vue-loader": "^15.9.2", "vue-loader": "^15.9.2",
"vue-photo-preview": "^1.1.3", "vue-photo-preview": "^1.1.3",
"vue-quill-editor": "^3.0.6", "vue-quill-editor": "^3.0.6",
"vue-router": "3.0.2", "vue-router": "^3.4.3",
"vue-splitpane": "1.0.4", "vue-splitpane": "^1.0.6",
"vuedraggable": "2.20.0", "vuedraggable": "^2.24.1",
"vuex": "3.1.0", "vuex": "^3.5.1",
"xlsx": "0.14.1" "webpack": "^4.44.1",
"xlsx": "^0.16.6"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "7.0.0", "@babel/core": "^7.11.4",
"@babel/register": "7.0.0", "@babel/register": "^7.10.5",
"@vue/cli-plugin-babel": "3.5.3", "@vue/cli-plugin-babel": "^4.5.4",
"@vue/cli-plugin-eslint": "3.5.1", "@vue/cli-plugin-eslint": "^4.5.4",
"@vue/cli-plugin-unit-jest": "^3.9.0", "@vue/cli-plugin-unit-jest": "^4.5.4",
"@vue/cli-service": "3.5.3", "@vue/cli-service": "^4.5.4",
"@vue/test-utils": "1.0.0-beta.29", "@vue/test-utils": "^1.0.4",
"autoprefixer": "^9.5.1", "autoprefixer": "^9.5.1",
"babel-core": "7.0.0-bridge.0", "babel-core": "^7.0.0-bridge.0",
"babel-eslint": "8.0.1", "babel-eslint": "^10.1.0",
"babel-jest": "23.6.0", "babel-jest": "^26.3.0",
"chalk": "2.4.2", "chalk": "^4.1.0",
"chokidar": "2.1.5", "chokidar": "^3.4.2",
"connect": "3.6.6", "connect": "^3.7.0",
"eslint": "5.15.3", "eslint": "^7.7.0",
"eslint-plugin-vue": "5.2.2", "eslint-plugin-vue": "^6.2.2",
"html-webpack-plugin": "3.2.0", "html-webpack-plugin": "^4.3.0",
"husky": "1.3.1", "husky": "^4.2.5",
"lint-staged": "8.1.5", "lint-staged": "^10.2.13",
"mockjs": "1.0.1-beta3", "mockjs": "^1.1.0",
"node-sass": "^4.13.1", "node-sass": "^4.13.1",
"plop": "2.3.0", "plop": "^2.7.4",
"runjs": "^4.3.2", "runjs": "^4.3.2",
"sass-loader": "^7.1.0", "sass-loader": "^10.0.1",
"script-ext-html-webpack-plugin": "2.1.3", "script-ext-html-webpack-plugin": "^2.1.4",
"script-loader": "0.7.2", "script-loader": "0.7.2",
"serve-static": "^1.13.2", "serve-static": "^1.13.2",
"svg-sprite-loader": "4.1.3", "svg-sprite-loader": "^5.0.0",
"svgo": "1.2.0", "svgo": "^1.3.2",
"vue-template-compiler": "2.6.10" "vue-template-compiler": "^2.6.12"
}, },
"engines": { "engines": {
"node": ">=8.9", "node": ">=8.9",

11
src/components/Management/AddDialog.vue

@ -68,6 +68,14 @@
<Option label="无效" value="FORBIDDEN" /> <Option label="无效" value="FORBIDDEN" />
</Select> </Select>
</form-item> </form-item>
<form-item label="收单类型">
<Select v-model="formParams.posType.code" size="mini">
<Option label="普通餐饮" value="NORMALSTORE" />
<Option label="快消奶茶" value="FASTSTORE" />
</Select>
</form-item>
<form-item size="large"> <form-item size="large">
<Button type="primary" @click="next">下一步</Button> <Button type="primary" @click="next">下一步</Button>
<Button @click="close">取消</Button> <Button @click="close">取消</Button>
@ -179,6 +187,9 @@ export default {
return { return {
activeName: 'authorize', activeName: 'authorize',
formParams: { formParams: {
posType: {
code: 'NORMALSTORE'
},
status: { status: {
code: 'NORMAL' code: 'NORMAL'
} }

1
src/components/Management/Container.vue

@ -3,6 +3,7 @@
<Table :data="dataList.records" style="width: 100%" border> <Table :data="dataList.records" style="width: 100%" border>
<table-column prop="name" label="店铺名称" /> <table-column prop="name" label="店铺名称" />
<table-column prop="code" label="店铺编码" /> <table-column prop="code" label="店铺编码" />
<table-column prop="posType.desc" label="店铺类型" width="180" />
<table-column prop="duty" label="负责人" width="180" /> <table-column prop="duty" label="负责人" width="180" />
<table-column prop="contactTel" label="联系电话" width="180" /> <table-column prop="contactTel" label="联系电话" width="180" />
<table-column label="合同状态" width="180"> <table-column label="合同状态" width="180">

8
src/components/Management/checkDialog.vue

@ -78,6 +78,14 @@
clearable clearable
/> />
</form-item> </form-item>
<form-item label="收单类型">
<Select v-model="dataMap.posType.code" size="mini">
<Option label="普通餐饮" value="NORMALSTORE" />
<Option label="快消餐饮" value="FASTSTORE" />
</Select>
</form-item>
<form-item size="large"> <form-item size="large">
<Button v-if="!dataMap.check" type="primary" @click="sumbit">确定</Button> <Button v-if="!dataMap.check" type="primary" @click="sumbit">确定</Button>
</form-item> </form-item>

Loading…
Cancel
Save