派遣人员查询修改,通知公告附近上传修改,保安员上传附件刷新,出资人,管理人,设备附件上传修改
| | |
| | | } |
| | | |
| | | |
| | | export const getListByDeptId = (deptId) => { |
| | | export const getListByDeptId = (deptId, status) => { |
| | | return request({ |
| | | url: '/api/blade-user/page-security-units', |
| | | method: 'get', |
| | | params: { |
| | | deptId, |
| | | status |
| | | } |
| | | }) |
| | | } |
| | |
| | | value: "id", |
| | | }, |
| | | // dicUrl: `/api/blade-user/page-security-units?dispatch=1&deptId={{key}}`, |
| | | dicUrl: `/api/blade-user/page-security-units?deptId={{key}}`, |
| | | dicUrl: `/api/blade-user/page-security-units?status=1&deptId={{key}}`, |
| | | dicData: [], |
| | | rules: [ |
| | | { |
| | |
| | | ); |
| | | dispatcherUnitIdColumn.dicData = res.data.data; |
| | | }); |
| | | getListByDeptId(that.userInfo.dept_id).then((res) => { |
| | | getListByDeptId(that.userInfo.dept_id,1).then((res) => { |
| | | const userIdsColumn = that.findObject(this.option1.column, "userIds"); |
| | | userIdsColumn.dicData = res.data.data; |
| | | }); |
| | |
| | | type="primary" |
| | | size="small" |
| | | plain |
| | | v-if="permission.attach_upload" |
| | | icon="el-icon-upload2" |
| | | @click="handleUpload" |
| | | >上 传 |
| | |
| | | size="small" |
| | | icon="el-icon-delete" |
| | | plain |
| | | v-if="permission.attach_delete" |
| | | @click="handleDelete" |
| | | >删 除 |
| | | </el-button> |
| | |
| | | type="text" |
| | | icon="el-icon-download" |
| | | size="small" |
| | | v-if="permission.attach_download" |
| | | @click="handleDownload(scope.row)" |
| | | >下载 |
| | | </el-button> |
| | |
| | | type="primary" |
| | | size="small" |
| | | plain |
| | | v-if="permission.attach_upload" |
| | | icon="el-icon-upload2" |
| | | @click="handleUpload" |
| | | >上 传 |
| | |
| | | size="small" |
| | | icon="el-icon-delete" |
| | | plain |
| | | v-if="permission.attach_delete" |
| | | @click="handleDelete" |
| | | >删 除 |
| | | </el-button> |
| | |
| | | type="text" |
| | | icon="el-icon-download" |
| | | size="small" |
| | | v-if="permission.attach_download" |
| | | @click="handleDownload(scope.row)" |
| | | >下载 |
| | | </el-button> |
| | |
| | | type="primary" |
| | | size="small" |
| | | plain |
| | | v-if="permission.attach_upload" |
| | | icon="el-icon-upload2" |
| | | @click="handleUpload" |
| | | >上 传 |
| | |
| | | size="small" |
| | | icon="el-icon-delete" |
| | | plain |
| | | v-if="permission.attach_delete" |
| | | @click="handleDelete" |
| | | >删 除 |
| | | </el-button> |
| | |
| | | type="text" |
| | | icon="el-icon-download" |
| | | size="small" |
| | | v-if="permission.attach_download" |
| | | @click="handleDownload(scope.row)" |
| | | >下载 |
| | | </el-button> |
| | |
| | | align: "center", |
| | | selection: true, |
| | | column: column, |
| | | labelWidth:110, |
| | | labelWidth: 110, |
| | | }, |
| | | }; |
| | | }, |
| | |
| | | // console.log(params.deptId); |
| | | if (this.fromDeptId != undefined) { |
| | | params["deptId"] = this.fromDeptId; |
| | | this.option.column[4].search = false; |
| | | this.option.column[6].search = false; |
| | | this.option.column[6].hide = true; |
| | | this.option.column[6].addDisplay = false; |
| | | this.option.column[6].editDisplay = false; |
| | | for (let k in this.option.column) { |
| | | if (this.option.column[k].prop == "deptId") { |
| | | this.option.column[k].search = false; |
| | | this.option.column[k].hide = true; |
| | | this.option.column[k].addDisplay = false; |
| | | this.option.column[k].editDisplay = false; |
| | | } |
| | | } |
| | | // this.option.column[4]. = false; |
| | | // this.option.column[6].search = false; |
| | | // this.option.column[6].hide = true; |
| | | // this.option.column[6].addDisplay = false; |
| | | // this.option.column[6].editDisplay = false; |
| | | } else { |
| | | this.option.column[4].search = true; |
| | | this.option.column[6].search = true; |
| | | this.option.column[6].hide = false; |
| | | this.option.column[6].addDisplay = true; |
| | | this.option.column[6].editDisplay = true; |
| | | for (let k in this.option.column) { |
| | | if (this.option.column[k].prop == "deptId") { |
| | | this.option.column[k].search = true; |
| | | this.option.column[k].hide = false; |
| | | this.option.column[k].addDisplay = true; |
| | | this.option.column[k].editDisplay = true; |
| | | } |
| | | } |
| | | // this.option.column[4].search = true; |
| | | // this.option.column[6].search = true; |
| | | // this.option.column[6].hide = false; |
| | | // this.option.column[6].addDisplay = true; |
| | | // this.option.column[6].editDisplay = true; |
| | | } |
| | | getdata( |
| | | page.currentPage, |
| | |
| | | uploadAfter1(res, done, loading, column) { |
| | | window.console.log(column); |
| | | this.excelBox1 = false; |
| | | // this.refreshChange(); |
| | | this.refreshChange(); |
| | | done(); |
| | | }, |
| | | handleTemplate1() { |
| | |
| | | uploadAfter2(res, done, loading, column) { |
| | | window.console.log(column); |
| | | this.excelBox2 = false; |
| | | // this.refreshChange(); |
| | | this.refreshChange(); |
| | | done(); |
| | | }, |
| | | |
| | |
| | | res: "data", |
| | | }, |
| | | tip: "请上传 .xls,.xlsx 标准格式文件", |
| | | action: "/api/car/import-examSubject", |
| | | action: "/api/shareholder/import-share", |
| | | }, |
| | | { |
| | | label: "模板下载", |
| | |
| | | res: "data", |
| | | }, |
| | | tip: "请上传 .xls,.xlsx 标准格式文件", |
| | | action: "/api/examSubjectChoices/import-examSubject", |
| | | action: "/api/member/import-member", |
| | | }, |
| | | { |
| | | label: "模板下载", |
| | |
| | | uploadAfter(res, done, loading, column) { |
| | | window.console.log(column); |
| | | this.excelBox = false; |
| | | this.refreshChange(); |
| | | this.refreshChange1(); |
| | | done(); |
| | | }, |
| | | handleTemplate() { |
| | | window.open(`/api/car/export-template`); |
| | | window.open(`/api/shareholder/export-template`); |
| | | }, |
| | | |
| | | handleImport1() { |
| | |
| | | uploadAfter1(res, done, loading, column) { |
| | | window.console.log(column); |
| | | this.excelBox1 = false; |
| | | // this.refreshChange(); |
| | | this.refreshChange2(); |
| | | done(); |
| | | }, |
| | | handleTemplate1() { |
| | | window.open(`/api/examSubjectChoices/export-template`); |
| | | window.open(`/api/member/export-template`); |
| | | }, |
| | | |
| | | handleChangeTABS(column) { |