| | |
| | | <template> |
| | | <GlobalWindow |
| | | :title="title" |
| | | width="60%" |
| | | :visible.sync="visible" |
| | | :confirm-working="isWorking" |
| | | @confirm="confirm" |
| | |
| | | data () { |
| | | return { |
| | | // 表单数据 |
| | | form: { |
| | | id: null, |
| | | creator: '', |
| | | createDate: '', |
| | | editor: '', |
| | | editDate: '', |
| | | isdeleted: '', |
| | | categoryId: '', |
| | | remark: '', |
| | | status: '', |
| | | sortnum: '', |
| | | type: '', |
| | | memberId: '', |
| | | companyId: '', |
| | | submitDate: '', |
| | | memberType: '', |
| | | memberQwids: '', |
| | | memberNames: '', |
| | | localtionId: '', |
| | | outJiuyi: '', |
| | | isYiwushi: '', |
| | | isHurted: '', |
| | | workRelated: '', |
| | | eventInfo: '', |
| | | emialMemberIds: '', |
| | | qwnoticeMemberIds: '', |
| | | happenTime: '', |
| | | typeId: '', |
| | | riskInfo: '', |
| | | managerId: '', |
| | | dealerId: '', |
| | | dispatchTime: '', |
| | | dispatchInfo: '', |
| | | dealTime: '', |
| | | dealInfo: '', |
| | | problemId: '', |
| | | problemNum: '', |
| | | locationName: '', |
| | | code: '' |
| | | }, |
| | | form: { }, |
| | | // 验证规则 |
| | | rules: { |
| | | } |
| | |
| | | open (title, target) { |
| | | this.title = title |
| | | this.visible = true |
| | | this.$nextTick(() => { |
| | | for (const key in this.form) { |
| | | this.form[key] = target[key] |
| | | } |
| | | }) |
| | | this.form = target |
| | | } |
| | | } |
| | | } |
| | |
| | | fixed="right" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <el-button type="text" @click="$refs.operaWorkorderWindow.open('SHE事件工单详情', row)" icon="el-icon-edit" >查看详情</el-button> |
| | | <el-button type="text" @click="$refs.operaWorkorderWindow.open('SHE事件工单详情', row)" icon="el-icon-zoom-out" >查看详情</el-button> |
| | | <!--<el-button type="text" @click="deleteById(row)" icon="el-icon-delete" v-permissions="['business:workorder:delete']">删除</el-button>--> |
| | | </template> |
| | | </el-table-column> |