| | |
| | | </avue-crud> |
| | | </div> |
| | | </basic-container> |
| | | </template> |
| | | </template> |
| | | |
| | | <script> |
| | | import { |
| | |
| | | }; |
| | | }, |
| | | created() { |
| | | console.log(this.userInfo); |
| | | this.option1.column[1]["value"] = this.userInfo.dept_id; |
| | | this.option1.column[3]["value"] = this.userInfo.Id; |
| | | this.option1.column[4]["value"] = this.userInfo.nick_name; |
| | | if (this.userInfo.role_name == "保安公司管理员") { |
| | | console.log("保安公司管理员登入"); |
| | | const deptColumn = this.findObject(this.option1.column, "deptId"); |
| | | deptColumn.search = false; |
| | | } else { |
| | |
| | | }, |
| | | selectionChange1(list) { |
| | | this.selectionList1 = list; |
| | | // console.log(this.selectionList1.length); |
| | | }, |
| | | handleDelete1() { |
| | | console.log(this.selectionList1); |
| | | if (this.selectionList1.length === 0) { |
| | | this.$message.warning("请选择至少一条数据"); |
| | | return; |
| | |
| | | }); |
| | | }, |
| | | refreshChange1() { |
| | | // console.log(4534) |
| | | this.onLoad1(this.page1, this.query1); |
| | | }, |
| | | |
| | |
| | | this.option1.column, |
| | | "dispatcherUnitId" |
| | | ); |
| | | // console.log(res.data.data, 111); |
| | | dispatcherUnitIdColumn.dicData = res.data.data; |
| | | }); |
| | | } |
| | |
| | | // // this.initData(); |
| | | // // } |
| | | // deps(){ |
| | | // console.log(this.deps,5646646) |
| | | // } |
| | | // }, |
| | | mounted() { |
| | |
| | | .el-collapse-item { |
| | | padding-top: 15px !important; |
| | | } |
| | | </style> |
| | | </style> |