| | |
| | | // 判断是否从保安公司人数点击跳转 |
| | | if (this.$route.query.departmentid) { |
| | | this.departmentid = this.$route.query.departmentid; |
| | | console.log(this.departmentid, "ddddddddddddd"); |
| | | // console.log(this.departmentid, "ddddddddddddd"); |
| | | this.spanRight = 24; |
| | | this.spanLeft = 0; |
| | | var d = this.option.column; |
| | | d[1]["search"] = false; |
| | | } else { |
| | | console.log("正常点击"); |
| | | // console.log("正常点击"); |
| | | this.spanRight = 21; |
| | | this.spanLeft = 3; |
| | | var d = this.option.column; |
| | |
| | | }, |
| | | methods: { |
| | | rowClickSelf(row) { |
| | | console.log(row, "baoan"); |
| | | // console.log(row, "baoan"); |
| | | this.$router.push({ |
| | | path: "/securityCompany/index", |
| | | query: { fromSecunityGuardId: row }, |
| | |
| | | this.dialogVisible = false; |
| | | }, |
| | | submitf(form, done) { |
| | | console.log(form); |
| | | // console.log(form); |
| | | // this.$message.success(JSON.stringify(form)); |
| | | addhonor(form).then((res) => { |
| | | console.log(res); |
| | | // console.log(res); |
| | | }); |
| | | this.objf = {}; |
| | | this.dialogVisible = false; |
| | |
| | | honor(row) { |
| | | this.objf = {}; |
| | | //打开荣誉录入 |
| | | console.log(this.objf); |
| | | // console.log(this.objf); |
| | | this.objf = { |
| | | cardid: row.cardid, |
| | | name: row.name, |
| | |
| | | // d[key].securitynumber = "赣洪202100009"; |
| | | } |
| | | this.data = data.records; |
| | | console.log(this.data); |
| | | // console.log(this.data); |
| | | this.loading = false; |
| | | this.selectionClear(); |
| | | }); |
| | |
| | | // console.log($); |
| | | // this.$Print("#certificatess"); |
| | | this.objVisiblecertificates = obj; |
| | | console.log(this.objVisiblecertificates); |
| | | // console.log(this.objVisiblecertificates); |
| | | }, |
| | | // 证件吊销事件 |
| | | handleCredentials(row) { |
| | |
| | | }) |
| | | .then(() => { |
| | | updateHold(2, row.cardid).then((res) => { |
| | | console.log(res); |
| | | // console.log(res); |
| | | this.$message({ |
| | | type: "success", |
| | | message: "删除成功!", |