Commit 152cc1b7 by 张立顺

Merge branch 'dev_v4.25.0' into 'develop'

Dev v4.25.0

See merge request !5
2 parents 05228015 1f97075c
...@@ -6,12 +6,14 @@ ...@@ -6,12 +6,14 @@
"extends": ["plugin:vue/essential", "@vue/prettier"], "extends": ["plugin:vue/essential", "@vue/prettier"],
"rules": { "rules": {
"no-console": "off", "no-console": "off",
"no-unused-vars":"off", "no-unused-vars": "off",
"prettier.endOfLine": "crlf", "prettier.endOfLine": "crlf",
"endOfLine":"auto" "endOfLine": "auto"
}, },
"parserOptions": { "parserOptions": {
"parser": "babel-eslint" "parser": "babel-eslint"
},
"globals": {
"AMap": true
} }
} }
module.exports = { module.exports = {
presets: ["@vue/cli-plugin-babel/preset"], presets: ['@vue/cli-plugin-babel/preset'],
plugins: [ plugins: [
[ [
"component", 'component',
{ {
libraryName: "element-ui", libraryName: 'element-ui',
styleLibraryName: "theme-chalk" styleLibraryName: 'theme-chalk'
} }
] ]
] ]
}; }
...@@ -1895,51 +1895,6 @@ ...@@ -1895,51 +1895,6 @@
"integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==",
"dev": true "dev": true
}, },
"ansi-styles": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"dev": true,
"optional": true,
"requires": {
"color-convert": "^2.0.1"
}
},
"chalk": {
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
"dev": true,
"optional": true,
"requires": {
"ansi-styles": "^4.1.0",
"supports-color": "^7.1.0"
}
},
"color-convert": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
"dev": true,
"optional": true,
"requires": {
"color-name": "~1.1.4"
}
},
"color-name": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"dev": true,
"optional": true
},
"has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
"dev": true,
"optional": true
},
"ssri": { "ssri": {
"version": "8.0.1", "version": "8.0.1",
"resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz", "resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz",
...@@ -1948,28 +1903,6 @@ ...@@ -1948,28 +1903,6 @@
"requires": { "requires": {
"minipass": "^3.1.1" "minipass": "^3.1.1"
} }
},
"supports-color": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
"dev": true,
"optional": true,
"requires": {
"has-flag": "^4.0.0"
}
},
"vue-loader-v16": {
"version": "npm:vue-loader@16.8.3",
"resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-16.8.3.tgz",
"integrity": "sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA==",
"dev": true,
"optional": true,
"requires": {
"chalk": "^4.1.0",
"hash-sum": "^2.0.0",
"loader-utils": "^2.0.0"
}
} }
} }
}, },
...@@ -2268,12 +2201,6 @@ ...@@ -2268,12 +2201,6 @@
"integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==", "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==",
"dev": true "dev": true
}, },
"abbrev": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz",
"integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==",
"dev": true
},
"accepts": { "accepts": {
"version": "1.3.8", "version": "1.3.8",
"resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz",
...@@ -2338,12 +2265,6 @@ ...@@ -2338,12 +2265,6 @@
"integrity": "sha512-0FcBfdcmaumGPQ0qPn7Q5qTgz/ooXgIyp1rf8ik5bGX8mpE2YHjC0P/eyQvxu1GURYQgq9ozf2mteQ5ZD9YiyQ==", "integrity": "sha512-0FcBfdcmaumGPQ0qPn7Q5qTgz/ooXgIyp1rf8ik5bGX8mpE2YHjC0P/eyQvxu1GURYQgq9ozf2mteQ5ZD9YiyQ==",
"dev": true "dev": true
}, },
"amdefine": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz",
"integrity": "sha512-S2Hw0TtNkMJhIabBwIojKL9YHO5T0n5eNqWJ7Lrlel/zDbftQpxpapi8tZs3X1HWa+u+QeydGmzzNU0m09+Rcg==",
"dev": true
},
"ansi-colors": { "ansi-colors": {
"version": "3.2.4", "version": "3.2.4",
"resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-3.2.4.tgz", "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-3.2.4.tgz",
...@@ -2416,16 +2337,6 @@ ...@@ -2416,16 +2337,6 @@
"integrity": "sha512-Of/R0wqp83cgHozfIYLbBMnej79U/SVGOOyuB3VVFv1NRM/PSFMK12x9KVtiYzJqmnU5WR2qp0Z5rHb7sWGnFQ==", "integrity": "sha512-Of/R0wqp83cgHozfIYLbBMnej79U/SVGOOyuB3VVFv1NRM/PSFMK12x9KVtiYzJqmnU5WR2qp0Z5rHb7sWGnFQ==",
"dev": true "dev": true
}, },
"are-we-there-yet": {
"version": "1.1.7",
"resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.7.tgz",
"integrity": "sha512-nxwy40TuMiUGqMyRHgCSWZ9FM4VAoRP4xUYSTv5ImRog+h9yISPbVH7H8fASCIzYn9wlEv4zvFL7uKDMCFQm3g==",
"dev": true,
"requires": {
"delegates": "^1.0.0",
"readable-stream": "^2.0.6"
}
},
"argparse": { "argparse": {
"version": "1.0.10", "version": "1.0.10",
"resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
...@@ -2463,12 +2374,6 @@ ...@@ -2463,12 +2374,6 @@
"is-array-buffer": "^3.0.1" "is-array-buffer": "^3.0.1"
} }
}, },
"array-find-index": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz",
"integrity": "sha512-M1HQyIXcBGtVywBt8WVdim+lrNaK7VHp99Qt5pSNziXznKHViIBbXWtfRTpEFpF/c4FdfxNAsCCwPp5phBYJtw==",
"dev": true
},
"array-flatten": { "array-flatten": {
"version": "1.1.1", "version": "1.1.1",
"resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz",
...@@ -2598,12 +2503,6 @@ ...@@ -2598,12 +2503,6 @@
"integrity": "sha512-c646jH1avxr+aVpndVMeAfYw7wAa6idufrlN3LPA4PmKS0QEGp6PIC9nwz0WQkkvBGAMEki3pFdtxaF39J9vvg==", "integrity": "sha512-c646jH1avxr+aVpndVMeAfYw7wAa6idufrlN3LPA4PmKS0QEGp6PIC9nwz0WQkkvBGAMEki3pFdtxaF39J9vvg==",
"dev": true "dev": true
}, },
"async-foreach": {
"version": "0.1.3",
"resolved": "https://registry.npmjs.org/async-foreach/-/async-foreach-0.1.3.tgz",
"integrity": "sha512-VUeSMD8nEGBWaZK4lizI1sf3yEC7pnAQ/mrI7pC2fBz2s/tq5jWWEngTwaf0Gruu/OoXRGLGg1XFqpYBiGTYJA==",
"dev": true
},
"async-limiter": { "async-limiter": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz", "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz",
...@@ -2910,17 +2809,7 @@ ...@@ -2910,17 +2809,7 @@
"version": "2.2.0", "version": "2.2.0",
"resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz",
"integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==",
"dev": true, "dev": true
"optional": true
},
"block-stream": {
"version": "0.0.9",
"resolved": "https://registry.npmjs.org/block-stream/-/block-stream-0.0.9.tgz",
"integrity": "sha512-OorbnJVPII4DuUKbjARAe8u8EfqOmkEEaSFIyoQ7OjTHn6kafxWl0wLgoZ2rXaYd7MyLcDaU4TmhfxtwgcccMQ==",
"dev": true,
"requires": {
"inherits": "~2.0.0"
}
}, },
"bluebird": { "bluebird": {
"version": "3.7.2", "version": "3.7.2",
...@@ -3328,24 +3217,6 @@ ...@@ -3328,24 +3217,6 @@
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-1.2.1.tgz", "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-1.2.1.tgz",
"integrity": "sha512-wzLkDa4K/mzI1OSITC+DUyjgIl/ETNHE9QvYgy6J6Jvqyyz4C0Xfd+lQhb19sX2jMpZV4IssUn0VDVmglV+s4g==" "integrity": "sha512-wzLkDa4K/mzI1OSITC+DUyjgIl/ETNHE9QvYgy6J6Jvqyyz4C0Xfd+lQhb19sX2jMpZV4IssUn0VDVmglV+s4g=="
}, },
"camelcase-keys": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz",
"integrity": "sha512-bA/Z/DERHKqoEOrp+qeGKw1QlvEQkGZSc0XaY6VnTxZr+Kv1G5zFwttpjv8qxZ/sBPT4nthwZaAcsAZTJlSKXQ==",
"dev": true,
"requires": {
"camelcase": "^2.0.0",
"map-obj": "^1.0.0"
},
"dependencies": {
"camelcase": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz",
"integrity": "sha512-DLIsRzJVBQu72meAKPkWQOLcujdXT32hwdfnkI1frSiSRMK1MofjKHf+MEx0SB6fjEFXL8fBDv1dKymBlOp4Qw==",
"dev": true
}
}
},
"caniuse-api": { "caniuse-api": {
"version": "3.0.0", "version": "3.0.0",
"resolved": "https://registry.npmjs.org/caniuse-api/-/caniuse-api-3.0.0.tgz", "resolved": "https://registry.npmjs.org/caniuse-api/-/caniuse-api-3.0.0.tgz",
...@@ -3409,7 +3280,6 @@ ...@@ -3409,7 +3280,6 @@
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz",
"integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==",
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"anymatch": "~3.1.2", "anymatch": "~3.1.2",
"braces": "~3.0.2", "braces": "~3.0.2",
...@@ -3426,7 +3296,6 @@ ...@@ -3426,7 +3296,6 @@
"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
"integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"fill-range": "^7.0.1" "fill-range": "^7.0.1"
} }
...@@ -3436,7 +3305,6 @@ ...@@ -3436,7 +3305,6 @@
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
"integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"to-regex-range": "^5.0.1" "to-regex-range": "^5.0.1"
} }
...@@ -3445,15 +3313,13 @@ ...@@ -3445,15 +3313,13 @@
"version": "7.0.0", "version": "7.0.0",
"resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
"integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
"dev": true, "dev": true
"optional": true
}, },
"to-regex-range": { "to-regex-range": {
"version": "5.0.1", "version": "5.0.1",
"resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
"integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"is-number": "^7.0.0" "is-number": "^7.0.0"
} }
...@@ -3684,7 +3550,7 @@ ...@@ -3684,7 +3550,7 @@
}, },
"clone-deep": { "clone-deep": {
"version": "4.0.1", "version": "4.0.1",
"resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz", "resolved": "https://registry.npmmirror.com/clone-deep/-/clone-deep-4.0.1.tgz",
"integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==", "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==",
"dev": true, "dev": true,
"requires": { "requires": {
...@@ -3704,12 +3570,6 @@ ...@@ -3704,12 +3570,6 @@
"q": "^1.1.2" "q": "^1.1.2"
} }
}, },
"code-point-at": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz",
"integrity": "sha512-RpAVKQA5T63xEj6/giIbUEtZwJ4UFIc3ZtvEkiaUERylqe8xb5IvqcgOurZLahv93CLKfxcw5YI+DZcUBRyLXA==",
"dev": true
},
"collection-visit": { "collection-visit": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz",
...@@ -3865,12 +3725,6 @@ ...@@ -3865,12 +3725,6 @@
"integrity": "sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA==", "integrity": "sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA==",
"dev": true "dev": true
}, },
"console-control-strings": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz",
"integrity": "sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==",
"dev": true
},
"consolidate": { "consolidate": {
"version": "0.15.1", "version": "0.15.1",
"resolved": "https://registry.npmjs.org/consolidate/-/consolidate-0.15.1.tgz", "resolved": "https://registry.npmjs.org/consolidate/-/consolidate-0.15.1.tgz",
...@@ -4553,15 +4407,6 @@ ...@@ -4553,15 +4407,6 @@
"resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.1.tgz", "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.1.tgz",
"integrity": "sha512-DJR/VvkAvSZW9bTouZue2sSxDwdTN92uHjqeKVm+0dAqdfNykRzQ95tay8aXMBAAPpUiq4Qcug2L7neoRh2Egw==" "integrity": "sha512-DJR/VvkAvSZW9bTouZue2sSxDwdTN92uHjqeKVm+0dAqdfNykRzQ95tay8aXMBAAPpUiq4Qcug2L7neoRh2Egw=="
}, },
"currently-unhandled": {
"version": "0.4.1",
"resolved": "https://registry.npmjs.org/currently-unhandled/-/currently-unhandled-0.4.1.tgz",
"integrity": "sha512-/fITjgjGU50vjQ4FH6eUoYu+iUoUKIXws2hL15JJpIR+BbTxaXQsMuuyjtNh2WqsSBS5nsaZHFsFecyw5CCAng==",
"dev": true,
"requires": {
"array-find-index": "^1.0.1"
}
},
"cyclist": { "cyclist": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/cyclist/-/cyclist-1.0.1.tgz", "resolved": "https://registry.npmjs.org/cyclist/-/cyclist-1.0.1.tgz",
...@@ -4853,12 +4698,6 @@ ...@@ -4853,12 +4698,6 @@
"integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==",
"dev": true "dev": true
}, },
"delegates": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz",
"integrity": "sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==",
"dev": true
},
"depd": { "depd": {
"version": "2.0.0", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz",
...@@ -6247,18 +6086,6 @@ ...@@ -6247,18 +6086,6 @@
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"fstream": {
"version": "1.0.12",
"resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.12.tgz",
"integrity": "sha512-WvJ193OHa0GHPEL+AycEJgxvBEwyfRkN1vhjca23OaPVMCaLCXTd5qAu82AjTcgP1UJmytkOKb63Ypde7raDIg==",
"dev": true,
"requires": {
"graceful-fs": "^4.1.2",
"inherits": "~2.0.0",
"mkdirp": ">=0.5 0",
"rimraf": "2"
}
},
"function-bind": { "function-bind": {
"version": "1.1.1", "version": "1.1.1",
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
...@@ -6288,68 +6115,6 @@ ...@@ -6288,68 +6115,6 @@
"integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==",
"dev": true "dev": true
}, },
"gauge": {
"version": "2.7.4",
"resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz",
"integrity": "sha512-14x4kjc6lkD3ltw589k0NrPD6cCNTD6CWoVUNpB85+DrtONoZn+Rug6xZU5RvSC4+TZPxA5AnBibQYAvZn41Hg==",
"dev": true,
"requires": {
"aproba": "^1.0.3",
"console-control-strings": "^1.0.0",
"has-unicode": "^2.0.0",
"object-assign": "^4.1.0",
"signal-exit": "^3.0.0",
"string-width": "^1.0.1",
"strip-ansi": "^3.0.1",
"wide-align": "^1.1.0"
},
"dependencies": {
"ansi-regex": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
"integrity": "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==",
"dev": true
},
"is-fullwidth-code-point": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz",
"integrity": "sha512-1pqUqRjkhPJ9miNq9SwMfdvi6lBJcd6eFxvfaivQhaH3SgisfiuudvFntdKOmxuee/77l+FPjKrQjWvmPjWrRw==",
"dev": true,
"requires": {
"number-is-nan": "^1.0.0"
}
},
"string-width": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",
"integrity": "sha512-0XsVpQLnVCXHJfyEs8tC0zpTVIr5PKKsQtkT29IwupnPTjtPmQ3xT/4yCREF9hYkV/3M3kzcUTSAZT6a6h81tw==",
"dev": true,
"requires": {
"code-point-at": "^1.0.0",
"is-fullwidth-code-point": "^1.0.0",
"strip-ansi": "^3.0.0"
}
},
"strip-ansi": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
"integrity": "sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==",
"dev": true,
"requires": {
"ansi-regex": "^2.0.0"
}
}
}
},
"gaze": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/gaze/-/gaze-1.1.3.tgz",
"integrity": "sha512-BRdNm8hbWzFzWHERTrejLqwHDfS4GibPoq5wjTPIoJHoBtKGPg3xAFfxmM+9ztbXelxcf2hwQcaz1PtmFeue8g==",
"dev": true,
"requires": {
"globule": "^1.0.0"
}
},
"gensync": { "gensync": {
"version": "1.0.0-beta.2", "version": "1.0.0-beta.2",
"resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz",
...@@ -6431,7 +6196,6 @@ ...@@ -6431,7 +6196,6 @@
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
"integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"is-glob": "^4.0.1" "is-glob": "^4.0.1"
} }
...@@ -6473,42 +6237,6 @@ ...@@ -6473,42 +6237,6 @@
"slash": "^2.0.0" "slash": "^2.0.0"
} }
}, },
"globule": {
"version": "1.3.4",
"resolved": "https://registry.npmjs.org/globule/-/globule-1.3.4.tgz",
"integrity": "sha512-OPTIfhMBh7JbBYDpa5b+Q5ptmMWKwcNcFSR/0c6t8V4f3ZAVBEsKNY37QdVqmLRYSMhOUGYrY0QhSoEpzGr/Eg==",
"dev": true,
"requires": {
"glob": "~7.1.1",
"lodash": "^4.17.21",
"minimatch": "~3.0.2"
},
"dependencies": {
"glob": {
"version": "7.1.7",
"resolved": "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz",
"integrity": "sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==",
"dev": true,
"requires": {
"fs.realpath": "^1.0.0",
"inflight": "^1.0.4",
"inherits": "2",
"minimatch": "^3.0.4",
"once": "^1.3.0",
"path-is-absolute": "^1.0.0"
}
},
"minimatch": {
"version": "3.0.8",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.8.tgz",
"integrity": "sha512-6FsRAQsxQ61mw+qP1ZzbL9Bc78x2p5OqNgNpnoAFLTrX8n5Kxph0CsnhmKKNXTWjXqU5L0pGPR7hYk+XWZr60Q==",
"dev": true,
"requires": {
"brace-expansion": "^1.1.7"
}
}
}
},
"glsx-common": { "glsx-common": {
"version": "2.1.0", "version": "2.1.0",
"resolved": "https://registry.npmjs.org/glsx-common/-/glsx-common-2.1.0.tgz", "resolved": "https://registry.npmjs.org/glsx-common/-/glsx-common-2.1.0.tgz",
...@@ -6602,23 +6330,6 @@ ...@@ -6602,23 +6330,6 @@
"function-bind": "^1.1.1" "function-bind": "^1.1.1"
} }
}, },
"has-ansi": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz",
"integrity": "sha512-C8vBJ8DwUCx19vhm7urhTuUsr4/IyP6l4VzNQDv+ryHQObW3TTTp9yB68WpYgRe2bbaGuZ/se74IqFeVnMnLZg==",
"dev": true,
"requires": {
"ansi-regex": "^2.0.0"
},
"dependencies": {
"ansi-regex": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
"integrity": "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==",
"dev": true
}
}
},
"has-bigints": { "has-bigints": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz",
...@@ -6660,12 +6371,6 @@ ...@@ -6660,12 +6371,6 @@
"has-symbols": "^1.0.2" "has-symbols": "^1.0.2"
} }
}, },
"has-unicode": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz",
"integrity": "sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==",
"dev": true
},
"has-value": { "has-value": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz",
...@@ -7108,6 +6813,12 @@ ...@@ -7108,6 +6813,12 @@
"integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==",
"dev": true "dev": true
}, },
"immutable": {
"version": "4.3.1",
"resolved": "https://registry.npmmirror.com/immutable/-/immutable-4.3.1.tgz",
"integrity": "sha512-lj9cnmB/kVS0QHsJnYKD1uo3o39nrbKxszjnqS9Fr6NB7bZzW45U6WSGBPKXDL/CvDKqDNPA4r3DoDQ8GTxo2A==",
"dev": true
},
"import-cwd": { "import-cwd": {
"version": "2.1.0", "version": "2.1.0",
"resolved": "https://registry.npmjs.org/import-cwd/-/import-cwd-2.1.0.tgz", "resolved": "https://registry.npmjs.org/import-cwd/-/import-cwd-2.1.0.tgz",
...@@ -7197,21 +6908,6 @@ ...@@ -7197,21 +6908,6 @@
"integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==",
"dev": true "dev": true
}, },
"in-publish": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/in-publish/-/in-publish-2.0.1.tgz",
"integrity": "sha512-oDM0kUSNFC31ShNxHKUyfZKy8ZeXZBWMjMdZHKLOk13uvT27VTL/QzRGfRUcevJhpkZAvlhPYuXkF7eNWrtyxQ==",
"dev": true
},
"indent-string": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz",
"integrity": "sha512-aqwDFWSgSgfRaEwao5lg5KEcVd/2a+D1rvoG7NdilmYz0NwRk6StWpWdz/Hpk34MKPpx7s8XxUqimfcQK6gGlg==",
"dev": true,
"requires": {
"repeating": "^2.0.0"
}
},
"indexes-of": { "indexes-of": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/indexes-of/-/indexes-of-1.0.1.tgz", "resolved": "https://registry.npmjs.org/indexes-of/-/indexes-of-1.0.1.tgz",
...@@ -7464,7 +7160,6 @@ ...@@ -7464,7 +7160,6 @@
"resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
"integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"binary-extensions": "^2.0.0" "binary-extensions": "^2.0.0"
} }
...@@ -7594,12 +7289,6 @@ ...@@ -7594,12 +7289,6 @@
"integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
"dev": true "dev": true
}, },
"is-finite": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.1.0.tgz",
"integrity": "sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w==",
"dev": true
},
"is-fullwidth-code-point": { "is-fullwidth-code-point": {
"version": "3.0.0", "version": "3.0.0",
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
...@@ -7763,12 +7452,6 @@ ...@@ -7763,12 +7452,6 @@
"integrity": "sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==", "integrity": "sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==",
"dev": true "dev": true
}, },
"is-utf8": {
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz",
"integrity": "sha512-rMYPYvCzsXywIsldgLaSoPlw5PfoB/ssr7hY4pLfcodrA5M/eArza1a9VmTiNIBNMjOGr1Ow9mTyU2o69U6U9Q==",
"dev": true
},
"is-weakref": { "is-weakref": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz",
...@@ -7820,12 +7503,6 @@ ...@@ -7820,12 +7503,6 @@
"integrity": "sha512-JVAfqNPTvNq3sB/VHQJAFxN/sPgKnsKrCwyRt15zwNCdrMMJDdcEOdubuy+DuJYYdm0ox1J4uzEuYKkN+9yhVg==", "integrity": "sha512-JVAfqNPTvNq3sB/VHQJAFxN/sPgKnsKrCwyRt15zwNCdrMMJDdcEOdubuy+DuJYYdm0ox1J4uzEuYKkN+9yhVg==",
"dev": true "dev": true
}, },
"js-base64": {
"version": "2.6.4",
"resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.6.4.tgz",
"integrity": "sha512-pZe//GGmwJndub7ZghVHz7vjb2LgC1m8B07Au3eYqeqv9emhESByMXxaEgkUkEqJe87oBbSniGYoQNIBklc7IQ==",
"dev": true
},
"js-message": { "js-message": {
"version": "1.0.7", "version": "1.0.7",
"resolved": "https://registry.npmjs.org/js-message/-/js-message-1.0.7.tgz", "resolved": "https://registry.npmjs.org/js-message/-/js-message-1.0.7.tgz",
...@@ -7970,36 +7647,6 @@ ...@@ -7970,36 +7647,6 @@
"integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==",
"dev": true "dev": true
}, },
"load-json-file": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz",
"integrity": "sha512-cy7ZdNRXdablkXYNI049pthVeXFurRyb9+hA/dZzerZ0pGTx42z+y+ssxBaVV2l70t1muq5IdKhn4UtcoGUY9A==",
"dev": true,
"requires": {
"graceful-fs": "^4.1.2",
"parse-json": "^2.2.0",
"pify": "^2.0.0",
"pinkie-promise": "^2.0.0",
"strip-bom": "^2.0.0"
},
"dependencies": {
"parse-json": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz",
"integrity": "sha512-QR/GGaKCkhwk1ePQNYDRKYZ3mwU9ypsKhB0XyFnLQdomyEqk3e8wpW3V5Jp88zbxK4n5ST1nqo+g9juTpownhQ==",
"dev": true,
"requires": {
"error-ex": "^1.2.0"
}
},
"pify": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
"integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==",
"dev": true
}
}
},
"loader-fs-cache": { "loader-fs-cache": {
"version": "1.0.3", "version": "1.0.3",
"resolved": "https://registry.npmjs.org/loader-fs-cache/-/loader-fs-cache-1.0.3.tgz", "resolved": "https://registry.npmjs.org/loader-fs-cache/-/loader-fs-cache-1.0.3.tgz",
...@@ -8139,16 +7786,6 @@ ...@@ -8139,16 +7786,6 @@
"integrity": "sha512-tCRIJM51SHjAayKwC+QAg8hT8vg6z7GSgLJKGvzuPb1Wc+hLzqtuVLxp6/HzSPOozuK+8ErAhy7U/sVzw8Dgfg==", "integrity": "sha512-tCRIJM51SHjAayKwC+QAg8hT8vg6z7GSgLJKGvzuPb1Wc+hLzqtuVLxp6/HzSPOozuK+8ErAhy7U/sVzw8Dgfg==",
"dev": true "dev": true
}, },
"loud-rejection": {
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz",
"integrity": "sha512-RPNliZOFkqFumDhvYqOaNY4Uz9oJM2K9tC6JWsJJsNdhuONW4LQHRBpb0qf4pJApVffI5N39SwzWZJuEhfd7eQ==",
"dev": true,
"requires": {
"currently-unhandled": "^0.4.1",
"signal-exit": "^3.0.0"
}
},
"lower-case": { "lower-case": {
"version": "1.1.4", "version": "1.1.4",
"resolved": "https://registry.npmjs.org/lower-case/-/lower-case-1.1.4.tgz", "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-1.1.4.tgz",
...@@ -8179,12 +7816,6 @@ ...@@ -8179,12 +7816,6 @@
"integrity": "sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg==", "integrity": "sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg==",
"dev": true "dev": true
}, },
"map-obj": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz",
"integrity": "sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==",
"dev": true
},
"map-visit": { "map-visit": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz", "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz",
...@@ -8237,24 +7868,6 @@ ...@@ -8237,24 +7868,6 @@
"readable-stream": "^2.0.1" "readable-stream": "^2.0.1"
} }
}, },
"meow": {
"version": "3.7.0",
"resolved": "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz",
"integrity": "sha512-TNdwZs0skRlpPpCUK25StC4VH+tP5GgeY1HQOOGP+lQ2xtdkN2VtT/5tiX9k3IWpkBPV9b3LsAWXn4GGi/PrSA==",
"dev": true,
"requires": {
"camelcase-keys": "^2.0.0",
"decamelize": "^1.1.2",
"loud-rejection": "^1.0.0",
"map-obj": "^1.0.1",
"minimist": "^1.1.3",
"normalize-package-data": "^2.3.4",
"object-assign": "^4.0.1",
"read-pkg-up": "^1.0.1",
"redent": "^1.0.0",
"trim-newlines": "^1.0.0"
}
},
"merge-descriptors": { "merge-descriptors": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz",
...@@ -8560,7 +8173,8 @@ ...@@ -8560,7 +8173,8 @@
"version": "2.17.0", "version": "2.17.0",
"resolved": "https://registry.npmjs.org/nan/-/nan-2.17.0.tgz", "resolved": "https://registry.npmjs.org/nan/-/nan-2.17.0.tgz",
"integrity": "sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ==", "integrity": "sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ==",
"dev": true "dev": true,
"optional": true
}, },
"nanoid": { "nanoid": {
"version": "3.3.6", "version": "3.3.6",
...@@ -8625,34 +8239,6 @@ ...@@ -8625,34 +8239,6 @@
"integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==", "integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==",
"dev": true "dev": true
}, },
"node-gyp": {
"version": "3.8.0",
"resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-3.8.0.tgz",
"integrity": "sha512-3g8lYefrRRzvGeSowdJKAKyks8oUpLEd/DyPV4eMhVlhJ0aNaZqIrNUIPuEWWTAoPqyFkfGrM67MC69baqn6vA==",
"dev": true,
"requires": {
"fstream": "^1.0.0",
"glob": "^7.0.3",
"graceful-fs": "^4.1.2",
"mkdirp": "^0.5.0",
"nopt": "2 || 3",
"npmlog": "0 || 1 || 2 || 3 || 4",
"osenv": "0",
"request": "^2.87.0",
"rimraf": "2",
"semver": "~5.3.0",
"tar": "^2.0.0",
"which": "1"
},
"dependencies": {
"semver": {
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-5.3.0.tgz",
"integrity": "sha512-mfmm3/H9+67MCVix1h+IXTpDwL6710LyHuk7+cWC9T1mE0qz4iHhh6r4hU2wrIT9iTsAAC2XQRvfblL028cpLw==",
"dev": true
}
}
},
"node-libs-browser": { "node-libs-browser": {
"version": "2.2.1", "version": "2.2.1",
"resolved": "https://registry.npmjs.org/node-libs-browser/-/node-libs-browser-2.2.1.tgz", "resolved": "https://registry.npmjs.org/node-libs-browser/-/node-libs-browser-2.2.1.tgz",
...@@ -8698,114 +8284,6 @@ ...@@ -8698,114 +8284,6 @@
"integrity": "sha512-5GFldHPXVG/YZmFzJvKK2zDSzPKhEp0+ZR5SVaoSag9fsL5YgHbUHDfnG5494ISANDcK4KwPXAx2xqVEydmd7w==", "integrity": "sha512-5GFldHPXVG/YZmFzJvKK2zDSzPKhEp0+ZR5SVaoSag9fsL5YgHbUHDfnG5494ISANDcK4KwPXAx2xqVEydmd7w==",
"dev": true "dev": true
}, },
"node-sass": {
"version": "4.14.1",
"resolved": "https://registry.npmjs.org/node-sass/-/node-sass-4.14.1.tgz",
"integrity": "sha512-sjCuOlvGyCJS40R8BscF5vhVlQjNN069NtQ1gSxyK1u9iqvn6tf7O1R4GNowVZfiZUCRt5MmMs1xd+4V/7Yr0g==",
"dev": true,
"requires": {
"async-foreach": "^0.1.3",
"chalk": "^1.1.1",
"cross-spawn": "^3.0.0",
"gaze": "^1.0.0",
"get-stdin": "^4.0.1",
"glob": "^7.0.3",
"in-publish": "^2.0.0",
"lodash": "^4.17.15",
"meow": "^3.7.0",
"mkdirp": "^0.5.1",
"nan": "^2.13.2",
"node-gyp": "^3.8.0",
"npmlog": "^4.0.0",
"request": "^2.88.0",
"sass-graph": "2.2.5",
"stdout-stream": "^1.4.0",
"true-case-path": "^1.0.2"
},
"dependencies": {
"ansi-regex": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
"integrity": "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==",
"dev": true
},
"ansi-styles": {
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
"integrity": "sha512-kmCevFghRiWM7HB5zTPULl4r9bVFSWjz62MhqizDGUrq2NWuNMQyuv4tHHoKJHs69M/MF64lEcHdYIocrdWQYA==",
"dev": true
},
"chalk": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
"integrity": "sha512-U3lRVLMSlsCfjqYPbLyVv11M9CPW4I728d6TCKMAOJueEeB9/8o+eSsMnxPJD+Q+K909sdESg7C+tIkoH6on1A==",
"dev": true,
"requires": {
"ansi-styles": "^2.2.1",
"escape-string-regexp": "^1.0.2",
"has-ansi": "^2.0.0",
"strip-ansi": "^3.0.0",
"supports-color": "^2.0.0"
}
},
"cross-spawn": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-3.0.1.tgz",
"integrity": "sha512-eZ+m1WNhSZutOa/uRblAc9Ut5MQfukFrFMtPSm3bZCA888NmMd5AWXWdgRZ80zd+pTk1P2JrGjg9pUPTvl2PWQ==",
"dev": true,
"requires": {
"lru-cache": "^4.0.1",
"which": "^1.2.9"
}
},
"get-stdin": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz",
"integrity": "sha512-F5aQMywwJ2n85s4hJPTT9RPxGmubonuB10MNYo17/xph174n2MIR33HRguhzVag10O/npM7SPk73LMZNP+FaWw==",
"dev": true
},
"lru-cache": {
"version": "4.1.5",
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz",
"integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==",
"dev": true,
"requires": {
"pseudomap": "^1.0.2",
"yallist": "^2.1.2"
}
},
"strip-ansi": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
"integrity": "sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==",
"dev": true,
"requires": {
"ansi-regex": "^2.0.0"
}
},
"supports-color": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
"integrity": "sha512-KKNVtd6pCYgPIKU4cp2733HWYCpplQhddZLBUryaAHou723x+FRzQ5Df824Fj+IyyuiQTRoub4SnIFfIcrp70g==",
"dev": true
},
"yallist": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz",
"integrity": "sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A==",
"dev": true
}
}
},
"nopt": {
"version": "3.0.6",
"resolved": "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz",
"integrity": "sha512-4GUt3kSEYmk4ITxzB/b9vaIDfUVWN/Ml1Fwl11IlnIG2iaJ9O6WXZ9SrYM9NLI8OCBieN2Y8SWC2oJV0RQ7qYg==",
"dev": true,
"requires": {
"abbrev": "1"
}
},
"normalize-package-data": { "normalize-package-data": {
"version": "2.5.0", "version": "2.5.0",
"resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz",
...@@ -8858,18 +8336,6 @@ ...@@ -8858,18 +8336,6 @@
"path-key": "^2.0.0" "path-key": "^2.0.0"
} }
}, },
"npmlog": {
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz",
"integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==",
"dev": true,
"requires": {
"are-we-there-yet": "~1.1.2",
"console-control-strings": "~1.1.0",
"gauge": "~2.7.3",
"set-blocking": "~2.0.0"
}
},
"nth-check": { "nth-check": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz", "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz",
...@@ -8885,12 +8351,6 @@ ...@@ -8885,12 +8351,6 @@
"integrity": "sha512-Y1wZESM7VUThYY+4W+X4ySH2maqcA+p7UR+w8VWNWVAd6lwuXXWz/w/Cz43J/dI2I+PS6wD5N+bJUF+gjWvIqg==", "integrity": "sha512-Y1wZESM7VUThYY+4W+X4ySH2maqcA+p7UR+w8VWNWVAd6lwuXXWz/w/Cz43J/dI2I+PS6wD5N+bJUF+gjWvIqg==",
"dev": true "dev": true
}, },
"number-is-nan": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz",
"integrity": "sha512-4jbtZXNAsfZbAHiiqjLPBiCl16dES1zI4Hpzzxw61Tk+loF+sBDBKx1ICKKKwIqQ7M0mFn1TmkN7euSncWgHiQ==",
"dev": true
},
"oauth-sign": { "oauth-sign": {
"version": "0.9.0", "version": "0.9.0",
"resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz",
...@@ -9122,28 +8582,12 @@ ...@@ -9122,28 +8582,12 @@
"integrity": "sha512-gjcpUc3clBf9+210TRaDWbf+rZZZEshZ+DlXMRCeAjp0xhTrnQsKHypIy1J3d5hKdUzj69t708EHtU8P6bUn0A==", "integrity": "sha512-gjcpUc3clBf9+210TRaDWbf+rZZZEshZ+DlXMRCeAjp0xhTrnQsKHypIy1J3d5hKdUzj69t708EHtU8P6bUn0A==",
"dev": true "dev": true
}, },
"os-homedir": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz",
"integrity": "sha512-B5JU3cabzk8c67mRRd3ECmROafjYMXbuzlwtqdM8IbS8ktlTix8aFGb2bAGKrSRIlnfKwovGUUr72JUPyOb6kQ==",
"dev": true
},
"os-tmpdir": { "os-tmpdir": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz",
"integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==", "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==",
"dev": true "dev": true
}, },
"osenv": {
"version": "0.1.5",
"resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz",
"integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==",
"dev": true,
"requires": {
"os-homedir": "^1.0.0",
"os-tmpdir": "^1.0.0"
}
},
"p-finally": { "p-finally": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz",
...@@ -10815,65 +10259,6 @@ ...@@ -10815,65 +10259,6 @@
"type-fest": "^0.6.0" "type-fest": "^0.6.0"
} }
}, },
"read-pkg-up": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz",
"integrity": "sha512-WD9MTlNtI55IwYUS27iHh9tK3YoIVhxis8yKhLpTqWtml739uXc9NWTpxoHkfZf3+DkCCsXox94/VWZniuZm6A==",
"dev": true,
"requires": {
"find-up": "^1.0.0",
"read-pkg": "^1.0.0"
},
"dependencies": {
"find-up": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz",
"integrity": "sha512-jvElSjyuo4EMQGoTwo1uJU5pQMwTW5lS1x05zzfJuTIyLR3zwO27LYrxNg+dlvKpGOuGy/MzBdXh80g0ve5+HA==",
"dev": true,
"requires": {
"path-exists": "^2.0.0",
"pinkie-promise": "^2.0.0"
}
},
"path-exists": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz",
"integrity": "sha512-yTltuKuhtNeFJKa1PiRzfLAU5182q1y4Eb4XCJ3PBqyzEDkAZRzBrKKBct682ls9reBVHf9udYLN5Nd+K1B9BQ==",
"dev": true,
"requires": {
"pinkie-promise": "^2.0.0"
}
},
"path-type": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz",
"integrity": "sha512-S4eENJz1pkiQn9Znv33Q+deTOKmbl+jj1Fl+qiP/vYezj+S8x+J3Uo0ISrx/QoEvIlOaDWJhPaRd1flJ9HXZqg==",
"dev": true,
"requires": {
"graceful-fs": "^4.1.2",
"pify": "^2.0.0",
"pinkie-promise": "^2.0.0"
}
},
"pify": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
"integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==",
"dev": true
},
"read-pkg": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz",
"integrity": "sha512-7BGwRHqt4s/uVbuyoeejRn4YmFnYZiFl4AuaeXHlgZf3sONF0SOGlxs2Pw8g6hCKupo08RafIO5YXFNOKTfwsQ==",
"dev": true,
"requires": {
"load-json-file": "^1.0.0",
"normalize-package-data": "^2.3.2",
"path-type": "^1.0.0"
}
}
}
},
"readable-stream": { "readable-stream": {
"version": "2.3.8", "version": "2.3.8",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz",
...@@ -10902,38 +10287,10 @@ ...@@ -10902,38 +10287,10 @@
"resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",
"integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"picomatch": "^2.2.1" "picomatch": "^2.2.1"
} }
}, },
"redent": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/redent/-/redent-1.0.0.tgz",
"integrity": "sha512-qtW5hKzGQZqKoh6JNSD+4lfitfPKGz42e6QwiRmPM5mmKtR0N41AbJRYu0xJi7nhOJ4WDgRkKvAk6tw4WIwR4g==",
"dev": true,
"requires": {
"indent-string": "^2.1.0",
"strip-indent": "^1.0.1"
},
"dependencies": {
"get-stdin": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz",
"integrity": "sha512-F5aQMywwJ2n85s4hJPTT9RPxGmubonuB10MNYo17/xph174n2MIR33HRguhzVag10O/npM7SPk73LMZNP+FaWw==",
"dev": true
},
"strip-indent": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz",
"integrity": "sha512-I5iQq6aFMM62fBEAIB/hXzwJD6EEZ0xEGCX2t7oXqaKPIRgt4WruAQ285BISgdkP+HLGWyeGmNJcpIwFeRYRUA==",
"dev": true,
"requires": {
"get-stdin": "^4.0.1"
}
}
}
},
"regenerate": { "regenerate": {
"version": "1.4.2", "version": "1.4.2",
"resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz", "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz",
...@@ -11131,15 +10488,6 @@ ...@@ -11131,15 +10488,6 @@
"integrity": "sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==", "integrity": "sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==",
"dev": true "dev": true
}, },
"repeating": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz",
"integrity": "sha512-ZqtSMuVybkISo2OWvqvm7iHSWngvdaW3IpsT9/uP8v4gMi591LY6h35wdOfvQdWCKFWZWm2Y1Opp4kV7vQKT6A==",
"dev": true,
"requires": {
"is-finite": "^1.0.0"
}
},
"request": { "request": {
"version": "2.88.2", "version": "2.88.2",
"resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz",
...@@ -11345,145 +10693,20 @@ ...@@ -11345,145 +10693,20 @@
"integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",
"dev": true "dev": true
}, },
"sass-graph": { "sass": {
"version": "2.2.5", "version": "1.64.1",
"resolved": "https://registry.npmjs.org/sass-graph/-/sass-graph-2.2.5.tgz", "resolved": "https://registry.npmmirror.com/sass/-/sass-1.64.1.tgz",
"integrity": "sha512-VFWDAHOe6mRuT4mZRd4eKE+d8Uedrk6Xnh7Sh9b4NGufQLQjOrvf/MQoOdx+0s92L89FeyUUNfU597j/3uNpag==", "integrity": "sha512-16rRACSOFEE8VN7SCgBu1MpYCyN7urj9At898tyzdXFhC+a+yOX5dXwAR7L8/IdPJ1NB8OYoXmD55DM30B2kEQ==",
"dev": true, "dev": true,
"requires": { "requires": {
"glob": "^7.0.0", "chokidar": ">=3.0.0 <4.0.0",
"lodash": "^4.0.0", "immutable": "^4.0.0",
"scss-tokenizer": "^0.2.3", "source-map-js": ">=0.6.2 <2.0.0"
"yargs": "^13.3.2"
},
"dependencies": {
"camelcase": {
"version": "5.3.1",
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
"integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==",
"dev": true
},
"cliui": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/cliui/-/cliui-5.0.0.tgz",
"integrity": "sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA==",
"dev": true,
"requires": {
"string-width": "^3.1.0",
"strip-ansi": "^5.2.0",
"wrap-ansi": "^5.1.0"
}
},
"emoji-regex": {
"version": "7.0.3",
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz",
"integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==",
"dev": true
},
"find-up": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",
"integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",
"dev": true,
"requires": {
"locate-path": "^3.0.0"
}
},
"is-fullwidth-code-point": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
"integrity": "sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w==",
"dev": true
},
"locate-path": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
"integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",
"dev": true,
"requires": {
"p-locate": "^3.0.0",
"path-exists": "^3.0.0"
}
},
"p-locate": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",
"integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",
"dev": true,
"requires": {
"p-limit": "^2.0.0"
}
},
"path-exists": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz",
"integrity": "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==",
"dev": true
},
"string-width": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz",
"integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==",
"dev": true,
"requires": {
"emoji-regex": "^7.0.1",
"is-fullwidth-code-point": "^2.0.0",
"strip-ansi": "^5.1.0"
}
},
"strip-ansi": {
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
"integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
"dev": true,
"requires": {
"ansi-regex": "^4.1.0"
}
},
"wrap-ansi": {
"version": "5.1.0",
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-5.1.0.tgz",
"integrity": "sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q==",
"dev": true,
"requires": {
"ansi-styles": "^3.2.0",
"string-width": "^3.0.0",
"strip-ansi": "^5.0.0"
}
},
"yargs": {
"version": "13.3.2",
"resolved": "https://registry.npmjs.org/yargs/-/yargs-13.3.2.tgz",
"integrity": "sha512-AX3Zw5iPruN5ie6xGRIDgqkT+ZhnRlZMLMHAs8tg7nRruy2Nb+i5o9bwghAogtM08q1dpr2LVoS8KSTMYpWXUw==",
"dev": true,
"requires": {
"cliui": "^5.0.0",
"find-up": "^3.0.0",
"get-caller-file": "^2.0.1",
"require-directory": "^2.1.1",
"require-main-filename": "^2.0.0",
"set-blocking": "^2.0.0",
"string-width": "^3.0.0",
"which-module": "^2.0.0",
"y18n": "^4.0.0",
"yargs-parser": "^13.1.2"
}
},
"yargs-parser": {
"version": "13.1.2",
"resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-13.1.2.tgz",
"integrity": "sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg==",
"dev": true,
"requires": {
"camelcase": "^5.0.0",
"decamelize": "^1.2.0"
}
}
} }
}, },
"sass-loader": { "sass-loader": {
"version": "8.0.2", "version": "8.0.2",
"resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-8.0.2.tgz", "resolved": "https://registry.npmmirror.com/sass-loader/-/sass-loader-8.0.2.tgz",
"integrity": "sha512-7o4dbSK8/Ol2KflEmSco4jTjQoV988bM82P9CZdmo9hR3RLnvNc0ufMNdMrB0caq38JQ/FgF4/7RcbcfKzxoFQ==", "integrity": "sha512-7o4dbSK8/Ol2KflEmSco4jTjQoV988bM82P9CZdmo9hR3RLnvNc0ufMNdMrB0caq38JQ/FgF4/7RcbcfKzxoFQ==",
"dev": true, "dev": true,
"requires": { "requires": {
...@@ -11496,7 +10719,7 @@ ...@@ -11496,7 +10719,7 @@
"dependencies": { "dependencies": {
"json5": { "json5": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz", "resolved": "https://registry.npmmirror.com/json5/-/json5-1.0.2.tgz",
"integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==",
"dev": true, "dev": true,
"requires": { "requires": {
...@@ -11505,7 +10728,7 @@ ...@@ -11505,7 +10728,7 @@
}, },
"loader-utils": { "loader-utils": {
"version": "1.4.2", "version": "1.4.2",
"resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.2.tgz", "resolved": "https://registry.npmmirror.com/loader-utils/-/loader-utils-1.4.2.tgz",
"integrity": "sha512-I5d00Pd/jwMD2QCduo657+YM/6L3KZu++pmX9VFncxaxvHcru9jx1lBaFft+r4Mt2jK0Yhp41XlRAihzPxHNCg==", "integrity": "sha512-I5d00Pd/jwMD2QCduo657+YM/6L3KZu++pmX9VFncxaxvHcru9jx1lBaFft+r4Mt2jK0Yhp41XlRAihzPxHNCg==",
"dev": true, "dev": true,
"requires": { "requires": {
...@@ -11533,27 +10756,6 @@ ...@@ -11533,27 +10756,6 @@
"ajv-keywords": "^3.5.2" "ajv-keywords": "^3.5.2"
} }
}, },
"scss-tokenizer": {
"version": "0.2.3",
"resolved": "https://registry.npmjs.org/scss-tokenizer/-/scss-tokenizer-0.2.3.tgz",
"integrity": "sha512-dYE8LhncfBUar6POCxMTm0Ln+erjeczqEvCJib5/7XNkdw1FkUGgwMPY360FY0FgPWQxHWCx29Jl3oejyGLM9Q==",
"dev": true,
"requires": {
"js-base64": "^2.1.8",
"source-map": "^0.4.2"
},
"dependencies": {
"source-map": {
"version": "0.4.4",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz",
"integrity": "sha512-Y8nIfcb1s/7DcobUz1yOO1GSp7gyL+D9zLHDehT7iRESqGSxjJ448Sg7rvfgsRJCnKLdSl11uGf0s9X80cH0/A==",
"dev": true,
"requires": {
"amdefine": ">=0.0.4"
}
}
}
},
"select-hose": { "select-hose": {
"version": "2.0.0", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/select-hose/-/select-hose-2.0.0.tgz", "resolved": "https://registry.npmjs.org/select-hose/-/select-hose-2.0.0.tgz",
...@@ -11778,7 +10980,7 @@ ...@@ -11778,7 +10980,7 @@
}, },
"shallow-clone": { "shallow-clone": {
"version": "3.0.1", "version": "3.0.1",
"resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz", "resolved": "https://registry.npmmirror.com/shallow-clone/-/shallow-clone-3.0.1.tgz",
"integrity": "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==", "integrity": "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==",
"dev": true, "dev": true,
"requires": { "requires": {
...@@ -12254,15 +11456,6 @@ ...@@ -12254,15 +11456,6 @@
"integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==",
"dev": true "dev": true
}, },
"stdout-stream": {
"version": "1.4.1",
"resolved": "https://registry.npmjs.org/stdout-stream/-/stdout-stream-1.4.1.tgz",
"integrity": "sha512-j4emi03KXqJWcIeF8eIXkjMFN1Cmb8gUlDYGeBALLPo5qdyTfA9bOtl8m33lRoC+vFMkP3gl0WsDr6+gzxbbTA==",
"dev": true,
"requires": {
"readable-stream": "^2.0.1"
}
},
"stream-browserify": { "stream-browserify": {
"version": "2.0.2", "version": "2.0.2",
"resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.2.tgz", "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.2.tgz",
...@@ -12386,15 +11579,6 @@ ...@@ -12386,15 +11579,6 @@
} }
} }
}, },
"strip-bom": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz",
"integrity": "sha512-kwrX1y7czp1E69n2ajbG65mIo9dqvJ+8aBQXOGVxqwvNbsXdFM6Lq37dLAY3mknUwru8CfcCbfOLL/gMo+fi3g==",
"dev": true,
"requires": {
"is-utf8": "^0.2.0"
}
},
"strip-eof": { "strip-eof": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz", "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz",
...@@ -12553,17 +11737,6 @@ ...@@ -12553,17 +11737,6 @@
"integrity": "sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA==", "integrity": "sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA==",
"dev": true "dev": true
}, },
"tar": {
"version": "2.2.2",
"resolved": "https://registry.npmjs.org/tar/-/tar-2.2.2.tgz",
"integrity": "sha512-FCEhQ/4rE1zYv9rYXJw/msRqsnmlje5jHP6huWeBZ704jUTy02c5AZyWujpMR1ax6mVw9NyJMfuK2CMDWVIfgA==",
"dev": true,
"requires": {
"block-stream": "*",
"fstream": "^1.0.12",
"inherits": "2"
}
},
"terser": { "terser": {
"version": "4.8.1", "version": "4.8.1",
"resolved": "https://registry.npmjs.org/terser/-/terser-4.8.1.tgz", "resolved": "https://registry.npmjs.org/terser/-/terser-4.8.1.tgz",
...@@ -12859,21 +12032,6 @@ ...@@ -12859,21 +12032,6 @@
"punycode": "^2.1.1" "punycode": "^2.1.1"
} }
}, },
"trim-newlines": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz",
"integrity": "sha512-Nm4cF79FhSTzrLKGDMi3I4utBtFv8qKy4sq1enftf2gMdpqI8oVQTAfySkTz5r49giVzDj88SVZXP4CeYQwjaw==",
"dev": true
},
"true-case-path": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/true-case-path/-/true-case-path-1.0.3.tgz",
"integrity": "sha512-m6s2OdQe5wgpFMC+pAJ+q9djG82O2jcHPOI6RNg1yy9rCYR+WD6Nbpl32fDpfC56nirdRy+opFa/Vk7HYhqaew==",
"dev": true,
"requires": {
"glob": "^7.1.2"
}
},
"tryer": { "tryer": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/tryer/-/tryer-1.0.1.tgz", "resolved": "https://registry.npmjs.org/tryer/-/tryer-1.0.1.tgz",
...@@ -13414,6 +12572,75 @@ ...@@ -13414,6 +12572,75 @@
} }
} }
}, },
"vue-loader-v16": {
"version": "npm:vue-loader@16.8.3",
"resolved": "https://registry.npmmirror.com/vue-loader/-/vue-loader-16.8.3.tgz",
"integrity": "sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA==",
"dev": true,
"optional": true,
"requires": {
"chalk": "^4.1.0",
"hash-sum": "^2.0.0",
"loader-utils": "^2.0.0"
},
"dependencies": {
"ansi-styles": {
"version": "4.3.0",
"resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"dev": true,
"optional": true,
"requires": {
"color-convert": "^2.0.1"
}
},
"chalk": {
"version": "4.1.2",
"resolved": "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
"dev": true,
"optional": true,
"requires": {
"ansi-styles": "^4.1.0",
"supports-color": "^7.1.0"
}
},
"color-convert": {
"version": "2.0.1",
"resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
"dev": true,
"optional": true,
"requires": {
"color-name": "~1.1.4"
}
},
"color-name": {
"version": "1.1.4",
"resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"dev": true,
"optional": true
},
"has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmmirror.com/has-flag/-/has-flag-4.0.0.tgz",
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
"dev": true,
"optional": true
},
"supports-color": {
"version": "7.2.0",
"resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-7.2.0.tgz",
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
"dev": true,
"optional": true,
"requires": {
"has-flag": "^4.0.0"
}
}
}
},
"vue-router": { "vue-router": {
"version": "3.6.5", "version": "3.6.5",
"resolved": "https://registry.npmjs.org/vue-router/-/vue-router-3.6.5.tgz", "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-3.6.5.tgz",
...@@ -14196,15 +13423,6 @@ ...@@ -14196,15 +13423,6 @@
"is-typed-array": "^1.1.10" "is-typed-array": "^1.1.10"
} }
}, },
"wide-align": {
"version": "1.1.5",
"resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz",
"integrity": "sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==",
"dev": true,
"requires": {
"string-width": "^1.0.2 || 2 || 3 || 4"
}
},
"wl-core": { "wl-core": {
"version": "1.1.9", "version": "1.1.9",
"resolved": "https://registry.npmjs.org/wl-core/-/wl-core-1.1.9.tgz", "resolved": "https://registry.npmjs.org/wl-core/-/wl-core-1.1.9.tgz",
......
...@@ -32,9 +32,9 @@ ...@@ -32,9 +32,9 @@
"eslint": "^5.16.0", "eslint": "^5.16.0",
"eslint-plugin-prettier": "^3.1.1", "eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-vue": "^5.0.0", "eslint-plugin-vue": "^5.0.0",
"node-sass": "^4.14.1",
"prettier": "^1.19.1", "prettier": "^1.19.1",
"sass-loader": "^8.0.0", "sass": "^1.64.1",
"sass-loader": "^8.0.2",
"vue-cli-plugin-element": "^1.0.1", "vue-cli-plugin-element": "^1.0.1",
"vue-template-compiler": "^2.6.10" "vue-template-compiler": "^2.6.10"
}, },
......
...@@ -198,5 +198,16 @@ const contractExportApi = params => { ...@@ -198,5 +198,16 @@ const contractExportApi = params => {
sign: true sign: true
}) })
} }
// 查询合同号列表
const listContracts = params => {
params.method = `scrm.api.boutiquecoupon.rop.router.twoCityTale`
params.routerMethod = `dj.api.smartcarlife.vd.equity.order.listContracts`
return http({
url: 'rop-scrm-boutiquecoupon/router',
method: 'POST',
data: params,
sign: true
})
}
export default { getList, getOrderDetail, getOrderCount, shopmallOrderList, goodsOrderDetail, getServiceStore, getListApi, getCrowdfundingParams, getCountApi, orderExportApi, getOrderDetailApi, getQuotationPageApi, quotationFindByIdApi, exportOrderApi, quotationExportApi, quotationPrintApi, contractExportApi } export default { getList, getOrderDetail, getOrderCount, shopmallOrderList, goodsOrderDetail, getServiceStore, getListApi, getCrowdfundingParams, getCountApi, orderExportApi, getOrderDetailApi, getQuotationPageApi, quotationFindByIdApi, exportOrderApi, quotationExportApi, quotationPrintApi, contractExportApi, listContracts }
...@@ -3,7 +3,7 @@ import { http } from '@/main' ...@@ -3,7 +3,7 @@ import { http } from '@/main'
const path = 'dj.api.' const path = 'dj.api.'
const path2 = 'dj.smartcarlife.api.' const path2 = 'dj.smartcarlife.api.'
// 获取素材详情 // 获取素材详情
const getProductInfo = (params) => { const getProductInfo = params => {
params.method = `scrm.api.boutiquecoupon.rop.router.twoCityTale` params.method = `scrm.api.boutiquecoupon.rop.router.twoCityTale`
params.routerMethod = `${path}goodsinfo.get.byId` params.routerMethod = `${path}goodsinfo.get.byId`
return http({ return http({
...@@ -15,7 +15,7 @@ const getProductInfo = (params) => { ...@@ -15,7 +15,7 @@ const getProductInfo = (params) => {
} }
// 获取场景下类目 // 获取场景下类目
const getProductTypeBySceneId = (params) => { const getProductTypeBySceneId = params => {
params.method = `scrm.api.boutiquecoupon.rop.router.twoCityTale` params.method = `scrm.api.boutiquecoupon.rop.router.twoCityTale`
params.routerMethod = `${path}goodsCategoryConfiguration.queryGoodsCategoryBySceneId` params.routerMethod = `${path}goodsCategoryConfiguration.queryGoodsCategoryBySceneId`
return http({ return http({
...@@ -27,7 +27,7 @@ const getProductTypeBySceneId = (params) => { ...@@ -27,7 +27,7 @@ const getProductTypeBySceneId = (params) => {
} }
// 查询产品列表 // 查询产品列表
const getGoodsList = (params) => { const getGoodsList = params => {
params.method = `scrm.api.boutiquecoupon.rop.router.twoCityTale` params.method = `scrm.api.boutiquecoupon.rop.router.twoCityTale`
params.routerMethod = `${path}goodsinfo.list` params.routerMethod = `${path}goodsinfo.list`
return http({ return http({
...@@ -38,4 +38,4 @@ const getGoodsList = (params) => { ...@@ -38,4 +38,4 @@ const getGoodsList = (params) => {
}) })
} }
export default { getGoodsList,getProductInfo, getProductTypeBySceneId } export default { getGoodsList, getProductInfo, getProductTypeBySceneId }
...@@ -4,7 +4,7 @@ const path = 'dj.api.smarcarlife.' ...@@ -4,7 +4,7 @@ const path = 'dj.api.smarcarlife.'
const path2 = 'dj.api.goodsInfo.' const path2 = 'dj.api.goodsInfo.'
const path3 = 'dj.api.smartcarlife.' const path3 = 'dj.api.smartcarlife.'
// 分页查询采购订单 // 分页查询采购订单
const getPurchaseOrderList = (params) => { const getPurchaseOrderList = params => {
params.method = `scrm.api.boutiquecoupon.rop.router.twoCityTale` params.method = `scrm.api.boutiquecoupon.rop.router.twoCityTale`
params.routerMethod = `${path}purchaseOrder.page` params.routerMethod = `${path}purchaseOrder.page`
return http({ return http({
...@@ -15,7 +15,7 @@ const getPurchaseOrderList = (params) => { ...@@ -15,7 +15,7 @@ const getPurchaseOrderList = (params) => {
}) })
} }
// 采购订单取消/审核 // 采购订单取消/审核
const purchaseOrderCancelOrCheck = (params) => { const purchaseOrderCancelOrCheck = params => {
params.method = `scrm.api.boutiquecoupon.rop.router.twoCityTale` params.method = `scrm.api.boutiquecoupon.rop.router.twoCityTale`
params.routerMethod = `${path}purchaseOrder.cancelOrCheck` params.routerMethod = `${path}purchaseOrder.cancelOrCheck`
return http({ return http({
...@@ -27,7 +27,7 @@ const purchaseOrderCancelOrCheck = (params) => { ...@@ -27,7 +27,7 @@ const purchaseOrderCancelOrCheck = (params) => {
}) })
} }
// 查看采购订单 // 查看采购订单
const purchaseOrderDetail = (params) => { const purchaseOrderDetail = params => {
params.method = `scrm.api.boutiquecoupon.rop.router.twoCityTale` params.method = `scrm.api.boutiquecoupon.rop.router.twoCityTale`
params.routerMethod = `${path}purchaseOrder.view` params.routerMethod = `${path}purchaseOrder.view`
return http({ return http({
...@@ -38,7 +38,7 @@ const purchaseOrderDetail = (params) => { ...@@ -38,7 +38,7 @@ const purchaseOrderDetail = (params) => {
}) })
} }
// 分页查询采购商城素材信息 // 分页查询采购商城素材信息
const listWithPagePurchaseInfo = (params) => { const listWithPagePurchaseInfo = params => {
params.method = `scrm.api.boutiquecoupon.rop.router.twoCityTale` params.method = `scrm.api.boutiquecoupon.rop.router.twoCityTale`
params.routerMethod = `${path2}listWithPage.purchaseInfo` params.routerMethod = `${path2}listWithPage.purchaseInfo`
return http({ return http({
...@@ -61,9 +61,8 @@ const addressGet = (params = {}) => { ...@@ -61,9 +61,8 @@ const addressGet = (params = {}) => {
}) })
} }
// 保存园区店商户收货地址 // 保存园区店商户收货地址
const addressSave = (params) => { const addressSave = params => {
params.method = `scrm.api.boutiquecoupon.rop.router.twoCityTale` params.method = `scrm.api.boutiquecoupon.rop.router.twoCityTale`
params.routerMethod = `${path}yqMerchantDeliveryAddress.save` params.routerMethod = `${path}yqMerchantDeliveryAddress.save`
return http({ return http({
...@@ -75,7 +74,7 @@ const addressSave = (params) => { ...@@ -75,7 +74,7 @@ const addressSave = (params) => {
} }
// 按商品类目分组获取购物车列表 // 按商品类目分组获取购物车列表
const listGroupByGoodsType = (params) => { const listGroupByGoodsType = params => {
params.method = `scrm.api.boutiquecoupon.rop.router.twoCityTale` params.method = `scrm.api.boutiquecoupon.rop.router.twoCityTale`
params.routerMethod = `${path}purchaseShoppingCar.listGroupByGoodsType` params.routerMethod = `${path}purchaseShoppingCar.listGroupByGoodsType`
return http({ return http({
...@@ -86,9 +85,8 @@ const listGroupByGoodsType = (params) => { ...@@ -86,9 +85,8 @@ const listGroupByGoodsType = (params) => {
}) })
} }
// 更新购物车商品选中标识 // 更新购物车商品选中标识
const updateSelectedFlag = (params) => { const updateSelectedFlag = params => {
params.method = `scrm.api.boutiquecoupon.rop.router.twoCityTale` params.method = `scrm.api.boutiquecoupon.rop.router.twoCityTale`
params.routerMethod = `${path}purchaseShoppingCar.updateSelectedFlag` params.routerMethod = `${path}purchaseShoppingCar.updateSelectedFlag`
return http({ return http({
...@@ -99,7 +97,7 @@ const updateSelectedFlag = (params) => { ...@@ -99,7 +97,7 @@ const updateSelectedFlag = (params) => {
}) })
} }
// 移除购物车商品 // 移除购物车商品
const shoppingCarRemove = (params) => { const shoppingCarRemove = params => {
params.method = `scrm.api.boutiquecoupon.rop.router.twoCityTale` params.method = `scrm.api.boutiquecoupon.rop.router.twoCityTale`
params.routerMethod = `${path}purchaseShoppingCar.remove` params.routerMethod = `${path}purchaseShoppingCar.remove`
return http({ return http({
...@@ -111,7 +109,7 @@ const shoppingCarRemove = (params) => { ...@@ -111,7 +109,7 @@ const shoppingCarRemove = (params) => {
} }
// 添加到购物车 // 添加到购物车
const shoppingCarAdd = (params) => { const shoppingCarAdd = params => {
params.method = `scrm.api.boutiquecoupon.rop.router.twoCityTale` params.method = `scrm.api.boutiquecoupon.rop.router.twoCityTale`
params.routerMethod = `${path}purchaseShoppingCar.add` params.routerMethod = `${path}purchaseShoppingCar.add`
return http({ return http({
...@@ -122,8 +120,6 @@ const shoppingCarAdd = (params) => { ...@@ -122,8 +120,6 @@ const shoppingCarAdd = (params) => {
}) })
} }
// 修改购物车商品数量 // 修改购物车商品数量
export function shoppingCarUpdateNumber(params) { export function shoppingCarUpdateNumber(params) {
params.method = `scrm.api.boutiquecoupon.rop.router.twoCityTale` params.method = `scrm.api.boutiquecoupon.rop.router.twoCityTale`
...@@ -135,12 +131,6 @@ export function shoppingCarUpdateNumber(params) { ...@@ -135,12 +131,6 @@ export function shoppingCarUpdateNumber(params) {
}) })
} }
// 添加采购订单 // 添加采购订单
export function purchaseOrderAdd(params) { export function purchaseOrderAdd(params) {
params.method = `scrm.api.boutiquecoupon.rop.router.twoCityTale` params.method = `scrm.api.boutiquecoupon.rop.router.twoCityTale`
...@@ -153,8 +143,6 @@ export function purchaseOrderAdd(params) { ...@@ -153,8 +143,6 @@ export function purchaseOrderAdd(params) {
}) })
} }
export function exportExcel(params) { export function exportExcel(params) {
params.method = `scrm.api.boutiquecoupon.rop.router.twoCityTale` params.method = `scrm.api.boutiquecoupon.rop.router.twoCityTale`
params.routerMethod = `dj.api.smarcarlife.purchaseOrder.export` params.routerMethod = `dj.api.smarcarlife.purchaseOrder.export`
...@@ -189,8 +177,6 @@ export function getMerchantList(params) { ...@@ -189,8 +177,6 @@ export function getMerchantList(params) {
}) })
} }
// 确认发货 // 确认发货
// export function purchaseOrderConfirmDelivery(data) { // export function purchaseOrderConfirmDelivery(data) {
// params.method = `scrm.api.boutiquecoupon.rop.router.twoCityTale` // params.method = `scrm.api.boutiquecoupon.rop.router.twoCityTale`
...@@ -198,4 +184,4 @@ export function getMerchantList(params) { ...@@ -198,4 +184,4 @@ export function getMerchantList(params) {
// return http(data) // return http(data)
// } // }
export default { getMerchantList,purchaseOrderPutIn, exportExcel, shoppingCarUpdateNumber, purchaseOrderAdd, shoppingCarAdd, shoppingCarRemove, updateSelectedFlag, listGroupByGoodsType, getPurchaseOrderList, purchaseOrderCancelOrCheck, purchaseOrderDetail, listWithPagePurchaseInfo, addressGet, addressSave }
\ No newline at end of file \ No newline at end of file
export default { getMerchantList, purchaseOrderPutIn, exportExcel, shoppingCarUpdateNumber, purchaseOrderAdd, shoppingCarAdd, shoppingCarRemove, updateSelectedFlag, listGroupByGoodsType, getPurchaseOrderList, purchaseOrderCancelOrCheck, purchaseOrderDetail, listWithPagePurchaseInfo, addressGet, addressSave }
import { http, http_common } from '@/main'
import { http,http_common } from '@/main' const path = 'dj.api.'
const path = "dj.api."
const defaultPath = 'scrm.api.carlife.' const defaultPath = 'scrm.api.carlife.'
// 获取不同场景的商品分类 // 获取不同场景的商品分类
const getGoodsCategoryConfiguration = (params) => { const getGoodsCategoryConfiguration = params => {
params.method = `scrm.api.boutiquecoupon.rop.router.twoCityTale` params.method = `scrm.api.boutiquecoupon.rop.router.twoCityTale`
params.currentPage = 1 params.currentPage = 1
params.pageSize = 999999 params.pageSize = 999999
......
...@@ -4,47 +4,29 @@ export function getCurrentSixMonth(n = 5) { ...@@ -4,47 +4,29 @@ export function getCurrentSixMonth(n = 5) {
} }
// 新值,旧值,整数部分位数,小数部分位数,最小值,最大值,规则 // 新值,旧值,整数部分位数,小数部分位数,最小值,最大值,规则
export function limitPrice( export function limitPrice(newValue, oldValue, intergerDigit, pointDigit, minValue, maxValue, regRule) {
newValue,
oldValue,
intergerDigit,
pointDigit,
minValue,
maxValue,
regRule
) {
var reg = { var reg = {
priceReg: /^\d[\d\.]*$/, // eslint-disable-line priceReg: /^\d[\d\.]*$/, // eslint-disable-line
numReg: /^[1-9]\d*$/ numReg: /^[1-9]\d*$/
} }
regRule = regRule || "priceReg" regRule = regRule || 'priceReg'
if ( if (newValue && ((minValue && newValue < minValue) || (maxValue && newValue > maxValue))) {
newValue && return oldValue || ''
((minValue && newValue < minValue) || (maxValue && newValue > maxValue))
) {
return oldValue || ""
} }
if (newValue && reg[regRule].test(newValue + "")) { if (newValue && reg[regRule].test(newValue + '')) {
if (/\./.test(newValue)) { if (/\./.test(newValue)) {
newValue = newValue + "" newValue = newValue + ''
var interger = newValue.split(".")[0] var interger = newValue.split('.')[0]
var point = newValue.split(".")[1] var point = newValue.split('.')[1]
var intergerNum = var intergerNum = interger.length > intergerDigit ? oldValue.split('.')[0] : interger
interger.length > intergerDigit ? oldValue.split(".")[0] : interger var pointNum = point.length > pointDigit ? point.slice(0, pointDigit) : point
var pointNum = newValue = pointDigit ? intergerNum + '.' + pointNum : newValue.split('.')[0]
point.length > pointDigit ? point.slice(0, pointDigit) : point
newValue = pointDigit
? intergerNum + "." + pointNum
: newValue.split(".")[0]
} else { } else {
newValue = newValue = newValue.length > intergerDigit ? oldValue.slice(0, intergerDigit) : newValue
newValue.length > intergerDigit
? oldValue.slice(0, intergerDigit)
: newValue
} }
return newValue return newValue
} else { } else {
return newValue ? oldValue : "" return newValue ? oldValue : ''
} }
} }
...@@ -70,11 +52,7 @@ export const rangePickerOptions = { ...@@ -70,11 +52,7 @@ export const rangePickerOptions = {
export const appointDays = 35 export const appointDays = 35
export const afterTodayOptions = { export const afterTodayOptions = {
disabledDate(date) { disabledDate(date) {
if ( if (date < new Date(new Date().toLocaleDateString()) || date > new Date(new Date().setDate(new Date().getDate() + (appointDays - 1)))) {
date < new Date(new Date().toLocaleDateString()) ||
date >
new Date(new Date().setDate(new Date().getDate() + (appointDays - 1)))
) {
return true return true
} }
return false return false
...@@ -90,10 +68,7 @@ export const rangePickerOptions_year_2023 = { ...@@ -90,10 +68,7 @@ export const rangePickerOptions_year_2023 = {
// console.log(date.getFullYear()) // console.log(date.getFullYear())
// console.log(new Date()) // console.log(new Date())
if ( if (date.getFullYear() > new Date().getFullYear() || date.getFullYear() < 2023) {
date.getFullYear() > new Date().getFullYear() ||
date.getFullYear() < 2023
) {
return true return true
} }
return false return false
......
...@@ -3,10 +3,7 @@ ...@@ -3,10 +3,7 @@
<div :class="['glsx-combi-form', isEdit ? 'gl-form-page' : '']"> <div :class="['glsx-combi-form', isEdit ? 'gl-form-page' : '']">
<el-form :ref="formRef" :inline="true" :model="formObj" :rules="formRules" size="small" class="glsx-combi-form-block"> <el-form :ref="formRef" :inline="true" :model="formObj" :rules="formRules" size="small" class="glsx-combi-form-block">
<template v-for="(item, index) in formData"> <template v-for="(item, index) in formData">
<el-form-item v-if="!item.isHide" :key="index" :id="item.name" :label-width="isEdit ? '154px' : labelWidth" <el-form-item v-if="!item.isHide" :key="index" :id="item.name" :label-width="isEdit ? '154px' : labelWidth" :class="[{ 'no-label': !item.label, isBlock: isBlock }, { textBox: item.type == 'textBox' }]" :style="{ 'margin-bottom': isEdit ? '24px' : '', 'margin-right': isEdit ? '0px' : '30px', ...item.style }" :label="item.label" :prop="item.name">
:class="[{ 'no-label': !item.label, isBlock: isBlock }, { 'textBox': item.type == 'textBox' }]"
:style="{ 'margin-bottom': isEdit ? '24px' : '', 'margin-right': isEdit ? '0px' : '30px', ...item.style }"
:label="item.label" :prop="item.name">
<span v-if="!item.isHide && item.tips" class="tips-block" slot="label"> <span v-if="!item.isHide && item.tips" class="tips-block" slot="label">
<span class="tips-label">{{ item.label }}</span> <span class="tips-label">{{ item.label }}</span>
<el-popover placement="top" width="200" trigger="hover" :content="item.tips"> <el-popover placement="top" width="200" trigger="hover" :content="item.tips">
...@@ -20,12 +17,7 @@ ...@@ -20,12 +17,7 @@
<slot v-if="item.addHtml" :name="item.addHtml" :scope="item"></slot> <slot v-if="item.addHtml" :name="item.addHtml" :scope="item"></slot>
<span v-else-if="item.type === 'showTxt'">{{ formObj[item.name] }}</span> <span v-else-if="item.type === 'showTxt'">{{ formObj[item.name] }}</span>
<div v-else-if="item.type === 'input'"> <div v-else-if="item.type === 'input'">
<el-input :placeholder="item.placeholder || '请输入' + item.label" v-bind="item.attrs ? item.attrs : {}" <el-input :placeholder="item.placeholder || '请输入' + item.label" v-bind="item.attrs ? item.attrs : {}" v-on="item.listeners ? item.listeners : {}" :prefix-icon="item.prefixIcon" v-model.trim="formObj[item.name]" :disabled="item.isDisabled" :maxlength="item.maxlength" :clearable="item.isClear || false" :type="item.inputType || 'text'" :autosize="item.inputType == 'textarea'" :rows="item.rows || 2" :style="{ width: item.width || defaultWidth }" :show-word-limit="item.showLimit || false" :show-password="item.showPass || false" @keydown.native="e => handleInputDown(e, item)">
v-on="item.listeners ? item.listeners : {}" :prefix-icon="item.prefixIcon" v-model.trim="formObj[item.name]"
:disabled="item.isDisabled" :maxlength="item.maxlength" :clearable="item.isClear || false"
:type="item.inputType || 'text'" :autosize="item.inputType == 'textarea'" :rows="item.rows || 2"
:style="{ width: item.width || defaultWidth }" :show-word-limit="item.showLimit || false"
:show-password="item.showPass || false" @keydown.native="e => handleInputDown(e, item)">
<span v-if="item.prepend" slot="prepend">{{ item.prepend }}</span> <span v-if="item.prepend" slot="prepend">{{ item.prepend }}</span>
<span v-if="item.append" slot="suffix">{{ item.append }}</span> <span v-if="item.append" slot="suffix">{{ item.append }}</span>
</el-input> </el-input>
...@@ -33,92 +25,54 @@ ...@@ -33,92 +25,54 @@
</div> </div>
<!-- 选择框 --> <!-- 选择框 -->
<div v-else-if="item.type === 'select'"> <div v-else-if="item.type === 'select'">
<el-select :style="{ width: item.width || defaultWidth }" v-model="formObj[item.name]" <el-select :style="{ width: item.width || defaultWidth }" v-model="formObj[item.name]" v-bind="item.attrs ? item.attrs : {}" v-on="item.listeners ? item.listeners : {}" :clearable="item.isClear || false" :placeholder="item.placeholder || '请选择' + item.label" :filterable="!item.noFilter" :disabled="item.isDisabled" :no-data-text="item.noDataText || '无数据'" :multiple="item.multiple || false" :collapse-tags="item.collapseTags || true" @change="selectAddAttr($event, item)">
v-bind="item.attrs ? item.attrs : {}" v-on="item.listeners ? item.listeners : {}" <el-option v-for="subItem in item.optionList" :key="subItem[item.optionId]" :label="subItem[item.optionLabel]" :value="subItem[item.optionId]" :disabled="subItem.isDisabled || false"></el-option>
:clearable="item.isClear || false" :placeholder="item.placeholder || '请选择' + item.label"
:filterable="!item.noFilter" :disabled="item.isDisabled" :no-data-text="item.noDataText || '无数据'"
:multiple="item.multiple || false" :collapse-tags="item.collapseTags || true"
@change="selectAddAttr($event, item)">
<el-option v-for="subItem in item.optionList" :key="subItem[item.optionId]"
:label="subItem[item.optionLabel]" :value="subItem[item.optionId]"
:disabled="subItem.isDisabled || false"></el-option>
</el-select> </el-select>
<slot :name="item.suffixSlot" :scope="item"></slot> <slot :name="item.suffixSlot" :scope="item"></slot>
</div> </div>
<!-- radio --> <!-- radio -->
<div v-else-if="item.type === 'radio'"> <div v-else-if="item.type === 'radio'">
<el-radio-group v-model="formObj[item.name]" v-bind="item.attrs ? item.attrs : {}" <el-radio-group v-model="formObj[item.name]" v-bind="item.attrs ? item.attrs : {}" v-on="item.listeners ? item.listeners : {}" :disabled="item.isDisabled" @change="item.handleRadioChange">
v-on="item.listeners ? item.listeners : {}" :disabled="item.isDisabled" @change="item.handleRadioChange"> <el-radio v-for="subItem in item.optionList" :key="subItem[item.optionId]" :disabled="subItem.isDisabled" :label="subItem[item.optionId]">
<el-radio v-for="subItem in item.optionList" :key="subItem[item.optionId]" :disabled="subItem.isDisabled"
:label="subItem[item.optionId]">
{{ subItem[item.optionLabel] }} {{ subItem[item.optionLabel] }}
<slot :name="subItem.suffixSonSlot" :scope="subItem"></slot> <slot :name="subItem.suffixSonSlot" :scope="subItem"></slot>
</el-radio> </el-radio>
</el-radio-group> </el-radio-group>
<slot :name="item.suffixSlot" :scope="item"></slot> <slot :name="item.suffixSlot" :scope="item"></slot>
</div> </div>
<el-date-picker v-else-if="item.type === 'datePicker'" v-model="formObj[item.name]" <el-date-picker v-else-if="item.type === 'datePicker'" v-model="formObj[item.name]" v-bind="item.attrs ? item.attrs : {}" v-on="item.listeners ? item.listeners : {}" :type="item.dateType || 'daterange'" :disabled="item.isDisabled" :value-format="item.valueFormat" :style="{ width: item.width || defaultWidth }" :clearable="item.isClear || false" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" :picker-options="item.customPickerOptions || pickerOption[item.pickerOptions]"></el-date-picker>
v-bind="item.attrs ? item.attrs : {}" v-on="item.listeners ? item.listeners : {}"
:type="item.dateType || 'daterange'" :disabled="item.isDisabled" :value-format="item.valueFormat"
:style="{ width: item.width || defaultWidth }" :clearable="item.isClear || false" range-separator="至"
start-placeholder="开始日期" end-placeholder="结束日期"
:picker-options="item.customPickerOptions || pickerOption[item.pickerOptions]">
</el-date-picker>
<template v-else-if="item.type === 'upload'"> <template v-else-if="item.type === 'upload'">
<p class="photo-top-tips">{{ item.topTips }}</p> <p class="photo-top-tips">{{ item.topTips }}</p>
<slot :name="item.prefixSlot" :scope="item"></slot> <slot :name="item.prefixSlot" :scope="item"></slot>
<div v-if="!item.isDisabled" :style="{ width: item.width || defaultWidth }"> <div v-if="!item.isDisabled" :style="{ width: item.width || defaultWidth }">
<div <div v-if="Array.isArray(formObj[item.name]) ? formObj[item.name].length < item.maxPhotoNum : !formObj[item.name]" class="activity-img img-w-h" :style="item.uploadStyle && item.uploadStyle.hasOwnProperty('imgWH') ? item.uploadStyle.imgWH : ''">
v-if="Array.isArray(formObj[item.name]) ? formObj[item.name].length < item.maxPhotoNum : !formObj[item.name]" <div class="add" :style="item.uploadStyle && item.uploadStyle.hasOwnProperty('addStyle') ? item.uploadStyle.addStyle : ''">
class="activity-img img-w-h" +
:style="item.uploadStyle && item.uploadStyle.hasOwnProperty('imgWH') ? item.uploadStyle.imgWH : ''"> </div>
<div class="add"
:style="item.uploadStyle && item.uploadStyle.hasOwnProperty('addStyle') ? item.uploadStyle.addStyle : ''">
+</div>
<!-- <span v-if="item.maxPhotoNum > 1" class="number">{{ formObj[item.name].length }}/{{ item.maxPhotoNum }}</span> --> <!-- <span v-if="item.maxPhotoNum > 1" class="number">{{ formObj[item.name].length }}/{{ item.maxPhotoNum }}</span> -->
<span class="number" <span class="number" :style="item.uploadStyle && item.uploadStyle.hasOwnProperty('fontSize') ? item.uploadStyle.fontSize : ''">上传{{ item.uploadType == 'video' ? '视频' : '图片' }}</span>
:style="item.uploadStyle && item.uploadStyle.hasOwnProperty('fontSize') ? item.uploadStyle.fontSize : ''">上传{{ <input v-if="item.uploadType == 'video'" type="file" style="opacity: 0" :id="item.name + 'file'" ref="file" class="activity-img img-w-h" :style="item.uploadStyle && item.uploadStyle.hasOwnProperty('imgWH') ? item.uploadStyle.imgWH : ''" accept="video/mp4" @change="e => handleUploadChange(e, item)" />
item.uploadType == 'video' ? '视频' : '图片' }}</span> <input v-else type="file" style="opacity: 0" :id="item.name + 'file'" ref="file" class="activity-img img-w-h" :style="item.uploadStyle && item.uploadStyle.hasOwnProperty('imgWH') ? item.uploadStyle.imgWH : ''" accept="image/png, image/jpeg, image/gif, image/jpg" @change="e => handleUploadChange(e, item)" />
<input v-if="item.uploadType == 'video'" type="file" style="opacity: 0" :id="item.name + 'file'"
ref="file" class="activity-img img-w-h"
:style="item.uploadStyle && item.uploadStyle.hasOwnProperty('imgWH') ? item.uploadStyle.imgWH : ''"
accept="video/mp4" @change="e => handleUploadChange(e, item)" />
<input v-else type="file" style="opacity: 0" :id="item.name + 'file'" ref="file"
class="activity-img img-w-h"
:style="item.uploadStyle && item.uploadStyle.hasOwnProperty('imgWH') ? item.uploadStyle.imgWH : ''"
accept="image/png, image/jpeg, image/gif, image/jpg" @change="e => handleUploadChange(e, item)" />
</div> </div>
</div> </div>
<template> <template>
<div v-if="Array.isArray(formObj[item.name]) ? formObj[item.name].length : formObj[item.name]"> <div v-if="Array.isArray(formObj[item.name]) ? formObj[item.name].length : formObj[item.name]">
<span v-if="Array.isArray(formObj[item.name])"> <span v-if="Array.isArray(formObj[item.name])">
<span v-for="(subItem, subIndex) in formObj[item.name]" :key="subIndex" class="muti-imgs img-w-h" <span v-for="(subItem, subIndex) in formObj[item.name]" :key="subIndex" class="muti-imgs img-w-h" :style="item.uploadStyle && item.uploadStyle.hasOwnProperty('imgWH') ? item.uploadStyle.imgWH : ''">
:style="item.uploadStyle && item.uploadStyle.hasOwnProperty('imgWH') ? item.uploadStyle.imgWH : ''"> <video v-if="item.uploadType == 'video'" class="img-w-h activity-img" :style="item.uploadStyle && item.uploadStyle.hasOwnProperty('imgWH') ? item.uploadStyle.imgWH : ''" :src="typeof subItem == 'object' ? subItem.content : subItem"></video>
<video v-if="item.uploadType == 'video'" class="img-w-h activity-img" <img v-else class="img-w-h" :style="item.uploadStyle && item.uploadStyle.hasOwnProperty('imgWH') ? item.uploadStyle.imgWH : ''" :src="typeof subItem == 'object' ? subItem.content : subItem" />
:style="item.uploadStyle && item.uploadStyle.hasOwnProperty('imgWH') ? item.uploadStyle.imgWH : ''" <span class="img-btns" :style="item.uploadStyle && item.uploadStyle.hasOwnProperty('imgWH') ? item.uploadStyle.imgWH : ''">
:src="typeof subItem == 'object' ? subItem.content : subItem"></video>
<img v-else class="img-w-h"
:style="item.uploadStyle && item.uploadStyle.hasOwnProperty('imgWH') ? item.uploadStyle.imgWH : ''"
:src="typeof subItem == 'object' ? subItem.content : subItem" />
<span class="img-btns"
:style="item.uploadStyle && item.uploadStyle.hasOwnProperty('imgWH') ? item.uploadStyle.imgWH : ''">
<span class="btn-item"> <span class="btn-item">
<i v-show="!item.isDisabled" class="el-icon-delete" @click="handleImgDelete(item, subIndex)"></i> <i v-show="!item.isDisabled" class="el-icon-delete" @click="handleImgDelete(item, subIndex)"></i>
<i class="el-icon-zoom-in" <i class="el-icon-zoom-in" @click="handleImgLook(typeof subItem == 'object' ? subItem.content : subItem, item)"></i>
@click="handleImgLook(typeof subItem == 'object' ? subItem.content : subItem, item)"></i>
</span> </span>
</span> </span>
</span> </span>
</span> </span>
<span v-else class="muti-imgs"> <span v-else class="muti-imgs">
<video v-if="item.uploadType == 'video'" class="img-w-h activity-img" <video v-if="item.uploadType == 'video'" class="img-w-h activity-img" :style="item.uploadStyle && item.uploadStyle.hasOwnProperty('imgWH') ? item.uploadStyle.imgWH : ''" :src="formObj[item.name]"></video>
:style="item.uploadStyle && item.uploadStyle.hasOwnProperty('imgWH') ? item.uploadStyle.imgWH : ''" <img v-else class="img-w-h" :style="item.uploadStyle && item.uploadStyle.hasOwnProperty('imgWH') ? item.uploadStyle.imgWH : ''" :src="formObj[item.name]" />
:src="formObj[item.name]"></video> <span class="img-btns" :style="item.uploadStyle && item.uploadStyle.hasOwnProperty('imgWH') ? item.uploadStyle.imgWH : ''">
<img v-else class="img-w-h"
:style="item.uploadStyle && item.uploadStyle.hasOwnProperty('imgWH') ? item.uploadStyle.imgWH : ''"
:src="formObj[item.name]" />
<span class="img-btns"
:style="item.uploadStyle && item.uploadStyle.hasOwnProperty('imgWH') ? item.uploadStyle.imgWH : ''">
<span class="btn-item"> <span class="btn-item">
<i v-show="!item.isDisabled" class="el-icon-delete" @click="handleImgDelete(item)"></i> <i v-show="!item.isDisabled" class="el-icon-delete" @click="handleImgDelete(item)"></i>
<i class="el-icon-zoom-in" @click="handleImgLook(formObj[item.name], item)"></i> <i class="el-icon-zoom-in" @click="handleImgLook(formObj[item.name], item)"></i>
...@@ -133,20 +87,15 @@ ...@@ -133,20 +87,15 @@
<!-- <textBox v-else-if="item.type === 'textBox'" :ref="item.name + 'TextBox'" :excludeMenus="item.excludeMenus || ['code']" @change="e => handleTextBoxChange(e, item)" @focus="handleTextBoxFocus(item)" :boxHeight="item.boxHeight"></textBox> --> <!-- <textBox v-else-if="item.type === 'textBox'" :ref="item.name + 'TextBox'" :excludeMenus="item.excludeMenus || ['code']" @change="e => handleTextBoxChange(e, item)" @focus="handleTextBoxFocus(item)" :boxHeight="item.boxHeight"></textBox> -->
<!-- 地图 --> <!-- 地图 -->
<div v-else-if="item.type === 'map'" class="flex"> <div v-else-if="item.type === 'map'" class="flex">
<Province ref="provinceForm" :subdistrict="subdistrict" :is-disabled="item.isDisabled" <Province ref="provinceForm" :subdistrict="subdistrict" :is-disabled="item.isDisabled" @selectProvince="e => handleSelectProvince(e, item)" @selectCity="e => handleSelectCity(e, item)" :province-view="item.provinceView"></Province>
@selectProvince="e => handleSelectProvince(e, item)" @selectCity="e => handleSelectCity(e, item)" <el-input style="flex: 1;" v-model="formObj[item.name]" placeholder="请选择商户地址" :readonly="item.isReadonly"></el-input>
:province-view="item.provinceView"></Province> <el-button class="m-l-10" v-show="!item.isDisabled" @click="handleSelectMap(item)" type="primary">选择地址</el-button>
<el-input style="flex: 1;" v-model="formObj[item.name]" placeholder="请选择商户地址"
:readonly="item.isReadonly"></el-input>
<el-button class="m-l-10" v-show="!item.isDisabled" @click="handleSelectMap(item)"
type="primary">选择地址</el-button>
</div> </div>
</el-form-item> </el-form-item>
</template> </template>
<slot name="footer"></slot> <slot name="footer"></slot>
</el-form> </el-form>
<GLDialog v-if="isImgVisible" big-title="查看" mode="big" :visible.sync="isImgVisible" :close-on-click-modal="false" <GLDialog v-if="isImgVisible" big-title="查看" mode="big" :visible.sync="isImgVisible" :close-on-click-modal="false" @onOk="isImgVisible = false" @onCancel="isImgVisible = false">
@onOk="isImgVisible = false" @onCancel="isImgVisible = false">
<div class="dialog-look"> <div class="dialog-look">
<video v-if="dialogObj.uploadType == 'video'" class="dialog-video" controls> <video v-if="dialogObj.uploadType == 'video'" class="dialog-video" controls>
<source :src="dialogObj.url" type="video/mp4" /> <source :src="dialogObj.url" type="video/mp4" />
...@@ -154,8 +103,7 @@ ...@@ -154,8 +103,7 @@
<img v-else class="dialog-img" width="100%" :src="dialogObj.url" alt="" /> <img v-else class="dialog-img" width="100%" :src="dialogObj.url" alt="" />
</div> </div>
</GLDialog> </GLDialog>
<GLDialog big-title="选择地址" mode="big" :visible.sync="dialogMapVisible" @onOk="getAddress" <GLDialog big-title="选择地址" mode="big" :visible.sync="dialogMapVisible" @onOk="getAddress" @onCancel="dialogMapVisible = false">
@onCancel="dialogMapVisible = false">
<map-view v-if="dialogMapVisible" ref="mapForm"></map-view> <map-view v-if="dialogMapVisible" ref="mapForm"></map-view>
<!-- <span slot="footer" class="dialog-footer"> <!-- <span slot="footer" class="dialog-footer">
<el-button @click="">取 消</el-button> <el-button @click="">取 消</el-button>
...@@ -224,7 +172,7 @@ export default { ...@@ -224,7 +172,7 @@ export default {
}, },
formObj: { formObj: {
type: Object, type: Object,
default: () => { } default: () => {}
}, },
hasTitle: { hasTitle: {
type: Boolean, type: Boolean,
...@@ -232,16 +180,16 @@ export default { ...@@ -232,16 +180,16 @@ export default {
}, },
formRules: { formRules: {
type: Object, type: Object,
default: () => { } default: () => {}
}, },
// 搜索+输入框/搜索组合组件,搜索栏绑值 // 搜索+输入框/搜索组合组件,搜索栏绑值
searchSelectObj: { searchSelectObj: {
type: Object, type: Object,
default: () => { } default: () => {}
} }
}, },
mounted() { }, mounted() {},
methods: { methods: {
// 选择框-添加其他属性 // 选择框-添加其他属性
...@@ -462,7 +410,7 @@ export default { ...@@ -462,7 +410,7 @@ export default {
-webkit-appearance: none !important; -webkit-appearance: none !important;
} }
.glsx-combi-form input[type="number"] { .glsx-combi-form input[type='number'] {
-moz-appearance: textfield !important; -moz-appearance: textfield !important;
} }
......
...@@ -77,7 +77,7 @@ export default { ...@@ -77,7 +77,7 @@ export default {
map.addControl(new AMap.ToolBar()) map.addControl(new AMap.ToolBar())
this.geocoder = new AMap.Geocoder() this.geocoder = new AMap.Geocoder()
map.setDefaultCursor('pointer') map.setDefaultCursor('pointer')
AMap.plugin(['AMap.PlaceSearch'], function () { AMap.plugin(['AMap.PlaceSearch'], function() {
//构造地点查询类 //构造地点查询类
placeSearch = new AMap.PlaceSearch({ placeSearch = new AMap.PlaceSearch({
pageSize: 8, // 单页显示结果条数 pageSize: 8, // 单页显示结果条数
...@@ -99,7 +99,7 @@ export default { ...@@ -99,7 +99,7 @@ export default {
return true return true
} }
let _this = this let _this = this
placeSearch.search(query, function (status, result) { placeSearch.search(query, function(status, result) {
if (status === 'complete' && result.poiList.pois.length) { if (status === 'complete' && result.poiList.pois.length) {
_this.adrList = result.poiList.pois _this.adrList = result.poiList.pois
} }
......
<!-- 弹窗 --> <!-- 弹窗 -->
<template> <template>
<div> <div>
<el-dialog <el-dialog :title="title" :visible.sync="isVisible" :show-close="showClose" :before-close="handleClose" :close-on-click-modal="false" :modal-append-to-body="false" :width="width" class="app-dialog">
:title="title"
:visible.sync="isVisible"
:show-close="showClose"
:before-close="handleClose"
:close-on-click-modal="false"
:modal-append-to-body="false"
:width="width"
class="app-dialog"
>
<el-scrollbar v-if="hasScroll"> <el-scrollbar v-if="hasScroll">
<span slot="title"> <span slot="title">
<span class="main-title"></span> <span class="main-title"></span>
...@@ -32,24 +23,9 @@ ...@@ -32,24 +23,9 @@
<div slot="footer"> <div slot="footer">
<slot name="btn-start"></slot> <slot name="btn-start"></slot>
<el-button <el-button :type="typeName" v-if="!noClose" :size="btnSize" @click="handleClose"></el-button>
:type="typeName" <el-button type="default" v-if="!noCancel" :size="btnSize" @click="handleClose"></el-button>
v-if="!noClose" <el-button type="primary" v-if="!noBtnOk" :size="btnSize" @click="handleConfirm"></el-button>
:size="btnSize"
@click="handleClose"
></el-button>
<el-button
type="default"
v-if="!noCancel"
:size="btnSize"
@click="handleClose"
></el-button>
<el-button
type="primary"
v-if="!noBtnOk"
:size="btnSize"
@click="handleConfirm"
></el-button>
<slot name="btn-middle"></slot> <slot name="btn-middle"></slot>
</div> </div>
</el-dialog> </el-dialog>
......
import Vue from 'vue' import Vue from 'vue'
import { defaultStatusOptions, defaultDeliveryStatusOptions, defaultPutStatusOptions, tableData } from '@/utils/constants.js' import { defaultStatusOptions, defaultDeliveryStatusOptions, defaultPutStatusOptions, tableData } from '@/utils/constants.js'
// 发货状态 // 发货状态
Vue.filter('deliveryStatus', (id, formatString) => { Vue.filter('deliveryStatus', (id, formatString) => {
const text = '--' const text = '--'
for (let i = 0; i < defaultDeliveryStatusOptions.length; i++) { for (let i = 0; i < defaultDeliveryStatusOptions.length; i++) {
...@@ -9,9 +9,9 @@ Vue.filter('deliveryStatus', (id, formatString) => { ...@@ -9,9 +9,9 @@ Vue.filter('deliveryStatus', (id, formatString) => {
} }
} }
return text return text
}) })
// 入库状态 // 入库状态
Vue.filter('putStatus', (id, formatString) => { Vue.filter('putStatus', (id, formatString) => {
const text = '--' const text = '--'
for (let i = 0; i < defaultPutStatusOptions.length; i++) { for (let i = 0; i < defaultPutStatusOptions.length; i++) {
if (defaultPutStatusOptions[i].id === id) { if (defaultPutStatusOptions[i].id === id) {
...@@ -19,10 +19,10 @@ Vue.filter('deliveryStatus', (id, formatString) => { ...@@ -19,10 +19,10 @@ Vue.filter('deliveryStatus', (id, formatString) => {
} }
} }
return text return text
}) })
// 订单状态状态 // 订单状态状态
Vue.filter('orderStatus', (id, formatString) => { Vue.filter('orderStatus', (id, formatString) => {
const text = '--' const text = '--'
for (let i = 0; i < defaultStatusOptions.length; i++) { for (let i = 0; i < defaultStatusOptions.length; i++) {
if (defaultStatusOptions[i].id === id) { if (defaultStatusOptions[i].id === id) {
...@@ -30,4 +30,4 @@ Vue.filter('deliveryStatus', (id, formatString) => { ...@@ -30,4 +30,4 @@ Vue.filter('deliveryStatus', (id, formatString) => {
} }
} }
return text return text
}) })
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
*/ */
import Vue from 'vue' import Vue from 'vue'
import apis from './api' import apis from './api'
import {optionalChaining} from './utils/chaining' import { optionalChaining } from './utils/chaining'
import './public-path' import './public-path'
import '@/assets/css/public.scss' import '@/assets/css/public.scss'
import '@/components' import '@/components'
......
if (window.__POWERED_BY_QIANKUN__) { if (window.__POWERED_BY_QIANKUN__) {
// eslint-disable-next-line no-undef // eslint-disable-next-line no-undef
__webpack_public_path__ = window.__INJECTED_PUBLIC_PATH_BY_QIANKUN__; __webpack_public_path__ = window.__INJECTED_PUBLIC_PATH_BY_QIANKUN__
} }
export const optionalChaining = (obj, ...rest) => { export const optionalChaining = (obj, ...rest) => {
return rest.reduce((newObj, key) => newObj?.[key], obj) return rest.reduce((newObj, key) => newObj?.[key], obj) || ''
// let tmp = obj // let tmp = obj
// for (const key in rest) { // for (const key in rest) {
// const name = rest[key] // const name = rest[key]
......
...@@ -2,362 +2,361 @@ ...@@ -2,362 +2,361 @@
export const defaultStatusOptions = [ export const defaultStatusOptions = [
{ {
id: 1, id: 1,
label: "待审核" label: '待审核'
}, },
{ {
id: 2, id: 2,
label: "已审核" label: '已审核'
}, },
{ {
id: 3, id: 3,
label: "已取消" label: '已取消'
} }
] ]
// 发货状态 // 发货状态
export const defaultDeliveryStatusOptions = [ export const defaultDeliveryStatusOptions = [
{ {
id: 1, id: 1,
label: "未发货" label: '未发货'
}, },
{ {
id: 2, id: 2,
label: "已发货" label: '已发货'
} }
] ]
// 入库状态 // 入库状态
export const defaultPutStatusOptions = [ export const defaultPutStatusOptions = [
{ {
id: 1, id: 1,
label: "未入库" label: '未入库'
}, },
{ {
id: 2, id: 2,
label: "已入库" label: '已入库'
} }
] ]
export const membraneTypeList = [1, 4, 6, 12, 14] export const membraneTypeList = [1, 4, 6, 12, 14]
export const tableData = [ export const tableData = [
{ {
"id": 87, id: 87,
"orderCode": "CG202303246031", orderCode: 'CG202303246031',
"totalPrice": 2000, totalPrice: 2000,
"orderTime": 1679628260000, orderTime: 1679628260000,
"merchantId": 44211025, merchantId: 44211025,
"merchantName": "流程测试园区门店", merchantName: '流程测试园区门店',
"putStatus": 2, putStatus: 2,
"putTime": 1679628300000, putTime: 1679628300000,
"putMerchantId": 44211025, putMerchantId: 44211025,
"putMerchantName": "流程测试园区门店", putMerchantName: '流程测试园区门店',
"status": 2, status: 2,
"createdBy": null, createdBy: null,
"createdDate": null, createdDate: null,
"updatedBy": null, updatedBy: null,
"updatedDate": null, updatedDate: null,
"deletedFlag": null, deletedFlag: null,
"sortType": 0, sortType: 0,
"orderTimeStart": null, orderTimeStart: null,
"orderTimeEnd": null, orderTimeEnd: null,
"orderTimeStr": null, orderTimeStr: null,
"deliveryStatus": 2, deliveryStatus: 2,
"putTimeStr": null, putTimeStr: null,
"putTimeStart": null, putTimeStart: null,
"putTimeEnd": null, putTimeEnd: null,
"contactName": "宋司机", contactName: '宋司机',
"contactPhone": "13750523252", contactPhone: '13750523252',
"contactAddress": "111111111111111111111111111111111111111111111111", contactAddress: '111111111111111111111111111111111111111111111111',
"deliveryNumber": "23213123321", deliveryNumber: '23213123321',
"deliveryCompany": "顺丰", deliveryCompany: '顺丰',
"yqMerchantIds": null yqMerchantIds: null
}, },
{ {
"id": 86, id: 86,
"orderCode": "CG202303245909", orderCode: 'CG202303245909',
"totalPrice": 200, totalPrice: 200,
"orderTime": 1679627865000, orderTime: 1679627865000,
"merchantId": 44211025, merchantId: 44211025,
"merchantName": "流程测试园区门店", merchantName: '流程测试园区门店',
"putStatus": 2, putStatus: 2,
"putTime": 1679627971000, putTime: 1679627971000,
"putMerchantId": 44211025, putMerchantId: 44211025,
"putMerchantName": "流程测试园区门店", putMerchantName: '流程测试园区门店',
"status": 2, status: 2,
"createdBy": null, createdBy: null,
"createdDate": null, createdDate: null,
"updatedBy": null, updatedBy: null,
"updatedDate": null, updatedDate: null,
"deletedFlag": null, deletedFlag: null,
"sortType": 0, sortType: 0,
"orderTimeStart": null, orderTimeStart: null,
"orderTimeEnd": null, orderTimeEnd: null,
"orderTimeStr": null, orderTimeStr: null,
"deliveryStatus": 2, deliveryStatus: 2,
"putTimeStr": null, putTimeStr: null,
"putTimeStart": null, putTimeStart: null,
"putTimeEnd": null, putTimeEnd: null,
"contactName": "宋司机", contactName: '宋司机',
"contactPhone": "13750523252", contactPhone: '13750523252',
"contactAddress": "111111111111111111111111111111111111111111111111", contactAddress: '111111111111111111111111111111111111111111111111',
"deliveryNumber": "202303113333", deliveryNumber: '202303113333',
"deliveryCompany": "顺丰", deliveryCompany: '顺丰',
"yqMerchantIds": null yqMerchantIds: null
}, },
{ {
"id": 85, id: 85,
"orderCode": "CG202303074278", orderCode: 'CG202303074278',
"totalPrice": 222, totalPrice: 222,
"orderTime": 1678175926000, orderTime: 1678175926000,
"merchantId": 44211753, merchantId: 44211753,
"merchantName": "权限验证门店", merchantName: '权限验证门店',
"putStatus": 1, putStatus: 1,
"putTime": null, putTime: null,
"putMerchantId": null, putMerchantId: null,
"putMerchantName": null, putMerchantName: null,
"status": 1, status: 1,
"createdBy": null, createdBy: null,
"createdDate": null, createdDate: null,
"updatedBy": null, updatedBy: null,
"updatedDate": null, updatedDate: null,
"deletedFlag": null, deletedFlag: null,
"sortType": 0, sortType: 0,
"orderTimeStart": null, orderTimeStart: null,
"orderTimeEnd": null, orderTimeEnd: null,
"orderTimeStr": null, orderTimeStr: null,
"deliveryStatus": 1, deliveryStatus: 1,
"putTimeStr": null, putTimeStr: null,
"putTimeStart": null, putTimeStart: null,
"putTimeEnd": null, putTimeEnd: null,
"contactName": "test", contactName: 'test',
"contactPhone": "13156464645", contactPhone: '13156464645',
"contactAddress": "test", contactAddress: 'test',
"deliveryNumber": null, deliveryNumber: null,
"deliveryCompany": null, deliveryCompany: null,
"yqMerchantIds": null yqMerchantIds: null
}, },
{ {
"id": 84, id: 84,
"orderCode": "CG202303062215", orderCode: 'CG202303062215',
"totalPrice": 2, totalPrice: 2,
"orderTime": 1678094753000, orderTime: 1678094753000,
"merchantId": 44211025, merchantId: 44211025,
"merchantName": "流程测试园区门店", merchantName: '流程测试园区门店',
"putStatus": 1, putStatus: 1,
"putTime": null, putTime: null,
"putMerchantId": null, putMerchantId: null,
"putMerchantName": null, putMerchantName: null,
"status": 1, status: 1,
"createdBy": null, createdBy: null,
"createdDate": null, createdDate: null,
"updatedBy": null, updatedBy: null,
"updatedDate": null, updatedDate: null,
"deletedFlag": null, deletedFlag: null,
"sortType": 0, sortType: 0,
"orderTimeStart": null, orderTimeStart: null,
"orderTimeEnd": null, orderTimeEnd: null,
"orderTimeStr": null, orderTimeStr: null,
"deliveryStatus": 1, deliveryStatus: 1,
"putTimeStr": null, putTimeStr: null,
"putTimeStart": null, putTimeStart: null,
"putTimeEnd": null, putTimeEnd: null,
"contactName": "宋司机", contactName: '宋司机',
"contactPhone": "13750523252", contactPhone: '13750523252',
"contactAddress": "111111111111111111111111111111111111111111111111", contactAddress: '111111111111111111111111111111111111111111111111',
"deliveryNumber": null, deliveryNumber: null,
"deliveryCompany": null, deliveryCompany: null,
"yqMerchantIds": null yqMerchantIds: null
}, },
{ {
"id": 83, id: 83,
"orderCode": "CG202303061686", orderCode: 'CG202303061686',
"totalPrice": 80, totalPrice: 80,
"orderTime": 1678094729000, orderTime: 1678094729000,
"merchantId": 44211025, merchantId: 44211025,
"merchantName": "流程测试园区门店", merchantName: '流程测试园区门店',
"putStatus": 1, putStatus: 1,
"putTime": null, putTime: null,
"putMerchantId": null, putMerchantId: null,
"putMerchantName": null, putMerchantName: null,
"status": 1, status: 1,
"createdBy": null, createdBy: null,
"createdDate": null, createdDate: null,
"updatedBy": null, updatedBy: null,
"updatedDate": null, updatedDate: null,
"deletedFlag": null, deletedFlag: null,
"sortType": 0, sortType: 0,
"orderTimeStart": null, orderTimeStart: null,
"orderTimeEnd": null, orderTimeEnd: null,
"orderTimeStr": null, orderTimeStr: null,
"deliveryStatus": 1, deliveryStatus: 1,
"putTimeStr": null, putTimeStr: null,
"putTimeStart": null, putTimeStart: null,
"putTimeEnd": null, putTimeEnd: null,
"contactName": "宋司机", contactName: '宋司机',
"contactPhone": "13750523252", contactPhone: '13750523252',
"contactAddress": "111111111111111111111111111111111111111111111111", contactAddress: '111111111111111111111111111111111111111111111111',
"deliveryNumber": null, deliveryNumber: null,
"deliveryCompany": null, deliveryCompany: null,
"yqMerchantIds": null yqMerchantIds: null
}, },
{ {
"id": 82, id: 82,
"orderCode": "CG202303061255", orderCode: 'CG202303061255',
"totalPrice": 100, totalPrice: 100,
"orderTime": 1678094705000, orderTime: 1678094705000,
"merchantId": 44211025, merchantId: 44211025,
"merchantName": "流程测试园区门店", merchantName: '流程测试园区门店',
"putStatus": 1, putStatus: 1,
"putTime": null, putTime: null,
"putMerchantId": null, putMerchantId: null,
"putMerchantName": null, putMerchantName: null,
"status": 1, status: 1,
"createdBy": null, createdBy: null,
"createdDate": null, createdDate: null,
"updatedBy": null, updatedBy: null,
"updatedDate": null, updatedDate: null,
"deletedFlag": null, deletedFlag: null,
"sortType": 0, sortType: 0,
"orderTimeStart": null, orderTimeStart: null,
"orderTimeEnd": null, orderTimeEnd: null,
"orderTimeStr": null, orderTimeStr: null,
"deliveryStatus": 1, deliveryStatus: 1,
"putTimeStr": null, putTimeStr: null,
"putTimeStart": null, putTimeStart: null,
"putTimeEnd": null, putTimeEnd: null,
"contactName": "宋司机", contactName: '宋司机',
"contactPhone": "13750523252", contactPhone: '13750523252',
"contactAddress": "111111111111111111111111111111111111111111111111", contactAddress: '111111111111111111111111111111111111111111111111',
"deliveryNumber": null, deliveryNumber: null,
"deliveryCompany": null, deliveryCompany: null,
"yqMerchantIds": null yqMerchantIds: null
}, },
{ {
"id": 81, id: 81,
"orderCode": "CG202303068699", orderCode: 'CG202303068699',
"totalPrice": 200, totalPrice: 200,
"orderTime": 1678094690000, orderTime: 1678094690000,
"merchantId": 44211025, merchantId: 44211025,
"merchantName": "流程测试园区门店", merchantName: '流程测试园区门店',
"putStatus": 1, putStatus: 1,
"putTime": null, putTime: null,
"putMerchantId": null, putMerchantId: null,
"putMerchantName": null, putMerchantName: null,
"status": 1, status: 1,
"createdBy": null, createdBy: null,
"createdDate": null, createdDate: null,
"updatedBy": null, updatedBy: null,
"updatedDate": null, updatedDate: null,
"deletedFlag": null, deletedFlag: null,
"sortType": 0, sortType: 0,
"orderTimeStart": null, orderTimeStart: null,
"orderTimeEnd": null, orderTimeEnd: null,
"orderTimeStr": null, orderTimeStr: null,
"deliveryStatus": 1, deliveryStatus: 1,
"putTimeStr": null, putTimeStr: null,
"putTimeStart": null, putTimeStart: null,
"putTimeEnd": null, putTimeEnd: null,
"contactName": "宋司机", contactName: '宋司机',
"contactPhone": "13750523252", contactPhone: '13750523252',
"contactAddress": "111111111111111111111111111111111111111111111111", contactAddress: '111111111111111111111111111111111111111111111111',
"deliveryNumber": null, deliveryNumber: null,
"deliveryCompany": null, deliveryCompany: null,
"yqMerchantIds": null yqMerchantIds: null
}, },
{ {
"id": 80, id: 80,
"orderCode": "CG202303061510", orderCode: 'CG202303061510',
"totalPrice": 88, totalPrice: 88,
"orderTime": 1678094683000, orderTime: 1678094683000,
"merchantId": 44211025, merchantId: 44211025,
"merchantName": "流程测试园区门店", merchantName: '流程测试园区门店',
"putStatus": 1, putStatus: 1,
"putTime": null, putTime: null,
"putMerchantId": null, putMerchantId: null,
"putMerchantName": null, putMerchantName: null,
"status": 1, status: 1,
"createdBy": null, createdBy: null,
"createdDate": null, createdDate: null,
"updatedBy": null, updatedBy: null,
"updatedDate": null, updatedDate: null,
"deletedFlag": null, deletedFlag: null,
"sortType": 0, sortType: 0,
"orderTimeStart": null, orderTimeStart: null,
"orderTimeEnd": null, orderTimeEnd: null,
"orderTimeStr": null, orderTimeStr: null,
"deliveryStatus": 1, deliveryStatus: 1,
"putTimeStr": null, putTimeStr: null,
"putTimeStart": null, putTimeStart: null,
"putTimeEnd": null, putTimeEnd: null,
"contactName": "宋司机", contactName: '宋司机',
"contactPhone": "13750523252", contactPhone: '13750523252',
"contactAddress": "111111111111111111111111111111111111111111111111", contactAddress: '111111111111111111111111111111111111111111111111',
"deliveryNumber": null, deliveryNumber: null,
"deliveryCompany": null, deliveryCompany: null,
"yqMerchantIds": null yqMerchantIds: null
}, },
{ {
"id": 79, id: 79,
"orderCode": "CG202303068980", orderCode: 'CG202303068980',
"totalPrice": 266, totalPrice: 266,
"orderTime": 1678094455000, orderTime: 1678094455000,
"merchantId": 44211452, merchantId: 44211452,
"merchantName": "lsq园区店02", merchantName: 'lsq园区店02',
"putStatus": 2, putStatus: 2,
"putTime": 1678938194000, putTime: 1678938194000,
"putMerchantId": 44211452, putMerchantId: 44211452,
"putMerchantName": "lsq园区店02", putMerchantName: 'lsq园区店02',
"status": 2, status: 2,
"createdBy": null, createdBy: null,
"createdDate": null, createdDate: null,
"updatedBy": null, updatedBy: null,
"updatedDate": null, updatedDate: null,
"deletedFlag": null, deletedFlag: null,
"sortType": 0, sortType: 0,
"orderTimeStart": null, orderTimeStart: null,
"orderTimeEnd": null, orderTimeEnd: null,
"orderTimeStr": null, orderTimeStr: null,
"deliveryStatus": 2, deliveryStatus: 2,
"putTimeStr": null, putTimeStr: null,
"putTimeStart": null, putTimeStart: null,
"putTimeEnd": null, putTimeEnd: null,
"contactName": "刘世权", contactName: '刘世权',
"contactPhone": "15089782612", contactPhone: '15089782612',
"contactAddress": "广东省深圳市龙岗区坂田街道", contactAddress: '广东省深圳市龙岗区坂田街道',
"deliveryNumber": "202303061722", deliveryNumber: '202303061722',
"deliveryCompany": "wllw", deliveryCompany: 'wllw',
"yqMerchantIds": null yqMerchantIds: null
}, },
{ {
"id": 78, id: 78,
"orderCode": "CG202303068011", orderCode: 'CG202303068011',
"totalPrice": 66, totalPrice: 66,
"orderTime": 1678094339000, orderTime: 1678094339000,
"merchantId": 44211025, merchantId: 44211025,
"merchantName": "流程测试园区门店", merchantName: '流程测试园区门店',
"putStatus": 1, putStatus: 1,
"putTime": null, putTime: null,
"putMerchantId": null, putMerchantId: null,
"putMerchantName": null, putMerchantName: null,
"status": 1, status: 1,
"createdBy": null, createdBy: null,
"createdDate": null, createdDate: null,
"updatedBy": null, updatedBy: null,
"updatedDate": null, updatedDate: null,
"deletedFlag": null, deletedFlag: null,
"sortType": 0, sortType: 0,
"orderTimeStart": null, orderTimeStart: null,
"orderTimeEnd": null, orderTimeEnd: null,
"orderTimeStr": null, orderTimeStr: null,
"deliveryStatus": 1, deliveryStatus: 1,
"putTimeStr": null, putTimeStr: null,
"putTimeStart": null, putTimeStart: null,
"putTimeEnd": null, putTimeEnd: null,
"contactName": "宋司机", contactName: '宋司机',
"contactPhone": "13750523252", contactPhone: '13750523252',
"contactAddress": "111111111111111111111111111111111111111111111111", contactAddress: '111111111111111111111111111111111111111111111111',
"deliveryNumber": null, deliveryNumber: null,
"deliveryCompany": null, deliveryCompany: null,
"yqMerchantIds": null yqMerchantIds: null
} }
] ]
\ No newline at end of file \ No newline at end of file
export function debounce(func, wait = 200) { export function debounce(func, wait = 200) {
let timeout; let timeout
return function (event) { return function(event) {
clearTimeout(timeout) clearTimeout(timeout)
timeout = setTimeout(() => { timeout = setTimeout(() => {
func.call(this, event) func.call(this, event)
...@@ -24,10 +24,9 @@ export function dateFormat(dateTime, format = 'YYYY-MM-DD HH:mm') { ...@@ -24,10 +24,9 @@ export function dateFormat(dateTime, format = 'YYYY-MM-DD HH:mm') {
return format return format
} }
/** /**
* 校验手机号码格式 * 校验手机号码格式
*/ */
export function checkPhone(mobile) { export function checkPhone(mobile) {
const myreg = const myreg = /^(13[0-9]|15[0-9]|16[0-9]|17[0-9]|18[0-9]|19[0-9]|14[0-9])[0-9]{8}$/
/^(13[0-9]|15[0-9]|16[0-9]|17[0-9]|18[0-9]|19[0-9]|14[0-9])[0-9]{8}$/
return myreg.test(mobile) return myreg.test(mobile)
} }
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
<el-form-item label="商品:" class="goods"> <el-form-item label="商品:" class="goods">
<img v-if="$$(detail, 'quotationGoodsInfo', 'titlePictureUrl')" class="order-img" <img v-if="$$(detail, 'quotationGoodsInfo', 'titlePictureUrl')" class="order-img"
:src="$$(detail, 'quotationGoodsInfo', 'titlePictureUrl')" @click="handleEnlargeImg" /> :src="$$(detail, 'quotationGoodsInfo', 'titlePictureUrl')" @click="handleEnlargeImg" />
{{ $$(detail, 'quotationGoodsInfo', 'goodsName') }} {{ $$(detail, 'goodsName') }}
</el-form-item> </el-form-item>
<el-form-item label="增值权益价格/元:" style="width:450px"> <el-form-item label="增值权益价格/元:" style="width:450px">
{{ detail.quotedPriceUpdate / 100 }} {{ detail.quotedPriceUpdate / 100 }}
...@@ -241,7 +241,12 @@ export default { ...@@ -241,7 +241,12 @@ export default {
} }
.goods { .goods {
height: 100px; // height: 100px;
::v-deep .el-form-item__content {
max-width: 240px;
word-break: break-all;
}
// display: flex; // display: flex;
} }
......
<template> <template>
<div> <div>
<div> <div>
<el-form ref="form" <el-form ref="form" :model="company" label-width="154px"></el-form>
:model="company"
label-width="154px"></el-form>
</div> </div>
<div class="member-wrapper"> <div class="member-wrapper">
<div class="member-left"> <div class="member-left">
<div class="member-content"> <div class="member-content">
<div class="member-content-head"> <div class="member-content-head">
<el-checkbox :indeterminate="isIndeterminate" <el-checkbox :indeterminate="isIndeterminate" v-model="checkAll" @change="handleCheckAllChange">全选</el-checkbox>
v-model="checkAll"
@change="handleCheckAllChange">全选</el-checkbox>
</div> </div>
<div class="table-content"> <div class="table-content">
<el-input size="medium" <el-input size="medium" v-model="filterText" suffix-icon="el-icon-search" clearable placeholder="请输入搜索关键字"></el-input>
v-model="filterText" <el-tree :data="departmentList" :default-expanded-keys="expandedKeys" show-checkbox ref="tree" node-key="id" :props="defaultProps" @check="handleNodeClick" :filter-node-method="filterNode"></el-tree>
suffix-icon="el-icon-search"
clearable
placeholder="请输入搜索关键字"></el-input>
<el-tree :data="departmentList"
:default-expanded-keys="expandedKeys"
show-checkbox
ref="tree"
node-key="id"
:props="defaultProps"
@check="handleNodeClick"
:filter-node-method="filterNode"></el-tree>
</div> </div>
</div> </div>
</div> </div>
<div class="member-right"> <div class="member-right">
<div class="member-name member-content-head"> <div class="member-name member-content-head">
<div>已选名称</div> <div>已选名称</div>
<div class="blue" <div class="blue" @click="clear">清空</div>
@click="clear">清空</div>
</div> </div>
<div class="input-tag-wrapper"> <div class="input-tag-wrapper">
<div class="tag-box"> <div class="tag-box">
<el-tag v-for="(label, idx) in userList" <el-tag v-for="(label, idx) in userList" :key="idx" type="info" closable :disable-transitions="false" @close="remove(idx)">
:key="idx"
type="info"
closable
:disable-transitions="false"
@close="remove(idx)">
{{ label.name }} {{ label.name }}
</el-tag> </el-tag>
</div> </div>
...@@ -181,7 +160,7 @@ export default { ...@@ -181,7 +160,7 @@ export default {
if (!value) return true if (!value) return true
return data.name.indexOf(value) !== -1 return data.name.indexOf(value) !== -1
}, },
search() { }, search() {},
handleNodeClick() { handleNodeClick() {
this.userList = this.$refs.tree.getCheckedNodes().filter(item => item.children && item.children.length == 0) this.userList = this.$refs.tree.getCheckedNodes().filter(item => item.children && item.children.length == 0)
this.isIndeterminate = this.userList.length > 0 && this.userList.length < this.ids.length this.isIndeterminate = this.userList.length > 0 && this.userList.length < this.ids.length
......
...@@ -2,43 +2,36 @@ ...@@ -2,43 +2,36 @@
<template> <template>
<div class="purchase"> <div class="purchase">
<div class="container"> <div class="container">
<GLCombiForm ref="showSearch" <GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="showFormData" @handleOk="handleSearch"
:rowNumber="1"
:formObj="searchForm"
:formData="showFormData"
@handleOk="handleSearch"
@handleRest="handleReset"></GLCombiForm> @handleRest="handleReset"></GLCombiForm>
<div class="table-header"> <div class="table-header">
<el-button type="primary" <el-button type="primary" class="btn" size="small" @click="exportExcel">导出</el-button>
class="btn"
size="small"
@click="exportExcel">导出</el-button>
</div> </div>
<!-- 表格区域 开始 --> <!-- 表格区域 开始 -->
<GLTable ref="orderRef" <GLTable ref="orderRef" :getListApi="getListApi" :noDataImg="url" :searchForm="tableSearchForm"
:getListApi="getListApi" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn"
:noDataImg="url"
:searchForm="tableSearchForm"
:tableParams="tableParams"
:pageConf="pageConf"
:beforeSearchFn="beforeSearchFn"
@setTableFinishFun="setTableFinishFun"> @setTableFinishFun="setTableFinishFun">
<div class="table-btns" <div class="table-btns" slot="auth-button" slot-scope="scope">
slot="auth-button"
slot-scope="scope">
<el-button type="text" <el-button type="text"
v-if="[1, 2, 3, -1, 5].includes(scope.scope.orderStatus) || [2].includes(scope.scope.equityOrderStatus)" v-if="[1, 2, 3, -1, 5].includes(scope.scope.orderStatus) || [2].includes(scope.scope.equityOrderStatus)"
@click="handlePrint(scope.scope)">打印</el-button> :disabled="scope.scope.mode != 0" @click="handlePrint(scope.scope)">打印</el-button>
<el-button type="text" <el-button type="text"
v-if="[2].includes(scope.scope.equityOrderStatus) && [3, 5].includes(scope.scope.orderStatus)" v-if="[2].includes(scope.scope.equityOrderStatus) && [3, 5].includes(scope.scope.orderStatus)"
@click="handlePrintContract(scope.scope)">打印合同</el-button> @click="handlePrintContract(scope.scope)">打印合同</el-button>
<el-button type="text" <el-button type="text" @click="handleDetail(scope.scope)">详情</el-button>
@click="handleDetail(scope.scope)">详情</el-button>
</div> </div>
</GLTable> </GLTable>
<!-- 表格区域 end --> <!-- 表格区域 end -->
</div> </div>
<GLDialog v-if="previewVisible" bigTitle="打印合同" mode="big" :visible.sync="previewVisible" :noCancel="true"
:width="'480px'" :close-on-click-modal="false" @onOk="previewVisible = false" @onCancel="previewVisible = false">
<div class="previewItem" v-for="(item, index) in previewList" :key="index">
<span v-if="!item.goodName">合同{{ index + 1 }}</span>
<span class="goodName one-line-ellipsis" v-else>合同名称: {{ item.goodName }}</span>
<i class="el-icon-download downloadIcon" @click="exportFile({ contractNo: item.contractNo })"></i>
</div>
</GLDialog>
</div> </div>
</template> </template>
...@@ -49,63 +42,69 @@ import { Util, downLoadFile } from '@/common/util' ...@@ -49,63 +42,69 @@ import { Util, downLoadFile } from '@/common/util'
import { manageTypeList } from '@/common/constant.js' import { manageTypeList } from '@/common/constant.js'
export default { export default {
name: 'CarDamage', name: 'CarDamage',
components: { components: {},
},
data() { data() {
return { return {
sessionInfo: this.$globalState.session, sessionInfo: this.$globalState.session,
size: 'small', size: 'small',
url: url, url: url,
searchForm: { searchForm: {
orderStatus: "", orderStatus: '',
merchantName: "", merchantName: '',
goodsName: "", goodsName: '',
createTime: "" createTime: '',
tradeNo: ''
}, },
showFormData: [ showFormData: [
{ {
label: "客户姓名", label: '交易参考号',
name: "customerName", name: 'tradeNo',
type: "input", type: 'input',
isClear: true isClear: true
// keyFn: this.keyDowmGetList
}, },
{ {
label: "服务状态", label: '客户姓名',
name: "orderStatus", name: 'customerName',
type: "select", type: 'input',
isClear: true
},
{
label: '服务状态',
name: 'orderStatus',
type: 'select',
optionList: [], optionList: [],
optionId: "severType", optionId: 'severType',
optionLabel: "severName", optionLabel: 'severName',
optionsName: "severTypeList" optionsName: 'severTypeList'
}, },
{ {
label: "商户名称", label: '商户名称',
name: "merchantName", name: 'merchantName',
type: "input", type: 'input',
maxlength: "20", maxlength: '20',
isClear: true isClear: true
}, },
{ {
label: "商品名称", label: '商品名称',
name: "goodsName", name: 'goodsName',
type: "input", type: 'input',
maxlength: "20", maxlength: '20',
isClear: true isClear: true
}, },
{ {
label: "车架号", label: '车架号',
name: "carVin", name: 'carVin',
type: "input", type: 'input',
isClear: true isClear: true
}, },
{ {
label: "创建时间", label: '创建时间',
name: "createTime", name: 'createTime',
type: "datePicker", type: 'datePicker',
isClear: true, isClear: true,
pickerOptions: 'beforeRangePickerOptions' pickerOptions: 'beforeRangePickerOptions'
}, }
], ],
tableSearchForm: {}, tableSearchForm: {},
// 表格 // 表格
...@@ -115,70 +114,69 @@ export default { ...@@ -115,70 +114,69 @@ export default {
tableOption: true, tableOption: true,
tableColumns: [ tableColumns: [
{ {
label: "报价单号", label: '报价单号',
prop: "orderId", prop: 'orderId',
minWidth: "200" minWidth: '200'
},
{
label: '交易参考号',
prop: 'tradeNo',
minWidth: '200'
}, },
{ {
label: "客户姓名", label: '客户姓名',
prop: "customerName", prop: 'customerName',
width: "200px" width: '200px'
}, },
{ {
label: "车架号", label: '车架号',
prop: "carVin", prop: 'carVin',
width: "250px" width: '250px'
}, },
{ {
label: "保险公司", label: '保险公司',
prop: "insuranceCompany", prop: 'insuranceCompany',
minWidth: 100 minWidth: 100
}, },
{ {
label: "状态", label: '状态',
prop: "orderStatus", prop: 'orderStatus',
width: "100", width: '100',
formatter: (cellValue) => { formatter: cellValue => {
if (cellValue.orderStatus == 4) { if (cellValue.orderStatus == 4) {
return "已支付" return '已支付'
} else { } else {
return this.baseData.severTypeList return this.baseData.severTypeList.map(item => item.severType).includes(cellValue.orderStatus) ? this.baseData.severTypeList.find(item => item.severType === cellValue.orderStatus).severName : '-'
.map((item) => item.severType)
.includes(cellValue.orderStatus)
? this.baseData.severTypeList.find(
(item) => item.severType === cellValue.orderStatus
).severName
: "-"
} }
} }
}, },
{ {
label: "备注", label: '备注',
prop: "remark" prop: 'remark'
}, },
{ {
label: "商品名称", label: '商品名称',
prop: "goodsName", prop: 'goodsName',
width: "200px" width: '200px'
}, },
{ {
label: "报价金额/元", label: '报价金额/元',
prop: "quotedPrice", prop: 'quotedPrice',
width: "200px" width: '200px'
}, },
{ {
label: "预计权益金额/元", label: '预计权益金额/元',
prop: "estEquityPrice", prop: 'estEquityPrice',
width: "250px" width: '250px'
}, },
{ {
label: "实际权益金额/元", label: '实际权益金额/元',
prop: "equityPrice", prop: 'equityPrice',
width: "250px" width: '250px'
}, },
{ {
label: "商户名称", label: '商户名称',
prop: "merchantName", prop: 'merchantName',
minWidth: 150 minWidth: 150
} }
] ]
...@@ -187,27 +185,38 @@ export default { ...@@ -187,27 +185,38 @@ export default {
// 基本数据 // 基本数据
baseData: { baseData: {
severTypeList: [ severTypeList: [
{ severName: "待报价", severType: 0 }, { severName: '待报价', severType: 0 },
{ severName: "待确认", severType: 1 }, { severName: '待确认', severType: 1 },
{ severName: "待支付", severType: 2 }, { severName: '待支付', severType: 2 },
{ severName: "已支付", severType: 3 }, { severName: '已支付', severType: 3 },
{ severName: "战败", severType: -1 }, { severName: '战败', severType: -1 },
{ severName: "已完成", severType: 5 } { severName: '已完成', severType: 5 }
] ]
}, },
previewVisible: false,
// 驳回
dialogConfig: {
setting: {
showClose: true,
isShowFooter: false
// appendToBody: true,
},
config: {
title: '打印合同',
width: '480px'
} }
}, },
previewList: []
created() { }
}, },
created() { },
mounted() { mounted() {
this.getOptionsList() this.getOptionsList()
}, },
watch: { watch: {},
},
methods: { methods: {
getParams() { getParams() {
...@@ -220,7 +229,7 @@ export default { ...@@ -220,7 +229,7 @@ export default {
return params return params
}, },
beforeSearchFn() { beforeSearchFn() {
return new Promise((resolve) => { return new Promise(resolve => {
this.tableSearchForm = this.getParams() this.tableSearchForm = this.getParams()
delete this.tableSearchForm.createTime delete this.tableSearchForm.createTime
resolve() resolve()
...@@ -258,10 +267,10 @@ export default { ...@@ -258,10 +267,10 @@ export default {
}, },
handleReset() { handleReset() {
this.searchForm = { this.searchForm = {
orderStatus: "", orderStatus: '',
merchantName: "", merchantName: '',
goodsName: "", goodsName: '',
createTime: "" createTime: ''
} }
this.handleSearch() this.handleSearch()
}, },
...@@ -283,7 +292,7 @@ export default { ...@@ -283,7 +292,7 @@ export default {
// 打印报价单 // 打印报价单
handlePrint(row) { handlePrint(row) {
this.$apis.order.quotationPrintApi({ id: row.id }).then((res) => { this.$apis.order.quotationPrintApi({ id: row.id }).then(res => {
console.log(res) console.log(res)
const oWin = window.open(res) const oWin = window.open(res)
oWin.document.fn = function () { oWin.document.fn = function () {
...@@ -292,62 +301,84 @@ export default { ...@@ -292,62 +301,84 @@ export default {
oWin.close() oWin.close()
} }
} }
const html = const html = '<div style="height: 100%;width: 100%;">' + `<img src="${res}" onload="fn()" style="max-height:100%;max-width: 100%;" />` + '</div>'
'<div style="height: 100%;width: 100%;">' +
`<img src="${res}" onload="fn()" style="max-height:100%;max-width: 100%;" />` +
"</div>"
oWin.document.open() oWin.document.open()
oWin.document.write(html) oWin.document.write(html)
oWin.document.close() oWin.document.close()
}) })
}, },
// 打印权益合同 // 打印权益合同
handlePrintContract(row) { async handlePrintContract(row) {
// 获取权益合同PDF const res = await this.$apis.order.listContracts({ orderId: row.orderId })
this.$apis.order.contractExportApi({ orderId: row.orderId }).then((res) => { console.log(res, 'res')
if (res.length == 1) {
// 获取权益合同PDF 用订单号
// this.exportFile({ orderId: row.orderId })
this.exportFile({ contractNo: res[0].contractNo })
} else {
this.previewVisible = true
this.previewList = res
}
},
exportFile(params) {
this.$apis.order.contractExportApi(params).then(res => {
window.open(res) window.open(res)
}) })
}, }
// 打印权益合同
// handlePrintContract(row) {
// // 获取权益合同PDF
// this.$apis.order.contractExportApi({ orderId: row.orderId }).then(res => {
// window.open(res)
// })
// }
} }
} }
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
@import '@/assets/css/mixin.scss'; @import '@/assets/css/mixin.scss';
.purchase { .purchase {
.table-header { .table-header {
display: flex; display: flex;
align-items: center; align-items: center;
margin-bottom: 25px; margin-bottom: 25px;
margin-top: 20px; margin-top: 20px;
h2 { h2 {
font-weight: 600; font-weight: 600;
font-size: 16px; font-size: 16px;
color: #333; color: #333;
} }
.glbtn { .glbtn {
left: 46px; left: 46px;
position: absolute; position: absolute;
} }
.btn { .btn {
right: 47px; right: 47px;
position: absolute; position: absolute;
} }
} }
.greenSpot { .greenSpot {
@include dot; @include dot;
background: $color-green; background: $color-green;
} }
.yellowSpot { .yellowSpot {
@include dot; @include dot;
background: $color-yellow; background: $color-yellow;
} }
.ashSpot { .ashSpot {
@include dot; @include dot;
background: $color-gray; background: $color-gray;
} }
.table-btns /deep/.el-button--text {
.table-btns ::v-deep.el-button--text {
min-width: 0 !important; min-width: 0 !important;
padding: 0; padding: 0;
} }
...@@ -357,4 +388,33 @@ export default { ...@@ -357,4 +388,33 @@ export default {
color: #909399; color: #909399;
} }
} }
</style>
.one-line-ellipsis {
width: 100%;
white-space: nowrap;
display: inline-block;
overflow: hidden;
text-overflow: ellipsis;
}
.previewItem {
text-align: center;
font-family: PingFangSC-Regular;
font-weight: 400;
font-size: 14px;
color: #1d1d1d;
}
.goodName {
max-width: 70%;
width: auto;
}
.previewItem+.previewItem {
margin-top: 30px;
}
.downloadIcon {
margin-left: 10px;
color: #185efe;
}</style>
...@@ -4,29 +4,17 @@ ...@@ -4,29 +4,17 @@
<div class="container"> <div class="container">
<template v-if="showTable"> <template v-if="showTable">
<div class="sticky"> <div class="sticky">
<GLCombiForm ref="showSearch" <GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="searchFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
:rowNumber="1"
:formObj="searchForm"
:formData="searchFormData"
@handleOk="handleSearch"
@handleRest="handleReset"></GLCombiForm>
<div class="flex"> <div class="flex">
<div class="flex-default tabs"> <div class="flex-default tabs">
<el-tabs v-model="searchForm.requestSource" <el-tabs v-model="searchForm.requestSource" @tab-click="handleTabClick">
@tab-click="handleTabClick"> <el-tab-pane :label="i" :name="index" :key="index" v-for="(i, index) in requestSourceList"></el-tab-pane>
<el-tab-pane :label="i"
:name="index"
:key="index"
v-for="(i,index) in requestSourceList"></el-tab-pane>
</el-tabs> </el-tabs>
</div> </div>
<div class="btn-group"> <div class="btn-group">
<template v-if="!hideStatus"> <template v-if="!hideStatus">
<el-button type="primary" <el-button type="primary" class="btn" size="small" @click="handleExport">导出</el-button>
class="btn"
size="small"
@click="handleExport">导出</el-button>
</template> </template>
</div> </div>
</div> </div>
...@@ -34,85 +22,47 @@ ...@@ -34,85 +22,47 @@
<!-- 表格区域 - 全部订单/售后订单 - 开始 --> <!-- 表格区域 - 全部订单/售后订单 - 开始 -->
<div class="order-manage-table"> <div class="order-manage-table">
<div class="table-tips"> <div class="table-tips">
<div class="table-tips-text"> <div class="table-tips-text">已生成有效订单{{ statisticsInfo.orderCount || 0 }}项 累计订单总额:{{ statisticsInfo.payPriceTotal || 0 }}元 累计退款总额:{{ statisticsInfo.refundTotal || 0 }} 元</div>
已生成有效订单{{ statisticsInfo.orderCount || 0 }}项
累计订单总额:{{ statisticsInfo.payPriceTotal || 0 }}元
累计退款总额:{{ statisticsInfo.refundTotal || 0 }} 元
</div> </div>
</div> <GLTable ref="allOrderRef" :getListApi="getListApi" :noDataImg="url" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun" @selectionTable="selectionTable">
<GLTable ref="allOrderRef" <div slot="weChatName" class="flex-align" slot-scope="scope">
:getListApi="getListApi" <img v-if="scope.scope.weChatImageUrl" class="img-36 pointer img-circle" :src="scope.scope.weChatImageUrl" />
:noDataImg="url"
:searchForm="tableSearchForm"
:tableParams="tableParams"
:pageConf="pageConf"
:beforeSearchFn="beforeSearchFn"
@setTableFinishFun="setTableFinishFun"
@selectionTable="selectionTable">
<div slot="weChatName"
class="flex-align"
slot-scope="scope">
<img v-if="scope.scope.weChatImageUrl"
class="img-36 pointer img-circle"
:src="scope.scope.weChatImageUrl" />
<span class="m-l-10">{{ scope.scope.weChatName }}</span> <span class="m-l-10">{{ scope.scope.weChatName }}</span>
<span v-if="!scope.scope.shareAvatar && !scope.scope.weChatName">-</span> <span v-if="!scope.scope.shareAvatar && !scope.scope.weChatName">-</span>
</div> </div>
<template slot="vinNo" <template slot="vinNo" slot-scope="scope">
slot-scope="scope">
{{ Array.isArray(scope.scope.vinNo) ? scope.scope.vinNo[0] : scope.scope.vinNo }} {{ Array.isArray(scope.scope.vinNo) ? scope.scope.vinNo[0] : scope.scope.vinNo }}
<el-popover popper-class="order-table-popover" <el-popover popper-class="order-table-popover" placement="right-start" trigger="click">
placement="right-start" <p v-for="(item, index) in scope.scope.vinNo" :key="index">{{ item }}</p>
trigger="click"> <span class="car-no" slot="reference" v-show="Array.isArray(scope.scope.vinNo)">...({{ scope.scope.vinNo.length - 1 }})</span>
<p v-for="(item, index) in scope.scope.vinNo"
:key="index">{{ item }}</p>
<span class="car-no"
slot="reference"
v-show="Array.isArray(scope.scope.vinNo)">...({{ scope.scope.vinNo.length - 1 }})</span>
</el-popover> </el-popover>
</template> </template>
<div slot="orderStatus" <div slot="orderStatus" slot-scope="scope">
slot-scope="scope"> <span :class="['table-circle', 'm-r-8', [2, 10, 22].includes(scope.scope.orderStatus) ? 'back-green' : [9].includes(scope.scope.orderStatus) ? 'back-blue' : [1, 21, 6].includes(scope.scope.orderStatus) ? 'back-orange' : 'back-grey']"></span>
<span
:class="['table-circle', 'm-r-8', [2, 10, 22].includes(scope.scope.orderStatus) ? 'back-green' : [9].includes(scope.scope.orderStatus) ? 'back-blue' : [1, 21, 6].includes(scope.scope.orderStatus) ? 'back-orange' : 'back-grey']"></span>
<span>{{ baseData.orderStatusList.map(item => item.confId).includes(scope.scope.orderStatus + '') ? baseData.orderStatusList.find(item => item.confId == scope.scope.orderStatus).confName : '-' }}</span> <span>{{ baseData.orderStatusList.map(item => item.confId).includes(scope.scope.orderStatus + '') ? baseData.orderStatusList.find(item => item.confId == scope.scope.orderStatus).confName : '-' }}</span>
</div> </div>
<div slot="shareStaffName" <div slot="shareStaffName" class="table-image" slot-scope="scope">
class="table-image"
slot-scope="scope">
<div> <div>
<img v-if="scope.scope.shareStaffImageUrl" <img v-if="scope.scope.shareStaffImageUrl" class="img-36 pointer img-circle" style="vertical-align: middle" slot="reference" :src="scope.scope.shareStaffImageUrl" />
class="img-36 pointer img-circle"
style="vertical-align: middle"
slot="reference"
:src="scope.scope.shareStaffImageUrl" />
<span class="m-l-10"> <span class="m-l-10">
<span>{{ scope.scope.shareStaffName }}</span> <span>{{ scope.scope.shareStaffName }}</span>
<span class="txt-green" <span class="txt-green" v-if="scope.scope.shareStaffSource == 1">@个微</span>
v-if="scope.scope.shareStaffSource == 1">@个微</span> <span class="txt-orange" v-if="scope.scope.shareStaffSource == 2">@企微</span>
<span class="txt-orange" <span class="txt-blue" v-if="scope.scope.shareStaffSource == 3">@员工</span>
v-if="scope.scope.shareStaffSource == 2">@企微</span>
<span class="txt-blue"
v-if="scope.scope.shareStaffSource == 3">@员工</span>
</span> </span>
</div> </div>
<span v-if="!scope.scope.shareStaffImageUrl && !scope.scope.shareStaffName">-</span> <span v-if="!scope.scope.shareStaffImageUrl && !scope.scope.shareStaffName">-</span>
</div> </div>
<div slot="assignName" <div slot="assignName" slot-scope="scope">
slot-scope="scope">
<div class="flex-align"> <div class="flex-align">
<template v-if="scope.scope.assignStaffName"> <template v-if="scope.scope.assignStaffName">
<img class="img-36 pointer img-circle" <img class="img-36 pointer img-circle" v-if="scope.scope.assignStaffImageUrl" :src="scope.scope.assignStaffImageUrl" />
v-if="scope.scope.assignStaffImageUrl"
:src="scope.scope.assignStaffImageUrl" />
<span class="m-l-10"> <span class="m-l-10">
<span>{{ scope.scope.assignStaffName }}</span> <span>{{ scope.scope.assignStaffName }}</span>
</span> </span>
</template> </template>
<template v-else-if="scope.scope.shareStaffName"> <template v-else-if="scope.scope.shareStaffName">
<img class="img-36 pointer img-circle" <img class="img-36 pointer img-circle" v-if="scope.scope.shareStaffImageUrl" :src="scope.scope.shareStaffImageUrl" />
v-if="scope.scope.shareStaffImageUrl"
:src="scope.scope.shareStaffImageUrl" />
<span class="m-l-10"> <span class="m-l-10">
<span>{{ scope.scope.shareStaffName }}</span> <span>{{ scope.scope.shareStaffName }}</span>
</span> </span>
...@@ -134,27 +84,28 @@ ...@@ -134,27 +84,28 @@
inactive-text="否" inactive-text="否"
></el-switch> ></el-switch>
</div> --> </div> -->
<div slot="marketingStatus" <div slot="marketingStatus" slot-scope="scope">
slot-scope="scope">
<template v-if="scope.scope.marketingStatus"> <template v-if="scope.scope.marketingStatus">
<span <span :class="['table-circle', 'm-r-8', [1, 2].includes(scope.scope.marketingStatus) ? 'back-green' : 'back-grey']"></span>
:class="['table-circle', 'm-r-8', [1, 2].includes(scope.scope.marketingStatus) ? 'back-green' : 'back-grey']"></span>
</template> </template>
<span>{{ scope.scope.marketingStatus ?{ <span>
1:'已完结', {{
2:'已完结', scope.scope.marketingStatus
3:'未完结', ? {
4:'已取消' 1: '已完结',
}[scope.scope.marketingStatus]: '-' }}</span> 2: '已完结',
3: '未完结',
4: '已取消'
}[scope.scope.marketingStatus]
: '-'
}}
</span>
</div> </div>
<div class="table-btns" <div class="table-btns" slot="auth-button" slot-scope="scope">
slot="auth-button"
slot-scope="scope">
<!-- <GLTableButton :buttonList="tableButtonList" <!-- <GLTableButton :buttonList="tableButtonList"
:buttonItem="scope.scope" :buttonItem="scope.scope"
:buttonNum="3"></GLTableButton> --> :buttonNum="3"></GLTableButton> -->
<el-button type="text" <el-button type="text" @click="handleDetail(scope.scope)">查看订单</el-button>
@click="handleDetail(scope.scope)">查看订单</el-button>
</div> </div>
</GLTable> </GLTable>
</div> </div>
...@@ -190,13 +141,11 @@ const userInfo = [ ...@@ -190,13 +141,11 @@ const userInfo = [
{ {
label: '尾款凭证:', label: '尾款凭证:',
key: 'verificationVoucher' key: 'verificationVoucher'
}, }
] ]
export default { export default {
name: 'orderManage', name: 'orderManage',
components: { components: {},
},
data() { data() {
return { return {
userInfo, userInfo,
...@@ -294,15 +243,15 @@ export default { ...@@ -294,15 +243,15 @@ export default {
{ confId: '4', confName: '已取消' } { confId: '4', confName: '已取消' }
], ],
tailOrderStatusList: [ tailOrderStatusList: [
{ confId: "0", confName: "待支付" }, { confId: '0', confName: '待支付' },
{ confId: "1", confName: "已支付" }, { confId: '1', confName: '已支付' },
{ confId: "2", confName: "已退款" } { confId: '2', confName: '已退款' }
], ],
ledgerStatusList: [ ledgerStatusList: [
{ confId: "0", confName: "未分账" }, { confId: '0', confName: '未分账' },
{ confId: "1", confName: "待确认" }, { confId: '1', confName: '待确认' },
{ confId: "2", confName: "待分账" }, { confId: '2', confName: '待分账' },
{ confId: "3", confName: "已分账" } { confId: '3', confName: '已分账' }
] ]
}, },
requestSourceList: ['全部订单', '已付款', '未付款', '已退款', '售后订单', '待审批'], requestSourceList: ['全部订单', '已付款', '未付款', '已退款', '售后订单', '待审批'],
...@@ -343,10 +292,9 @@ export default { ...@@ -343,10 +292,9 @@ export default {
}, },
{ {
label: '活动名称', label: '活动名称',
prop: 'activityName', prop: 'activityName'
} }
] ]
}, },
showTable: false, //显示隐藏表格 showTable: false, //显示隐藏表格
hideStatus: true hideStatus: true
...@@ -397,7 +345,7 @@ export default { ...@@ -397,7 +345,7 @@ export default {
label: '推荐人ID', label: '推荐人ID',
prop: 'shareStaffId', prop: 'shareStaffId',
name: 'shareStaffId', name: 'shareStaffId',
width: 210, width: 210
}, },
{ {
label: '指派人', label: '指派人',
...@@ -511,8 +459,8 @@ export default { ...@@ -511,8 +459,8 @@ export default {
label: '测试单', label: '测试单',
prop: 'orderType', prop: 'orderType',
width: '100', width: '100',
formatter: (cellValue) => { formatter: cellValue => {
return { 0: "否", 1: "是" }[cellValue.orderType] || "-" return { 0: '否', 1: '是' }[cellValue.orderType] || '-'
} }
}, },
{ {
...@@ -527,7 +475,7 @@ export default { ...@@ -527,7 +475,7 @@ export default {
label: '营销状态', label: '营销状态',
name: 'marketingStatus', name: 'marketingStatus',
width: 180, width: 180,
addHtml: 'marketingStatus', addHtml: 'marketingStatus'
}, },
{ {
label: '售后状态', label: '售后状态',
...@@ -562,7 +510,7 @@ export default { ...@@ -562,7 +510,7 @@ export default {
label: '尾款状态', label: '尾款状态',
prop: 'tailOrderStatus', prop: 'tailOrderStatus',
width: 100, width: 100,
formatter: (cellValue) => { formatter: cellValue => {
return { 0: '待支付', 1: '已支付', 2: '已退款' }[cellValue.tailOrderStatus] || '-' return { 0: '待支付', 1: '已支付', 2: '已退款' }[cellValue.tailOrderStatus] || '-'
} }
}, },
...@@ -570,7 +518,7 @@ export default { ...@@ -570,7 +518,7 @@ export default {
label: '交易参考号', label: '交易参考号',
prop: 'transactionReferenceId', prop: 'transactionReferenceId',
width: '160', width: '160',
formatter: (cellValue) => { formatter: cellValue => {
return cellValue.transactionReferenceId || '-' return cellValue.transactionReferenceId || '-'
} }
}, },
...@@ -578,7 +526,7 @@ export default { ...@@ -578,7 +526,7 @@ export default {
label: '分账状态', label: '分账状态',
prop: 'ledgerStatus', prop: 'ledgerStatus',
width: 100, width: 100,
formatter: (cellValue) => { formatter: cellValue => {
return { 0: '未分账', 1: '待确认', 2: '待分账', 3: '已分账' }[cellValue.ledgerStatus] || '-' return { 0: '未分账', 1: '待确认', 2: '待分账', 3: '已分账' }[cellValue.ledgerStatus] || '-'
} }
}, },
...@@ -586,10 +534,10 @@ export default { ...@@ -586,10 +534,10 @@ export default {
label: '尾款金额', label: '尾款金额',
prop: 'finalPaymentAmount', prop: 'finalPaymentAmount',
width: '160', width: '160',
formatter: (cellValue) => { formatter: cellValue => {
return cellValue.finalPaymentAmount ? cellValue.finalPaymentAmount / 100 : '-' return cellValue.finalPaymentAmount ? cellValue.finalPaymentAmount / 100 : '-'
} }
}, }
], ],
searchFormData = [ searchFormData = [
{ {
...@@ -722,7 +670,7 @@ export default { ...@@ -722,7 +670,7 @@ export default {
type: 'select', type: 'select',
multiple: true, multiple: true,
attrs: { attrs: {
multipleLimit: 10, multipleLimit: 10
}, },
noFilter: false, noFilter: false,
optionList: [], optionList: [],
...@@ -778,7 +726,7 @@ export default { ...@@ -778,7 +726,7 @@ export default {
} }
], ],
optionId: 'confId', optionId: 'confId',
optionLabel: 'confName', optionLabel: 'confName'
}, },
{ {
label: '线下订单', label: '线下订单',
...@@ -808,27 +756,27 @@ export default { ...@@ -808,27 +756,27 @@ export default {
optionsName: 'marketingStatusList' optionsName: 'marketingStatusList'
}, },
{ {
label: "尾款状态", label: '尾款状态',
name: "tailOrderStatus", name: 'tailOrderStatus',
type: "select", type: 'select',
optionList: [], optionList: [],
optionId: "confId", optionId: 'confId',
optionLabel: "confName", optionLabel: 'confName',
optionsName: "tailOrderStatusList" optionsName: 'tailOrderStatusList'
}, },
{ {
label: "交易参考号", label: '交易参考号',
name: "transactionReferenceId", name: 'transactionReferenceId',
type: "input" type: 'input'
}, },
{ {
label: "分账状态", label: '分账状态',
name: "ledgerStatus", name: 'ledgerStatus',
type: "select", type: 'select',
optionList: [], optionList: [],
optionId: "confId", optionId: 'confId',
optionLabel: "confName", optionLabel: 'confName',
optionsName: "ledgerStatusList" optionsName: 'ledgerStatusList'
} }
], ],
hideStatus = false hideStatus = false
...@@ -914,7 +862,7 @@ export default { ...@@ -914,7 +862,7 @@ export default {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning', type: 'warning',
callback: utils.debounce((action) => { callback: utils.debounce(action => {
if (action == 'confirm') { if (action == 'confirm') {
this.$apis[apiModule][apiName](apiParams).then(res => { this.$apis[apiModule][apiName](apiParams).then(res => {
this.$message({ this.$message({
...@@ -950,8 +898,6 @@ export default { ...@@ -950,8 +898,6 @@ export default {
}) })
}, },
setTableFinishFun() { setTableFinishFun() {
this.$refs.allOrderRef.data.forEach(item => { this.$refs.allOrderRef.data.forEach(item => {
item.vinNo = item.vin ? (item.vin.split(',').length > 1 ? item.vin.split(',') : item.vin) : '-' item.vinNo = item.vin ? (item.vin.split(',').length > 1 ? item.vin.split(',') : item.vin) : '-'
...@@ -959,7 +905,6 @@ export default { ...@@ -959,7 +905,6 @@ export default {
//接收到的数据为空 //接收到的数据为空
this.$refs.allOrderRef.data.length ? (this.$refs.allOrderRef.tableHeightValues = '') : this.$refs.allOrderRef.setTableHeightFun() this.$refs.allOrderRef.data.length ? (this.$refs.allOrderRef.tableHeightValues = '') : this.$refs.allOrderRef.setTableHeightFun()
this.getCount() this.getCount()
}, },
handleSearch() { handleSearch() {
...@@ -1002,7 +947,7 @@ export default { ...@@ -1002,7 +947,7 @@ export default {
} }
const activityNamesIndex = this.searchFormData.findIndex(e => e.name == 'activityNames') const activityNamesIndex = this.searchFormData.findIndex(e => e.name == 'activityNames')
this.$set(this.searchFormData[activityNamesIndex], 'optionList', this.$common.utils.deepClone(activityNameList)) this.$set(this.searchFormData[activityNamesIndex], 'optionList', this.$common.utils.deepClone(activityNameList))
}, }
} }
} }
</script> </script>
......
...@@ -2,63 +2,39 @@ ...@@ -2,63 +2,39 @@
<template> <template>
<div class="purchase"> <div class="purchase">
<div class="container"> <div class="container">
<GLCombiForm ref="showSearch" <GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="showFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
:rowNumber="1"
:formObj="searchForm"
:formData="showFormData"
@handleOk="handleSearch"
@handleRest="handleReset"></GLCombiForm>
<div class="table-header"> <div class="table-header">
<span class="priceSpan">累计订单金额:¥{{ totalCount }}元</span> <span class="priceSpan">累计订单金额:¥{{ totalCount }}元</span>
<el-button type="primary" <el-button type="primary" class="btn" size="small" @click="exportExcel">导出</el-button>
class="btn"
size="small"
@click="exportExcel">导出</el-button>
</div> </div>
<!-- 表格区域 开始 --> <!-- 表格区域 开始 -->
<GLTable ref="orderRef" <GLTable ref="orderRef" :getListApi="getListApi" :noDataImg="url" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun">
:getListApi="getListApi" <template slot="carTypeName" slot-scope="scope">
:noDataImg="url"
:searchForm="tableSearchForm"
:tableParams="tableParams"
:pageConf="pageConf"
:beforeSearchFn="beforeSearchFn"
@setTableFinishFun="setTableFinishFun">
<template slot="carTypeName"
slot-scope="scope">
<span v-show="scope.scope.carBrand">{{ scope.scope.carBrand }}</span> <span v-show="scope.scope.carBrand">{{ scope.scope.carBrand }}</span>
<span v-show="scope.scope.carChildsBrandName">-{{ scope.scope.carChildsBrandName }}</span> <span v-show="scope.scope.carChildsBrandName">-{{ scope.scope.carChildsBrandName }}</span>
<span v-show="scope.scope.carSeriesName">-{{ scope.scope.carSeriesName }}</span> <span v-show="scope.scope.carSeriesName">-{{ scope.scope.carSeriesName }}</span>
</template> </template>
<template slot="upgradeGoodsNames" <template slot="upgradeGoodsNames" slot-scope="scope">
slot-scope="scope"> <span v-for="(item, index) in scope.scope.subOrderList" :key="index">
<span v-for="(item, index) in scope.scope.subOrderList"
:key="index">
<p v-if="item.upgradeGoodsId">{{ item.upgradeGoodsName }}</p> <p v-if="item.upgradeGoodsId">{{ item.upgradeGoodsName }}</p>
<p v-else>{{ item.baseGoodsName }}</p> <p v-else>{{ item.baseGoodsName }}</p>
</span> </span>
</template> </template>
<template slot="upgradeGoodsAlias" <template slot="upgradeGoodsAlias" slot-scope="scope">
slot-scope="scope"> <span v-for="(item, index) in scope.scope.subOrderList" :key="index">
<span v-for="(item, index) in scope.scope.subOrderList"
:key="index">
<p>{{ item.upgradeGoodsAlias }}</p> <p>{{ item.upgradeGoodsAlias }}</p>
</span> </span>
</template> </template>
<template slot="goodsPrice" <template slot="goodsPrice" slot-scope="scope">
slot-scope="scope"> <span v-for="(item, index) in scope.scope.subOrderList" :key="index">
<span v-for="(item, index) in scope.scope.subOrderList"
:key="index">
<p v-if="item.upgradeGoodsId">¥ {{ item.totalPrice }}</p> <p v-if="item.upgradeGoodsId">¥ {{ item.totalPrice }}</p>
<p v-else>¥ {{ item.baseRetailPrice }}</p> <p v-else>¥ {{ item.baseRetailPrice }}</p>
</span> </span>
</template> </template>
<template slot="upgradeWarrantyPeriod" <template slot="upgradeWarrantyPeriod" slot-scope="scope">
slot-scope="scope"> <span v-for="(item, index) in scope.scope.subOrderList" :key="index">
<span v-for="(item, index) in scope.scope.subOrderList" <p>{{ item.upgradeWarrantyPeriod ? item.upgradeWarrantyPeriod + '年' : '无' }}</p>
:key="index">
<p>{{ item.upgradeWarrantyPeriod ? (item.upgradeWarrantyPeriod + '年') : '无' }}</p>
</span> </span>
</template> </template>
<!-- <template slot="status" <!-- <template slot="status"
...@@ -69,17 +45,13 @@ ...@@ -69,17 +45,13 @@
<span>{{ scope.scope.status | orderStatus }}</span> <span>{{ scope.scope.status | orderStatus }}</span>
</div> </div>
</template> --> </template> -->
<div class="table-btns" <div class="table-btns" slot="auth-button" slot-scope="scope">
slot="auth-button" <el-button type="text" @click="handleDetail(scope.scope)">查看详情</el-button>
slot-scope="scope">
<el-button type="text"
@click="handleDetail(scope.scope)">查看详情</el-button>
</div> </div>
</GLTable> </GLTable>
<!-- 表格区域 end --> <!-- 表格区域 end -->
</div> </div>
<orderDeatilDialog :visible.sync="detailVisible" <orderDeatilDialog :visible.sync="detailVisible" :paramsObj="paramsObj"></orderDeatilDialog>
:paramsObj="paramsObj"></orderDeatilDialog>
</div> </div>
</template> </template>
...@@ -90,9 +62,7 @@ import { Util, downLoadFile } from '@/common/util' ...@@ -90,9 +62,7 @@ import { Util, downLoadFile } from '@/common/util'
import { orderStatusList, upgradeList, constructionList, profitAllocationStatusList, sourceList, manageTypeList } from '@/common/constant.js' import { orderStatusList, upgradeList, constructionList, profitAllocationStatusList, sourceList, manageTypeList } from '@/common/constant.js'
export default { export default {
name: 'Order', name: 'Order',
components: { components: {},
},
data() { data() {
return { return {
sessionInfo: this.$globalState.session, sessionInfo: this.$globalState.session,
...@@ -165,13 +135,15 @@ export default { ...@@ -165,13 +135,15 @@ export default {
type: 'input', type: 'input',
isClear: true, isClear: true,
maxlength: 20 maxlength: 20
}, { },
{
label: '客户姓名', label: '客户姓名',
name: 'customerName', name: 'customerName',
type: 'input', type: 'input',
isClear: true, isClear: true,
maxlength: 20 maxlength: 20
}, { },
{
// label: '园区店', // label: '园区店',
label: '服务对接', label: '服务对接',
name: 'yqMerchantId', name: 'yqMerchantId',
...@@ -191,7 +163,8 @@ export default { ...@@ -191,7 +163,8 @@ export default {
this.searchForm.merchantId = '' this.searchForm.merchantId = ''
this.getOptionsList() this.getOptionsList()
} }
}, { },
{
label: '流量来源', label: '流量来源',
name: 'merchantId', name: 'merchantId',
type: 'select', type: 'select',
...@@ -218,13 +191,15 @@ export default { ...@@ -218,13 +191,15 @@ export default {
type: 'datePicker', type: 'datePicker',
isClear: true, isClear: true,
pickerOptions: 'beforeRangePickerOptions' pickerOptions: 'beforeRangePickerOptions'
}, { },
{
label: '订单编号', label: '订单编号',
name: 'orderCode', name: 'orderCode',
type: 'input', type: 'input',
isClear: true, isClear: true,
maxlength: 128 maxlength: 128
}, { },
{
label: '订单来源', label: '订单来源',
name: 'sourceList', name: 'sourceList',
type: 'select', type: 'select',
...@@ -232,7 +207,8 @@ export default { ...@@ -232,7 +207,8 @@ export default {
optionId: 'confId', optionId: 'confId',
optionLabel: 'confLabel', optionLabel: 'confLabel',
optionsName: 'sourceList' optionsName: 'sourceList'
}, { },
{
label: '渠道', label: '渠道',
name: 'channelType', name: 'channelType',
type: 'select', type: 'select',
...@@ -240,7 +216,8 @@ export default { ...@@ -240,7 +216,8 @@ export default {
optionId: 'value', optionId: 'value',
optionLabel: 'name', optionLabel: 'name',
optionsName: 'channelTypeList' optionsName: 'channelTypeList'
}, { },
{
label: '服务对接模式', label: '服务对接模式',
name: 'businessModel', name: 'businessModel',
type: 'select', type: 'select',
...@@ -248,7 +225,8 @@ export default { ...@@ -248,7 +225,8 @@ export default {
optionId: 'confId', optionId: 'confId',
optionLabel: 'confLabel', optionLabel: 'confLabel',
optionsName: 'manageTypeList' optionsName: 'manageTypeList'
}, { },
{
label: '二级流量方', label: '二级流量方',
name: 'subShopMerchantId', name: 'subShopMerchantId',
type: 'select', type: 'select',
...@@ -280,7 +258,7 @@ export default { ...@@ -280,7 +258,7 @@ export default {
label: '支付时间', label: '支付时间',
prop: 'paySuccessDate', prop: 'paySuccessDate',
width: 170, width: 170,
formatter: (cellValue) => { formatter: cellValue => {
return cellValue.paySuccessDate ? Util.dateFormate(cellValue.paySuccessDate, 'YYYY-MM-DD HH:mm:ss') : '' return cellValue.paySuccessDate ? Util.dateFormate(cellValue.paySuccessDate, 'YYYY-MM-DD HH:mm:ss') : ''
} }
}, },
...@@ -295,14 +273,14 @@ export default { ...@@ -295,14 +273,14 @@ export default {
{ {
label: '客户姓名', label: '客户姓名',
prop: 'customerName', prop: 'customerName',
minWidth: 100, minWidth: 100
}, },
{ {
label: '客户性别', label: '客户性别',
prop: 'customerSex', prop: 'customerSex',
minWidth: 100, minWidth: 100,
formatter: (cellValue) => { formatter: cellValue => {
return { 1: "男", 2: "女" }[cellValue.customerSex] || "-" return { 1: '男', 2: '女' }[cellValue.customerSex] || '-'
} }
}, },
{ {
...@@ -320,16 +298,16 @@ export default { ...@@ -320,16 +298,16 @@ export default {
label: '升级状态', label: '升级状态',
prop: 'upgradeFlag', prop: 'upgradeFlag',
minWidth: 100, minWidth: 100,
formatter: (cellValue) => { formatter: cellValue => {
return this.baseData.upgradeList.find(item => item.confId === cellValue.upgradeFlag)?.confLabel || "待升级" return this.baseData.upgradeList.find(item => item.confId === cellValue.upgradeFlag)?.confLabel || '待升级'
} }
}, },
{ {
label: '施工状态', label: '施工状态',
prop: 'constructionFlag', prop: 'constructionFlag',
minWidth: 100, minWidth: 100,
formatter: (cellValue) => { formatter: cellValue => {
return this.baseData.constructionList.find(item => item.confId === cellValue.constructionFlag)?.confLabel || "-" return this.baseData.constructionList.find(item => item.confId === cellValue.constructionFlag)?.confLabel || '-'
} }
}, },
{ {
...@@ -370,7 +348,7 @@ export default { ...@@ -370,7 +348,7 @@ export default {
label: '总价', label: '总价',
prop: 'totalPrice', prop: 'totalPrice',
minWidth: 100, minWidth: 100,
formatter: (cellValue) => { formatter: cellValue => {
return cellValue.totalPrice ? '¥' + cellValue.totalPrice : '-' return cellValue.totalPrice ? '¥' + cellValue.totalPrice : '-'
} }
}, },
...@@ -419,10 +397,10 @@ export default { ...@@ -419,10 +397,10 @@ export default {
label: '订单来源', label: '订单来源',
prop: 'source', prop: 'source',
minWidth: 110, minWidth: 110,
formatter: (cellValue) => { formatter: cellValue => {
return cellValue.source == 7 ? '系统导入' : '小程序订单' return cellValue.source == 7 ? '系统导入' : '小程序订单'
} }
}, }
] ]
}, },
pageConf: { pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'total' }, pageConf: { pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'total' },
...@@ -440,13 +418,11 @@ export default { ...@@ -440,13 +418,11 @@ export default {
subShopMerchantList: [] subShopMerchantList: []
}, },
totalCount: '', totalCount: '',
subShopMerchanShowHide: true, subShopMerchanShowHide: true
} }
}, },
created() { created() {},
},
mounted() { mounted() {
this.getChannelType() this.getChannelType()
...@@ -485,26 +461,32 @@ export default { ...@@ -485,26 +461,32 @@ export default {
}) })
}, },
getServiceStore(merchantId) { getServiceStore(merchantId) {
this.$apis.public.getServiceStore({ this.$apis.public
.getServiceStore({
yqMerchantId: merchantId yqMerchantId: merchantId
}).then(res => { })
.then(res => {
this.baseData.storeIdList = res || [] this.baseData.storeIdList = res || []
this.getOptionsList() this.getOptionsList()
}) })
}, },
getAllServiceStore() { getAllServiceStore() {
this.$apis.merchant.listShop4sByRef({ this.$apis.merchant
.listShop4sByRef({
scene: 1 scene: 1
}).then(res => { })
.then(res => {
console.log('this.getAllServiceStore()', res) console.log('this.getAllServiceStore()', res)
this.baseData.storeIdList = res || [] this.baseData.storeIdList = res || []
this.getOptionsList() this.getOptionsList()
}) })
}, },
getDiversionMerchantRef(merchantId) { getDiversionMerchantRef(merchantId) {
this.$apis.merchant.getDiversionMerchantRef({ this.$apis.merchant
.getDiversionMerchantRef({
merchantId: merchantId merchantId: merchantId
}).then(res => { })
.then(res => {
this.baseData.subShopMerchantList = res || [] this.baseData.subShopMerchantList = res || []
this.getOptionsList() this.getOptionsList()
}) })
...@@ -612,39 +594,47 @@ export default { ...@@ -612,39 +594,47 @@ export default {
<style scoped lang="scss"> <style scoped lang="scss">
@import '@/assets/css/mixin.scss'; @import '@/assets/css/mixin.scss';
.purchase { .purchase {
.table-header { .table-header {
display: flex; display: flex;
align-items: center; align-items: center;
margin-bottom: 25px; margin-bottom: 25px;
margin-top: 20px; margin-top: 20px;
h2 { h2 {
font-weight: 600; font-weight: 600;
font-size: 16px; font-size: 16px;
color: #333; color: #333;
} }
.glbtn { .glbtn {
left: 46px; left: 46px;
position: absolute; position: absolute;
} }
.btn { .btn {
right: 47px; right: 47px;
position: absolute; position: absolute;
} }
} }
.greenSpot { .greenSpot {
@include dot; @include dot;
background: $color-green; background: $color-green;
} }
.yellowSpot { .yellowSpot {
@include dot; @include dot;
background: $color-yellow; background: $color-yellow;
} }
.ashSpot { .ashSpot {
@include dot; @include dot;
background: $color-gray; background: $color-gray;
} }
.table-btns /deep/.el-button--text {
.table-btns ::v-deep.el-button--text {
min-width: 0 !important; min-width: 0 !important;
padding: 0; padding: 0;
} }
...@@ -653,6 +643,7 @@ export default { ...@@ -653,6 +643,7 @@ export default {
font-size: 14px; font-size: 14px;
color: #909399; color: #909399;
} }
.count-txt { .count-txt {
font-weight: 700; font-weight: 700;
color: #2a58ad; color: #2a58ad;
......
...@@ -21,7 +21,7 @@ export default { ...@@ -21,7 +21,7 @@ export default {
data() { data() {
return { return {
groupStyle: '', groupStyle: '',
includeData:['el-input__inner','placeholder','el-select__caret el-input__icon el-icon-arrow-up'] includeData: ['el-input__inner', 'placeholder', 'el-select__caret el-input__icon el-icon-arrow-up']
} }
}, },
mounted() { mounted() {
...@@ -57,7 +57,8 @@ export default { ...@@ -57,7 +57,8 @@ export default {
position: fixed; position: fixed;
top: 740px; top: 740px;
left: 600px; left: 600px;
/deep/ .el-select-dropdown__item {
::v-deep .el-select-dropdown__item {
width: 236px; width: 236px;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
...@@ -65,4 +66,3 @@ export default { ...@@ -65,4 +66,3 @@ export default {
} }
} }
</style> </style>
...@@ -4,16 +4,10 @@ ...@@ -4,16 +4,10 @@
<div class="edit-box"> <div class="edit-box">
<div class="container m-b-20"> <div class="container m-b-20">
<p class="edit-title">订单信息</p> <p class="edit-title">订单信息</p>
<el-form label-width="100px" <el-form label-width="100px" :inline="true">
:inline="true"> <el-row v-for="(item, index) in detailFormDataRow" :key="index">
<el-row v-for="(item, index) in detailFormDataRow" <el-form-item v-for="(subItem, subIndex) in item.rowList" :key="subIndex" :label="subItem.label" class="row-item">
:key="index"> <span class="detail-txt ellipsis-1" :title="detailForm[subItem.name]">{{ detailForm[subItem.name] ? detailForm[subItem.name] + (subItem.suffix || '') : '-' }}</span>
<el-form-item v-for="(subItem, subIndex) in item.rowList"
:key="subIndex"
:label="subItem.label"
class="row-item">
<span class="detail-txt ellipsis-1"
:title="detailForm[subItem.name]">{{ detailForm[subItem.name] ? detailForm[subItem.name] + (subItem.suffix || '') : '-' }}</span>
</el-form-item> </el-form-item>
</el-row> </el-row>
<template v-if="detailForm.formDescribe"> <template v-if="detailForm.formDescribe">
...@@ -23,61 +17,43 @@ ...@@ -23,61 +17,43 @@
</div> </div>
<div :class="['container', orderRefund ? 'm-b-20' : 'edit-container']"> <div :class="['container', orderRefund ? 'm-b-20' : 'edit-container']">
<p class="edit-title">发货信息</p> <p class="edit-title">发货信息</p>
<el-form label-width="100px" <el-form label-width="100px" :inline="true">
:inline="true">
<el-form-item label="物流信息"> <el-form-item label="物流信息">
<span>{{ detailForm.deliveryCompany }}&nbsp;&nbsp;&nbsp;{{ detailForm.deliveryNumber }}</span> <span>{{ detailForm.deliveryCompany }}&nbsp;&nbsp;&nbsp;{{ detailForm.deliveryNumber }}</span>
</el-form-item> </el-form-item>
</el-form> </el-form>
<div v-if="orderGoods.length" <div v-if="orderGoods.length" class="p-l-40">
class="p-l-40">
<table class="show-table"> <table class="show-table">
<tbody> <tbody>
<tr v-for="(item, index) in orderGoods" <tr v-for="(item, index) in orderGoods" :key="index" style="height: 70px;">
:key="index" <td><img :src="item.goodsImage" class="img-60" /></td>
style="height: 70px;">
<td><img :src="item.goodsImage"
class="img-60" /></td>
<td>{{ item.goodsName }}</td> <td>{{ item.goodsName }}</td>
<td>{{ item.specificationData }}</td> <td>{{ item.specificationData }}</td>
<td>{{ item.activityPrice ? item.activityPrice : item.retailPrice }}元 * <td>{{ item.activityPrice ? item.activityPrice : item.retailPrice }}元 * {{ item.goodsNumber }}</td>
{{ item.goodsNumber }}</td>
</tr> </tr>
<tr v-if="detailForm.subOrderCoupon" <tr v-if="detailForm.subOrderCoupon" style="height: 40px;">
style="height: 40px;"> <td style="text-align: left;" colspan="3">优惠券</td>
<td style="text-align: left;"
colspan="3">优惠券</td>
<td>{{ detailForm.subOrderCoupon.discountAmount }}元</td> <td>{{ detailForm.subOrderCoupon.discountAmount }}元</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div> </div>
</div> </div>
<div class="container edit-container" <div class="container edit-container" v-if="orderRefund">
v-if="orderRefund">
<p class="edit-title">售后信息</p> <p class="edit-title">售后信息</p>
<el-form label-width="100px" <el-form label-width="100px" :inline="true">
:inline="true"> <el-row v-for="(item, index) in afterInfoDataRow" :key="index">
<el-row v-for="(item, index) in afterInfoDataRow" <el-form-item v-for="(subItem, subIndex) in item.rowList" :key="subIndex" :label="subItem.label">
:key="index"> <span class="detail-txt ellipsis-1" :title="orderRefund[subItem.name]">{{ orderRefund[subItem.name] || '-' }}</span>
<el-form-item v-for="(subItem, subIndex) in item.rowList"
:key="subIndex"
:label="subItem.label">
<span class="detail-txt ellipsis-1"
:title="orderRefund[subItem.name]">{{ orderRefund[subItem.name] || '-' }}</span>
</el-form-item> </el-form-item>
</el-row> </el-row>
</el-form> </el-form>
<div class="form-img"> <div class="form-img">
<el-form label-width="100px" <el-form label-width="100px" :inline="true">
:inline="true">
<el-form-item label="售后凭证"> <el-form-item label="售后凭证">
<div class="flex"> <div class="flex">
<span v-for="(item, index) in orderRefund.imgUrls" <span v-for="(item, index) in orderRefund.imgUrls" :key="index">
:key="index"> <el-image class="img-60 comment-img" :src="item" :preview-src-list="[item]"></el-image>
<el-image class="img-60 comment-img"
:src="item"
:preview-src-list="[item]"></el-image>
</span> </span>
</div> </div>
</el-form-item> </el-form-item>
...@@ -162,7 +138,7 @@ export default { ...@@ -162,7 +138,7 @@ export default {
} }
}, },
created() { }, created() {},
mounted() { mounted() {
this.getCrowdfundingOrderConfig() this.getCrowdfundingOrderConfig()
...@@ -172,87 +148,87 @@ export default { ...@@ -172,87 +148,87 @@ export default {
async getCrowdfundingOrderConfig() { async getCrowdfundingOrderConfig() {
let detailFormData = [ let detailFormData = [
{ {
label: "订单编号", label: '订单编号',
name: "orderCode" name: 'orderCode'
}, },
{ {
label: "商户订单号", label: '商户订单号',
name: "outTradeNo" name: 'outTradeNo'
}, },
{ {
label: "订单时间", label: '订单时间',
name: "createdDateStr" name: 'createdDateStr'
}, },
{ {
label: "手机号码", label: '手机号码',
name: "customerPhone" name: 'customerPhone'
}, },
{ {
label: "推荐人", label: '推荐人',
name: "shareStaffName" name: 'shareStaffName'
}, },
{ {
label: "推荐人ID", label: '推荐人ID',
name: "shareStaffId" name: 'shareStaffId'
}, },
{ {
label: "推荐人类型", label: '推荐人类型',
name: "shareStaffTypeName" name: 'shareStaffTypeName'
}, },
{ {
label: "车架号", label: '车架号',
name: "vin" name: 'vin'
}, },
{ {
label: "门店信息", label: '门店信息',
name: "merchantName" name: 'merchantName'
}, },
{ {
label: "客户名称", label: '客户名称',
name: "customerName" name: 'customerName'
}, },
{ {
label: "分润比例", label: '分润比例',
name: "takeFee", name: 'takeFee',
suffix: "%" suffix: '%'
}, },
{ {
label: "订单类型", label: '订单类型',
name: "orderSourceName" name: 'orderSourceName'
}, },
{ {
label: "订单状态", label: '订单状态',
name: "orderStatusName" name: 'orderStatusName'
}, },
{ {
label: "支付定金", label: '支付定金',
name: "payPrice" name: 'payPrice'
}, },
{ {
label: "尾款", label: '尾款',
name: "crowdFundingPrice" name: 'crowdFundingPrice'
}, },
{ {
label: "发货地址", label: '发货地址',
name: "shipAddress" name: 'shipAddress'
}, },
{ {
label: "微信名称", label: '微信名称',
name: "weChatName" name: 'weChatName'
}, },
{ {
label: "活动名称", label: '活动名称',
name: "activityName" name: 'activityName'
}, },
{ {
label: "商品名称", label: '商品名称',
name: "goodsName" name: 'goodsName'
} }
] ]
this.detailFormData = detailFormData this.detailFormData = detailFormData
this.routeInfo = this.$route.query this.routeInfo = this.$route.query
this.getInfo() this.getInfo()
this.formToRow("afterInfoData") this.formToRow('afterInfoData')
}, },
formToRow(formName, numOfRow = 3) { formToRow(formName, numOfRow = 3) {
var rowNum = Math.ceil(this[formName].length / numOfRow) var rowNum = Math.ceil(this[formName].length / numOfRow)
...@@ -318,7 +294,7 @@ export default { ...@@ -318,7 +294,7 @@ export default {
console.log(this.detailForm) console.log(this.detailForm)
this.formToRow('detailFormData') this.formToRow('detailFormData')
}) })
}, }
// handleCancel() { // handleCancel() {
// this.$router.push({ // this.$router.push({
// path: '/orderManage/index' // path: '/orderManage/index'
......
<template> <template>
<div class="activity"> <div class="activity">
<GLTabs v-model="activeName" <GLTabs v-model="activeName" :tabPaneList="tabPaneList" @tab-click="handleClick"></GLTabs>
:tabPaneList="tabPaneList"
@tab-click="handleClick"></GLTabs>
<components :is="tabName"></components> <components :is="tabName"></components>
<!-- 表格区域 开始 --> <!-- 表格区域 开始 -->
<!-- <div class="container"> <!-- <div class="container">
...@@ -57,9 +55,9 @@ ...@@ -57,9 +55,9 @@
import * as dayjs from 'dayjs' import * as dayjs from 'dayjs'
import url from '@/assets/empty.png' import url from '@/assets/empty.png'
import { dateFormat } from '../../utils/index' import { dateFormat } from '../../utils/index'
import Order from "./components/order.vue" import Order from './components/order.vue'
import Crowdfunding from "./components/crowdfunding.vue" import Crowdfunding from './components/crowdfunding.vue'
import CarDamage from "./components/carDamage.vue" import CarDamage from './components/carDamage.vue'
export default { export default {
components: { components: {
Order, Order,
...@@ -68,22 +66,22 @@ export default { ...@@ -68,22 +66,22 @@ export default {
}, },
data() { data() {
return { return {
activeName: "1", activeName: '1',
tabPaneList: [ tabPaneList: [
{ {
label: "精品升级", label: '精品升级',
name: "1" name: '1'
}, },
{ {
label: "售后众筹", label: '售后众筹',
name: "2" name: '2'
}, },
{ {
label: "车损升级", label: '车损升级',
name: "3" name: '3'
} }
], ],
tabName: "Order" tabName: 'Order'
} }
}, },
mounted() { mounted() {
...@@ -421,7 +419,7 @@ export default { ...@@ -421,7 +419,7 @@ export default {
this.setectEditList = [] this.setectEditList = []
this.battleVisible = false this.battleVisible = false
}, },
handleDetails() { }, handleDetails() {},
handlebattleOn(data, sign) { handlebattleOn(data, sign) {
this.setectEditList = [] this.setectEditList = []
this.userList = [] this.userList = []
...@@ -489,13 +487,12 @@ export default { ...@@ -489,13 +487,12 @@ export default {
}, },
handleClick() { handleClick() {
let arr = { let arr = {
1: "order", 1: 'order',
2: "crowdfunding", 2: 'crowdfunding',
3: "carDamage" 3: 'carDamage'
} }
this.tabName = arr[+this.activeName] this.tabName = arr[+this.activeName]
console.log('this.tabName', this.tabName); console.log('this.tabName', this.tabName)
}, },
handleReset() { handleReset() {
this.tableSearchForm = {} this.tableSearchForm = {}
...@@ -578,20 +575,24 @@ export default { ...@@ -578,20 +575,24 @@ export default {
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
.activity { .activity {
/deep/ { ::v-deep {
.el-select .el-tag { .el-select .el-tag {
max-width: 60% !important; max-width: 60% !important;
} }
.el-form-item__content { .el-form-item__content {
overflow: inherit !important; overflow: inherit !important;
} }
} }
.container { .container {
margin-top: 16px; margin-top: 16px;
.title { .title {
height: 32px; height: 32px;
line-height: 32px; line-height: 32px;
margin-bottom: 10px; margin-bottom: 10px;
.title-text { .title-text {
font-weight: 600; font-weight: 600;
font-size: 16px; font-size: 16px;
...@@ -600,6 +601,7 @@ export default { ...@@ -600,6 +601,7 @@ export default {
} }
} }
} }
.empty-btn { .empty-btn {
position: absolute; position: absolute;
right: -40px; right: -40px;
...@@ -607,14 +609,17 @@ export default { ...@@ -607,14 +609,17 @@ export default {
font-size: 14px; font-size: 14px;
color: #5850ff; color: #5850ff;
} }
.config-pannel { .config-pannel {
background: #f9f9f9; background: #f9f9f9;
width: 520px; width: 520px;
height: 168px; height: 168px;
display: flex; display: flex;
.config-item { .config-item {
padding: 26px 20px; padding: 26px 20px;
} }
.clear-btn { .clear-btn {
cursor: pointer; cursor: pointer;
background: #f1f1f1; background: #f1f1f1;
...@@ -627,6 +632,7 @@ export default { ...@@ -627,6 +632,7 @@ export default {
box-sizing: border-box; box-sizing: border-box;
} }
} }
.input-tag-wrapper { .input-tag-wrapper {
position: relative; position: relative;
font-size: 14px; font-size: 14px;
...@@ -648,28 +654,34 @@ export default { ...@@ -648,28 +654,34 @@ export default {
align-items: center; align-items: center;
margin-top: 6px; margin-top: 6px;
font-size: 14px; font-size: 14px;
i { i {
color: #75acff; color: #75acff;
margin-right: 3px; margin-right: 3px;
font-size: 14px; font-size: 14px;
} }
/deep/ .el-tag {
::v-deep .el-tag {
background-color: #fff !important; background-color: #fff !important;
margin-bottom: 4px; margin-bottom: 4px;
} }
} }
.select-wrap { .select-wrap {
.common { .common {
margin: 4px 0; margin: 4px 0;
height: 40px !important; height: 40px !important;
overflow: hidden; overflow: hidden;
/deep/ .el-input {
::v-deep .el-input {
height: 40px !important; height: 40px !important;
line-height: 40px !important; line-height: 40px !important;
} }
/deep/ .el-input__suffix {
::v-deep .el-input__suffix {
height: 40px !important; height: 40px !important;
margin-top: -4px; margin-top: -4px;
.is-reverse { .is-reverse {
transform: rotate(180deg); transform: rotate(180deg);
} }
...@@ -677,16 +689,20 @@ export default { ...@@ -677,16 +689,20 @@ export default {
} }
} }
} }
.search-groomname { .search-groomname {
width: 252px; width: 252px;
margin: 12px 16px 0; margin: 12px 16px 0;
/deep/.el-input {
::v-deep.el-input {
width: 252px; width: 252px;
} }
} }
.filter-tree { .filter-tree {
padding: 0 16px; padding: 0 16px;
} }
.empty { .empty {
padding: 10px 0; padding: 10px 0;
margin: 0; margin: 0;
...@@ -694,6 +710,7 @@ export default { ...@@ -694,6 +710,7 @@ export default {
color: #999; color: #999;
font-size: 13px; font-size: 13px;
} }
.placeholder { .placeholder {
font-size: 14px; font-size: 14px;
color: #c0c6ce; color: #c0c6ce;
......
...@@ -166,7 +166,7 @@ ...@@ -166,7 +166,7 @@
<el-table-column prop="logContent" align="center" label="当前进度" /> <el-table-column prop="logContent" align="center" label="当前进度" />
<el-table-column prop="userName" align="center" label="关联操作员"> <el-table-column prop="userName" align="center" label="关联操作员">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="detail.payType == 1 && scope.row.logType == 3">用户 微信支付</span> <span v-if="detail.payOrder.payType == 1 && scope.row.logType == 3">用户 微信支付</span>
<span v-else>{{ logType[scope.row.logType] }} {{ scope.row.userName }}</span> <span v-else>{{ logType[scope.row.logType] }} {{ scope.row.userName }}</span>
</template> </template>
</el-table-column> </el-table-column>
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
<GLCombiForm ref="showSearch" :formObj="searchForm" :formData="showFormData" @handleOk="handleSearch" @handleRest="handleRest"></GLCombiForm> <GLCombiForm ref="showSearch" :formObj="searchForm" :formData="showFormData" @handleOk="handleSearch" @handleRest="handleRest"></GLCombiForm>
</div> </div>
<div class="goodsCon"> <div class="goodsCon">
<div class="goodsItemCon" v-for="(item, index) in purchaseList" :class="[{ active: item.active }, { last: index === purchaseList.length - 1 }]" :key="index" > <div class="goodsItemCon" v-for="(item, index) in purchaseList" :class="[{ active: item.active }, { last: index === purchaseList.length - 1 }]" :key="index">
<!-- 图片{{ item.thumbUrl }} --> <!-- 图片{{ item.thumbUrl }} -->
<img :src="item.thumbUrl" class="img" alt="" /> <img :src="item.thumbUrl" class="img" alt="" />
<span class="goodsName one-line-ellipsis">{{ item.goodsName }}</span> <span class="goodsName one-line-ellipsis">{{ item.goodsName }}</span>
...@@ -212,16 +212,20 @@ export default { ...@@ -212,16 +212,20 @@ export default {
max-width: 1350px; max-width: 1350px;
margin: 0 auto; margin: 0 auto;
overflow: scroll; overflow: scroll;
.bg { .bg {
background: #fff; background: #fff;
} }
.d2-header-switch { .d2-header-switch {
display: none; display: none;
} }
.d2-container-content { .d2-container-content {
margin: 20px auto; margin: 20px auto;
background: #fff; background: #fff;
} }
.shopMallCon { .shopMallCon {
padding: 0 0 20px !important; padding: 0 0 20px !important;
} }
...@@ -245,9 +249,11 @@ export default { ...@@ -245,9 +249,11 @@ export default {
margin: 0 16px 16px; margin: 0 16px 16px;
overflow: hidden; overflow: hidden;
padding: 8px 8px 16px; padding: 8px 8px 16px;
&:hover{
&:hover {
border: 1px solid #5850ff; border: 1px solid #5850ff;
} }
&.active { &.active {
border: 1px solid #5850ff; border: 1px solid #5850ff;
} }
...@@ -371,7 +377,8 @@ export default { ...@@ -371,7 +377,8 @@ export default {
width: 670px !important; width: 670px !important;
min-width: 670px; min-width: 670px;
} }
/deep/ .name {
::v-deep .name {
width: 20px !important; width: 20px !important;
} }
} }
......
<template> <template>
<el-drawer class="shoppingCartDrawerCon" title="收货地址管理" size="500px" :visible.sync="dialogShow" :direction="direction"> <el-drawer class="shoppingCartDrawerCon" title="收货地址管理" size="500px" :visible.sync="dialogShow" :direction="direction">
<glsx-combi-form class="edit-form-container" ref="editFormRef" label-width="100px" default-width="350px" <glsx-combi-form class="edit-form-container" ref="editFormRef" label-width="100px" default-width="350px" :form-ref="editChildRef" :form-obj="editForm" :form-data="editFormData" :form-rules="editRule"></glsx-combi-form>
:form-ref="editChildRef" :form-obj="editForm" :form-data="editFormData" :form-rules="editRule"></glsx-combi-form>
<div class="footer-btn"> <div class="footer-btn">
<el-button @click="submit" type="primary">保存</el-button> <el-button @click="submit" type="primary">保存</el-button>
<el-button @click="dialogShow = false">取消</el-button> <el-button @click="dialogShow = false">取消</el-button>
</div> </div>
</el-drawer> </el-drawer>
</template> </template>
...@@ -60,7 +58,6 @@ export default { ...@@ -60,7 +58,6 @@ export default {
inputType: 'textarea' inputType: 'textarea'
// tips: '如XX店车主关怀活动' // tips: '如XX店车主关怀活动'
} }
], ],
editForm: { editForm: {
contactName: '', contactName: '',
...@@ -69,12 +66,13 @@ export default { ...@@ -69,12 +66,13 @@ export default {
}, },
editRule: { editRule: {
contactName: [{ required: true, message: '请输入姓名', trigger: 'change' }], contactName: [{ required: true, message: '请输入姓名', trigger: 'change' }],
contactPhone: [{ required: true, message: '请输入电话号码', trigger: 'change' }, contactPhone: [
{ validator: checkPhone, trigger: 'blur' }], { required: true, message: '请输入电话号码', trigger: 'change' },
{ validator: checkPhone, trigger: 'blur' }
],
contactAddress: [{ required: true, message: '请输入收货地址', trigger: 'change' }] contactAddress: [{ required: true, message: '请输入收货地址', trigger: 'change' }]
}, },
editChildRef: 'editChildRef' editChildRef: 'editChildRef'
} }
}, },
computed: { computed: {
...@@ -95,9 +93,7 @@ export default { ...@@ -95,9 +93,7 @@ export default {
} }
}, },
methods: { methods: {
handleDetailClose() { handleDetailClose() {},
},
handleOkFn() { handleOkFn() {
// console.log('您点击了确定') // console.log('您点击了确定')
}, },
...@@ -108,29 +104,27 @@ export default { ...@@ -108,29 +104,27 @@ export default {
this.$refs.editFormRef.$refs[this.editChildRef].validate(valid => { this.$refs.editFormRef.$refs[this.editChildRef].validate(valid => {
if (valid) { if (valid) {
const params = this.$common.utils.deepClone(this.editForm) const params = this.$common.utils.deepClone(this.editForm)
this.$apis.purchaseShopping.addressSave(params).then((result) => { this.$apis.purchaseShopping
.addressSave(params)
.then(result => {
this.$notify({ this.$notify({
type: 'success', type: 'success',
title: '保存成功' title: '保存成功'
}) })
this.dialogShow = false this.dialogShow = false
this.$emit('handleConfirmAddress') this.$emit('handleConfirmAddress')
}).catch((err) => {
}) })
.catch(err => {})
} }
}) })
}, },
navBack() { navBack() {}
}
} }
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.shoppingCartDrawerCon { .shoppingCartDrawerCon {
// position: relative; // position: relative;
::v-deep .el-drawer__header { ::v-deep .el-drawer__header {
border-bottom: 1px solid #e7eaec; border-bottom: 1px solid #e7eaec;
......
...@@ -221,7 +221,7 @@ export default { ...@@ -221,7 +221,7 @@ export default {
font-weight: 600; font-weight: 600;
font-size: 30px; font-size: 30px;
color: #ee3040; color: #ee3040;
margin-left:8px; margin-left: 8px;
} }
} }
...@@ -290,7 +290,7 @@ export default { ...@@ -290,7 +290,7 @@ export default {
align-items: center; align-items: center;
width: 168px; width: 168px;
height: 40px; height: 40px;
margin-left:18px; margin-left: 18px;
background: #5850ff; background: #5850ff;
border-radius: 4px; border-radius: 4px;
} }
......
...@@ -426,7 +426,7 @@ li { ...@@ -426,7 +426,7 @@ li {
.car-txt { .car-txt {
font-size: 14px; font-size: 14px;
color: #ffffff; color: #ffffff;
writing-mode:vertical-rl; writing-mode: vertical-rl;
} }
&::after { &::after {
// content: "123"; // content: "123";
...@@ -582,14 +582,14 @@ li { ...@@ -582,14 +582,14 @@ li {
text-align: center; text-align: center;
font-size: 20px; font-size: 20px;
color: #f8ba37; color: #f8ba37;
margin:20px 0 40px 0; margin: 20px 0 40px 0;
} }
.tips { .tips {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
span{ span {
margin-bottom:20px; margin-bottom: 20px;
} }
} }
......
...@@ -31,7 +31,9 @@ ...@@ -31,7 +31,9 @@
</template> </template>
<div class="table-btns" slot="auth-button" slot-scope="scope"> <div class="table-btns" slot="auth-button" slot-scope="scope">
<el-button type="text" @click="handleDetail(scope.scope)">查看</el-button> <el-button type="text" @click="handleDetail(scope.scope)">查看</el-button>
<GLButton type="text" size="small" v-show="scope.scope.status == 1" @click="handleCancel(scope.scope)" fn="取消">取消</GLButton> <GLButton type="text" size="small" v-show="scope.scope.status == 1" @click="handleCancel(scope.scope)" fn="取消">
取消
</GLButton>
<GLButton type="text" size="small" v-show="scope.scope.putStatus == 1 && scope.scope.deliveryStatus == 2" @click="handleWarehousing(scope.scope)" fn="入库">入库</GLButton> <GLButton type="text" size="small" v-show="scope.scope.putStatus == 1 && scope.scope.deliveryStatus == 2" @click="handleWarehousing(scope.scope)" fn="入库">入库</GLButton>
<!-- <el-button type="text" v-show="scope.scope.status == 1" @click="handleCancel(scope.scope)">取消</el-button> --> <!-- <el-button type="text" v-show="scope.scope.status == 1" @click="handleCancel(scope.scope)">取消</el-button> -->
</div> </div>
...@@ -392,39 +394,47 @@ export default { ...@@ -392,39 +394,47 @@ export default {
<style scoped lang="scss"> <style scoped lang="scss">
@import '@/assets/css/mixin.scss'; @import '@/assets/css/mixin.scss';
.purchase { .purchase {
.table-header { .table-header {
display: flex; display: flex;
align-items: center; align-items: center;
margin-bottom: 25px; margin-bottom: 25px;
margin-top:20px; margin-top: 20px;
h2 { h2 {
font-weight: 600; font-weight: 600;
font-size: 16px; font-size: 16px;
color: #333; color: #333;
} }
.glbtn{
.glbtn {
left: 46px; left: 46px;
position: absolute; position: absolute;
} }
.btn { .btn {
right: 47px; right: 47px;
position: absolute; position: absolute;
} }
} }
.greenSpot { .greenSpot {
@include dot; @include dot;
background: $color-green; background: $color-green;
} }
.yellowSpot { .yellowSpot {
@include dot; @include dot;
background: $color-yellow; background: $color-yellow;
} }
.ashSpot { .ashSpot {
@include dot; @include dot;
background: $color-gray; background: $color-gray;
} }
.table-btns /deep/.el-button--text {
.table-btns ::v-deep.el-button--text {
min-width: 0 !important; min-width: 0 !important;
padding: 0; padding: 0;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!