|
@@ -201,6 +201,11 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table-column>
|
|
|
+ <el-table-column label="操作" width="100">
|
|
|
+ <template #default="scope">
|
|
|
+ <span class="indicitem" @click="removeDetailData(scope.row)">详情</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
</el-table>
|
|
|
</el-dialog>
|
|
|
<import-dailog ref="importPage" @successImport="successImport"></import-dailog>
|
|
@@ -575,6 +580,9 @@ export default {
|
|
|
changeDetail(row) {
|
|
|
this.detailVisible = true
|
|
|
this.detailMsg = row
|
|
|
+ this.changeDetailList(row)
|
|
|
+ },
|
|
|
+ changeDetailList(row) {
|
|
|
let that = this
|
|
|
let params = {
|
|
|
organizationEvaluationId: that.rowMsg.id,
|
|
@@ -607,7 +615,7 @@ export default {
|
|
|
|
|
|
let obj = {
|
|
|
isAdd: true,
|
|
|
- deptName: '组织人事部'
|
|
|
+ deptName: this.userMes.deptName
|
|
|
}
|
|
|
headerArr.forEach(it =>{
|
|
|
if (it.flag === '1') {
|
|
@@ -637,6 +645,26 @@ export default {
|
|
|
that.responseData(datas)
|
|
|
}
|
|
|
})
|
|
|
+ },
|
|
|
+ removeDetailData(row) {
|
|
|
+ this.$confirm('此操作将永久删除该数据, 是否继续?', '提示', {
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ cancelButtonText: '取消',
|
|
|
+ type: 'warning'
|
|
|
+ }).then(() => {
|
|
|
+ let that = this
|
|
|
+ let parArr = []
|
|
|
+ for(let i in row) {
|
|
|
+ if (i.indexOf('ID_')) {
|
|
|
+ parArr.push(row[i])
|
|
|
+ }
|
|
|
+ }
|
|
|
+ apiPostremoveEvaluationCommonInfo(parArr.join(',')).then(datas =>{
|
|
|
+ if (datas) {
|
|
|
+ that.changeDetailList(that.detailMsg)
|
|
|
+ }
|
|
|
+ })
|
|
|
+ })
|
|
|
}
|
|
|
}
|
|
|
}
|