From d6702388076ba85db70d8e1223dbc57c8daa7ad5 Mon Sep 17 00:00:00 2001
From: shilixia <2309368887@qq.com>
Date: Fri, 25 Jun 2021 10:36:09 +0800
Subject: [PATCH 1/3] xiala
---
client/.env.development | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/client/.env.development b/client/.env.development
index 0800595..ae4f1f6 100644
--- a/client/.env.development
+++ b/client/.env.development
@@ -3,7 +3,9 @@ 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://127.0.0.1:8000/api'
+VUE_APP_BASE_API = 'http://47.95.0.242:9101'
+
# vue-cli uses the VUE_CLI_BABEL_TRANSPILE_MODULES environment variable,
# to control whether the babel-plugin-dynamic-import-node plugin is enabled.
From 081c7214946c0e283219710eaf60475af2606908 Mon Sep 17 00:00:00 2001
From: shilixia <2309368887@qq.com>
Date: Fri, 25 Jun 2021 14:26:22 +0800
Subject: [PATCH 2/3] woderenwusousuo
---
client/.env.development | 4 +-
client/src/views/qualityinspect/mytask.vue | 47 ++++++++++++++++++++--
2 files changed, 46 insertions(+), 5 deletions(-)
diff --git a/client/.env.development b/client/.env.development
index ae4f1f6..b6a98cf 100644
--- a/client/.env.development
+++ b/client/.env.development
@@ -4,7 +4,9 @@ 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://47.95.0.242:9101'
+VUE_APP_BASE_API = 'https://testsearch.ctc.ac.cn/api'
+
+#VUE_APP_BASE_API = 'http://47.95.0.242:9101'
# vue-cli uses the VUE_CLI_BABEL_TRANSPILE_MODULES environment variable,
diff --git a/client/src/views/qualityinspect/mytask.vue b/client/src/views/qualityinspect/mytask.vue
index f5b7d71..301e3aa 100644
--- a/client/src/views/qualityinspect/mytask.vue
+++ b/client/src/views/qualityinspect/mytask.vue
@@ -2,9 +2,13 @@
+
+ 搜索
+ 重置
{{ scope.row.depts_count }}
-
-
-
+
+
+
{{
@@ -48,10 +53,11 @@
+
执行
@@ -81,6 +87,8 @@ export default {
subinspecttasklist:[],
listLoading: true,
dialogVisible: false,
+ memberName:"",
+ memberlist:[],
};
},
@@ -103,18 +111,49 @@ export default {
getsubinspecttaskselflist().then((response) => {
if (response.data) {
this.subinspecttasklist = response.data;
+
+
}
this.listLoading = false;
});
+
},
+
handleClick(scope){
this.$router.push({name: "myTaskdos", params: { id: scope.row.id,leaders:scope.row.members }, })
+
},
handleFilter() {
this.listQuery.page = 1;
this.getList();
},
+
+ search() {
+ for(var i=0;i
Date: Mon, 28 Jun 2021 09:29:43 +0800
Subject: [PATCH 3/3] ziliangshangchuang
---
client/.env.development | 6 +-
client/src/api/inspection.js | 28 ++
client/src/router/index.js | 7 +-
.../src/views/qualityinspect/inspectdoc.vue | 274 ++++++++++++++++++
4 files changed, 311 insertions(+), 4 deletions(-)
create mode 100644 client/src/views/qualityinspect/inspectdoc.vue
diff --git a/client/.env.development b/client/.env.development
index b6a98cf..db28ec5 100644
--- a/client/.env.development
+++ b/client/.env.development
@@ -4,9 +4,9 @@ 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 = 'https://testsearch.ctc.ac.cn/api'
-
-#VUE_APP_BASE_API = 'http://47.95.0.242:9101'
+#VUE_APP_BASE_API = 'https://testsearch.ctc.ac.cn/api'
+
+VUE_APP_BASE_API = 'http://47.95.0.242:9101/api'
# vue-cli uses the VUE_CLI_BABEL_TRANSPILE_MODULES environment variable,
diff --git a/client/src/api/inspection.js b/client/src/api/inspection.js
index e85a306..cc5bfb4 100644
--- a/client/src/api/inspection.js
+++ b/client/src/api/inspection.js
@@ -49,3 +49,31 @@ export function deletes(data)
data
})
}
+export function createDocument(data) {
+ return request({
+ url: '/quality/document/',
+ method: 'post',
+ data
+ })
+}
+
+export function getDocumentList(query) {
+ return request({
+ url: '/quality/document/',
+ method: 'get',
+ params: query
+ })
+}
+export function deleteDocument(id) {
+ return request({
+ url: `/quality/document/${id}/`,
+ method: 'delete'
+ })
+}
+export function updateDocument(id, data) {
+ return request({
+ url: `/quality/document/${id}/`,
+ method: 'put',
+ data
+ })
+}
\ No newline at end of file
diff --git a/client/src/router/index.js b/client/src/router/index.js
index ea15064..b9d7fd6 100644
--- a/client/src/router/index.js
+++ b/client/src/router/index.js
@@ -194,7 +194,12 @@ export const asyncRoutes = [
meta: { title: '任务执行', perms: ['my_inspecttask'] },
hidden: true
},
-
+ {
+ path: 'InspectDoc',
+ name: 'InspectDoc',
+ component: () => import('@/views/qualityinspect/inspectdoc.vue'),
+ meta: { title: '质量文档', perms: ['inspectdoc'] }
+ },
]
},
{
diff --git a/client/src/views/qualityinspect/inspectdoc.vue b/client/src/views/qualityinspect/inspectdoc.vue
new file mode 100644
index 0000000..837440c
--- /dev/null
+++ b/client/src/views/qualityinspect/inspectdoc.vue
@@ -0,0 +1,274 @@
+
+
+
+ 新增
+
+
+
+
+
+ {{ scope.row.name }}
+
+
+ {{ scope.row.description }}
+
+
+ {{ scope.row.file_.mime }}
+
+
+
+ 下载
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 上传文件
+
+
+
+
+
+ 取消
+ 确认
+
+
+
+
+