|
|
|
@ -76,6 +76,17 @@
|
|
|
|
v-hasPermi="['kaohe:pingce:export']"
|
|
|
|
v-hasPermi="['kaohe:pingce:export']"
|
|
|
|
>导出</el-button>
|
|
|
|
>导出</el-button>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="1.5">
|
|
|
|
|
|
|
|
<el-button
|
|
|
|
|
|
|
|
type="danger"
|
|
|
|
|
|
|
|
plain
|
|
|
|
|
|
|
|
icon="el-icon-delete"
|
|
|
|
|
|
|
|
size="mini"
|
|
|
|
|
|
|
|
:disabled="multiple"
|
|
|
|
|
|
|
|
@click="handleDeleteUsers"
|
|
|
|
|
|
|
|
v-hasPermi="['system:user:remove']"
|
|
|
|
|
|
|
|
>清除评分账号</el-button>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
|
|
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
|
|
@ -532,6 +543,7 @@ import { listVote_items } from "@/api/kaohe/vote_items"
|
|
|
|
import Treeselect from "@riophae/vue-treeselect";
|
|
|
|
import Treeselect from "@riophae/vue-treeselect";
|
|
|
|
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
|
|
|
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
|
|
|
import TableColumn from '@/components/TableColumn'
|
|
|
|
import TableColumn from '@/components/TableColumn'
|
|
|
|
|
|
|
|
import {delUserPingfen} from "../../../api/system/user";
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
name: "Pingce",
|
|
|
|
name: "Pingce",
|
|
|
|
@ -1268,7 +1280,17 @@ export default {
|
|
|
|
// 取消生成评分账号
|
|
|
|
// 取消生成评分账号
|
|
|
|
scpfzhCancel(){
|
|
|
|
scpfzhCancel(){
|
|
|
|
this.scpfzh.open = false;
|
|
|
|
this.scpfzh.open = false;
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
/** 清除评分账号 */
|
|
|
|
|
|
|
|
handleDeleteUsers(row) {
|
|
|
|
|
|
|
|
const ids = row.id || this.ids
|
|
|
|
|
|
|
|
this.$modal.confirm('是否确认删除考核任务编号为"' + ids + '"的评分账号数据项?').then(function() {
|
|
|
|
|
|
|
|
return delUserPingfen(ids)
|
|
|
|
|
|
|
|
}).then(() => {
|
|
|
|
|
|
|
|
this.getList()
|
|
|
|
|
|
|
|
this.$modal.msgSuccess("删除成功")
|
|
|
|
|
|
|
|
}).catch(() => {})
|
|
|
|
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
|