diff --git a/client/.env.development b/client/.env.development index 0800595..571fd93 100644 --- a/client/.env.development +++ b/client/.env.development @@ -2,8 +2,8 @@ ENV = 'development' # base api -#VUE_APP_BASE_API = 'http://10.0.11.127:8000/api' -VUE_APP_BASE_API = 'http://127.0.0.1:8000/api' +VUE_APP_BASE_API = 'http://10.0.11.127:8000/api' +#VUE_APP_BASE_API = 'http://127.0.0.1:8000/api' # vue-cli uses the VUE_CLI_BABEL_TRANSPILE_MODULES environment variable, # to control whether the babel-plugin-dynamic-import-node plugin is enabled. diff --git a/client/src/views/qualityinspect/inspecttaskdo.vue b/client/src/views/qualityinspect/inspecttaskdo.vue index 086c3f1..3045595 100644 --- a/client/src/views/qualityinspect/inspecttaskdo.vue +++ b/client/src/views/qualityinspect/inspecttaskdo.vue @@ -551,11 +551,11 @@ export default { sendconfirm(){ - const lengths = this.multipleSelection.lengths; + const lengths = this.multipleSelection.length; for (let i = 0; i < lengths; i++) { this.ids.push(this.multipleSelection[i].id); } - + console.log(lengths) //let data = { records: this.ids };//检查项ID diff --git a/client/src/views/qualityinspect/mytaskdo.vue b/client/src/views/qualityinspect/mytaskdo.vue index 4ae1dc2..5473e95 100644 --- a/client/src/views/qualityinspect/mytaskdo.vue +++ b/client/src/views/qualityinspect/mytaskdo.vue @@ -1,6 +1,6 @@