| | |
| | | <template> |
| | | <div class="rightContent"> |
| | | <div class="label-fixed-element"> |
| | | <!-- <div class="label-fixed-element"> |
| | | <span>{{ params.name }}</span> |
| | | </div> |
| | | </div> --> |
| | | <div class="top"> |
| | | <SearchCommonView |
| | | :add-title="'新建'" |
| | |
| | | <template slot-scope="scope"> |
| | | <el-button @click="tableRowClick(scope.row, '查看')" type="text" size="small">查看</el-button> |
| | | <el-button |
| | | v-if="scope.row.status !== 4" |
| | | v-if="scope.row.status !== 4&&scope.row.status !== 5" |
| | | @click="tableRowClick(scope.row, '编辑')" |
| | | type="text" |
| | | size="small" |
| | |
| | | searchOptions: [], |
| | | commonDetail: { |
| | | visible: false, |
| | | title: "新建", |
| | | title: "新建" |
| | | , |
| | | infomation: {} |
| | | }, |
| | | editConfig: { |
| | |
| | | addBtnClick() { |
| | | this.editConfig.title = "新建" |
| | | this.addName = this.params.name |
| | | console.log(this.params, "ss刷新") |
| | | this.editConfig.operationTypeId = this.params.id |
| | | this.editConfig.code = this.params.code |
| | | this.editConfig.infomation = {} |
| | |
| | | }, |
| | | // 状态 |
| | | getStatus(val) { |
| | | return val === 1 ? "草稿" : val === 3 ? "就绪" : val === 4 ? "完成" : "" |
| | | return val === 1 ? "草稿" : val === 3 ? "就绪" : val === 4 ? "完成" :val === 5 ? "取消" : "" |
| | | }, |
| | | // 删除搜索状态 |
| | | delSelectClick() { |