| | |
| | | <el-tag>{{ row.categoryName }}</el-tag> |
| | | </template> |
| | | <template slot-scope="{ type, size, row }" slot="menu"> |
| | | <el-button |
| | | :size="size" |
| | | :type="type" |
| | | @click="handleUploadPage(row)" |
| | | <el-button :size="size" :type="type" @click="handleUploadPage(row)" |
| | | >附件上传 |
| | | </el-button> |
| | | <!-- <el-button |
| | |
| | | viewBtn: true, |
| | | selection: true, |
| | | excelBtn: false, |
| | | addBtnText:"发布", |
| | | addTitle:"发布", |
| | | saveBtnText:'发布', |
| | | menuWidth: 320, |
| | | dialogClickModal: false, |
| | | column: [ |
| | |
| | | label: "通知标题", |
| | | prop: "title", |
| | | span: 24, |
| | | searchSpan: 4, |
| | | row: true, |
| | | search: true, |
| | | rules: [ |
| | |
| | | defaultValue: "1", |
| | | prop: "category", |
| | | search: true, |
| | | searchSpan:5, |
| | | searchSpan: 4, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | |
| | | : (that.deptCategory = false); |
| | | |
| | | // if (that.deptCategory) { |
| | | that.permissionAdd = this.permission.notice_add; |
| | | that.permissionView = this.permission.notice_view; |
| | | that.permissionDelete = this.permission.notice_delete; |
| | | that.permissionEdit = this.permission.notice_edit; |
| | | that.permissionAdd = this.permission.notice_add; |
| | | that.permissionView = this.permission.notice_view; |
| | | that.permissionDelete = this.permission.notice_delete; |
| | | that.permissionEdit = this.permission.notice_edit; |
| | | // } |
| | | }); |
| | | }, |
| | | //跳转到附近列表页面 |
| | | //跳转到附件列表页面 |
| | | handleUploadPage(row) { |
| | | this.$router.push({ |
| | | path: `/resource/attach`, |
| | | path: `/resource/uploadNotice`, |
| | | query: { |
| | | deptId: row.deptId, |
| | | }, |
| | |
| | | : (that.deptCategory = false); |
| | | |
| | | // if (that.deptCategory) { |
| | | that.permissionAdd = this.permission.notice_add; |
| | | that.permissionView = this.permission.notice_view; |
| | | that.permissionDelete = this.permission.notice_delete; |
| | | that.permissionEdit = this.permission.notice_edit; |
| | | that.permissionAdd = this.permission.notice_add; |
| | | that.permissionView = this.permission.notice_view; |
| | | that.permissionDelete = this.permission.notice_delete; |
| | | that.permissionEdit = this.permission.notice_edit; |
| | | // } |
| | | |
| | | const { releaseTimeRange } = this.query; |
| | | // if (that.deptCategory) { |
| | | params["deptId"] = this.deptId; |
| | | params["jurisdiction"] = this.jurisdiction; |
| | | params["deptId"] = this.deptId; |
| | | params["jurisdiction"] = this.jurisdiction; |
| | | // } |
| | | let values = { |
| | | ...params, |