diff --git a/package-lock.json b/package-lock.json index 810ab7a..1000ebd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3,7 +3,6 @@ "version": "1.0.0", "lockfileVersion": 2, "requires": true, - "packages": { "": { "name": "sell", diff --git a/src/api/index.js b/src/api/index.js index f1e8881..74df72a 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -75,4 +75,12 @@ export const UploadPerson = (json) => axios({ url: '/Person/UploadPerson', method: 'post', data: json +}) + + +// 编辑用户 +export const UpdatePerosn = (id,json) => axios({ + url: '/Person/UpdatePerosn/'+id, + method: 'put', + data: json }) \ No newline at end of file diff --git a/src/views/repulsebay/question/personList.vue b/src/views/repulsebay/question/personList.vue index 928c6f1..ef516ef 100644 --- a/src/views/repulsebay/question/personList.vue +++ b/src/views/repulsebay/question/personList.vue @@ -1,7 +1,6 @@ - - - - - \ No newline at end of file + \ No newline at end of file diff --git a/src/views/repulsebay/question/questionList.vue b/src/views/repulsebay/question/questionList.vue index 76e141d..f02a541 100644 --- a/src/views/repulsebay/question/questionList.vue +++ b/src/views/repulsebay/question/questionList.vue @@ -56,7 +56,7 @@ - +
@@ -66,7 +66,7 @@ - +