From 6c71bccd83d95441e069a93c86d97abe9ee6fb9f Mon Sep 17 00:00:00 2001 From: zcxee <495141071@qq.com> Date: Mon, 9 Oct 2023 19:47:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/permission.js | 2 +- src/router/index.js | 5 + src/views/question/index.vue | 14 +- .../components/DistributeFormDialog copy.vue | 116 +++++++++++ .../clue/components/DistributeFormDialog.vue | 67 ++++--- src/views/zs/feedback/first.vue | 180 ++++++++++++++++++ src/views/zs/feedback/index.vue | 2 +- 7 files changed, 342 insertions(+), 44 deletions(-) create mode 100644 src/views/zs/clue/components/DistributeFormDialog copy.vue create mode 100644 src/views/zs/feedback/first.vue diff --git a/src/permission.js b/src/permission.js index 1841aea..6bfb0f6 100644 --- a/src/permission.js +++ b/src/permission.js @@ -16,7 +16,7 @@ NProgress.configure({ showSpinner: false }); -const whiteList = ['/login', '/auth-redirect', '/bind', '/register', '/question']; +const whiteList = ['/login', '/auth-redirect', '/bind', '/register', '/question', '/clue/feedback']; router.beforeEach((to, from, next) => { NProgress.start(); diff --git a/src/router/index.js b/src/router/index.js index df2777f..beb6e9f 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -53,6 +53,11 @@ export const constantRoutes = [{ component: () => import('@/views/question'), hidden: true }, +{ + path: '/clue/feedback', + component: () => import('@/views/zs/feedback/first'), + hidden: true +}, { path: '/404', component: () => import('@/views/error/404'), diff --git a/src/views/question/index.vue b/src/views/question/index.vue index 1f423fb..2b141e9 100644 --- a/src/views/question/index.vue +++ b/src/views/question/index.vue @@ -81,7 +81,7 @@ export default { components: { QuestionForm, QuestionAddForm }, - data() { + data () { return { // 遮罩层 loading: false, @@ -98,12 +98,12 @@ export default { dialogAddVisible: false }; }, - created() { + created () { // this.getList(); }, methods: { /** 查询文件列表 */ - getList() { + getList () { this.loading = true; searchQuestion(this.queryParams).then(response => { this.tableList = response.data; @@ -113,7 +113,7 @@ export default { }, /** 搜索按钮操作 */ - handleQuery() { + handleQuery () { if (this.queryParams.question) { this.getList(); } else { @@ -121,17 +121,17 @@ export default { } }, /** 重置按钮操作 */ - resetQuery() { + resetQuery () { this.queryParams.question = ''; this.handleQuery(); }, - handleEdit(item) { + handleEdit (item) { this.dialogVisible = true; this.$nextTick(() => { this.$refs.dialogForm.init(item); }); }, - handleAdd(item) { + handleAdd (item) { this.dialogAddVisible = true; this.$nextTick(() => { this.$refs.dialogAddForm.init(item); diff --git a/src/views/zs/clue/components/DistributeFormDialog copy.vue b/src/views/zs/clue/components/DistributeFormDialog copy.vue new file mode 100644 index 0000000..095c588 --- /dev/null +++ b/src/views/zs/clue/components/DistributeFormDialog copy.vue @@ -0,0 +1,116 @@ + + + + \ No newline at end of file diff --git a/src/views/zs/clue/components/DistributeFormDialog.vue b/src/views/zs/clue/components/DistributeFormDialog.vue index 095c588..61781b4 100644 --- a/src/views/zs/clue/components/DistributeFormDialog.vue +++ b/src/views/zs/clue/components/DistributeFormDialog.vue @@ -3,14 +3,19 @@ - - {{oldForm.placeNames}} - - + + + + + + + + + @@ -19,74 +24,68 @@ - - - \ No newline at end of file + + diff --git a/src/views/zs/feedback/first.vue b/src/views/zs/feedback/first.vue new file mode 100644 index 0000000..439d47b --- /dev/null +++ b/src/views/zs/feedback/first.vue @@ -0,0 +1,180 @@ + + + diff --git a/src/views/zs/feedback/index.vue b/src/views/zs/feedback/index.vue index 4a9c813..4086e65 100644 --- a/src/views/zs/feedback/index.vue +++ b/src/views/zs/feedback/index.vue @@ -48,7 +48,7 @@ + 00000000000000000000000