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