|
@@ -23,14 +23,14 @@
|
|
<el-form-item :label="$t('裂解(裂化)')" prop="boiler" label-width="50">
|
|
<el-form-item :label="$t('裂解(裂化)')" prop="boiler" label-width="50">
|
|
<el-checkbox v-model="queryParams.boiler" @change="handleQuery" ></el-checkbox>
|
|
<el-checkbox v-model="queryParams.boiler" @change="handleQuery" ></el-checkbox>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- <el-form-item :label="$t('压力容器')" prop="cracking" label-width="50">
|
|
|
|
- <el-checkbox v-model="queryParams.cracking" @change="handleQuery" ></el-checkbox>
|
|
|
|
|
|
+ <el-form-item :label="$t('压力容器')" prop="container" label-width="50">
|
|
|
|
+ <el-checkbox v-model="queryParams.container" @change="handleQuery" ></el-checkbox>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- <el-form-item :label="$t('压力管道')" prop="hotarea" label-width="50">
|
|
|
|
- <el-checkbox v-model="queryParams.hotarea" @change="handleQuery" ></el-checkbox>
|
|
|
|
|
|
+ <el-form-item :label="$t('压力管道')" prop="pipe" label-width="50">
|
|
|
|
+ <el-checkbox v-model="queryParams.pipe" @change="handleQuery" ></el-checkbox>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- <el-form-item label="烷基化" prop="coldarea" label-width="50">
|
|
|
|
- <el-checkbox v-model="queryParams.coldarea" @change="handleQuery" ></el-checkbox>
|
|
|
|
|
|
+ <el-form-item label="烷基化" prop="alkylation" label-width="50">
|
|
|
|
+ <el-checkbox v-model="queryParams.alkylation" @change="handleQuery" ></el-checkbox>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item :label="$t('无')+$t('空格')+$t('上岗证')" prop="notHave" label-width="50">
|
|
<el-form-item :label="$t('无')+$t('空格')+$t('上岗证')" prop="notHave" label-width="50">
|
|
<el-checkbox v-model="queryParams.notHave" @change="handleQuery" ></el-checkbox>
|
|
<el-checkbox v-model="queryParams.notHave" @change="handleQuery" ></el-checkbox>
|
|
@@ -51,7 +51,7 @@
|
|
icon="el-icon-plus"
|
|
icon="el-icon-plus"
|
|
size="mini"
|
|
size="mini"
|
|
@click="handleAdd"
|
|
@click="handleAdd"
|
|
- v-hasPermi="['training:worklicense:add']"
|
|
|
|
|
|
+ v-hasPermi="['training:byxWorklicense:add']"
|
|
>{{ $t('新增') }}</el-button>
|
|
>{{ $t('新增') }}</el-button>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="1.5">
|
|
<el-col :span="1.5">
|
|
@@ -61,7 +61,7 @@
|
|
size="mini"
|
|
size="mini"
|
|
:disabled="single"
|
|
:disabled="single"
|
|
@click="handleUpdate"
|
|
@click="handleUpdate"
|
|
- v-hasPermi="['training:worklicense:edit']"
|
|
|
|
|
|
+ v-hasPermi="['training:byxWorklicense:edit']"
|
|
>{{ $t('修改') }}</el-button>
|
|
>{{ $t('修改') }}</el-button>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="1.5">
|
|
<el-col :span="1.5">
|
|
@@ -71,7 +71,7 @@
|
|
size="mini"
|
|
size="mini"
|
|
:disabled="multiple"
|
|
:disabled="multiple"
|
|
@click="handleDelete"
|
|
@click="handleDelete"
|
|
- v-hasPermi="['training:worklicense:remove']"
|
|
|
|
|
|
+ v-hasPermi="['training:byxWorklicense:remove']"
|
|
>{{ $t('删除') }}</el-button>
|
|
>{{ $t('删除') }}</el-button>
|
|
</el-col>
|
|
</el-col>
|
|
<!-- <el-col :span="1.5">-->
|
|
<!-- <el-col :span="1.5">-->
|
|
@@ -80,7 +80,7 @@
|
|
<!-- icon="el-icon-upload2"-->
|
|
<!-- icon="el-icon-upload2"-->
|
|
<!-- size="mini"-->
|
|
<!-- size="mini"-->
|
|
<!-- @click="handleImport"-->
|
|
<!-- @click="handleImport"-->
|
|
-<!-- v-hasPermi="['training:worklicense:edit']"-->
|
|
|
|
|
|
+<!-- v-hasPermi="['training:byxWorklicense:edit']"-->
|
|
<!-- >{{ $t('导入') }}</el-button>-->
|
|
<!-- >{{ $t('导入') }}</el-button>-->
|
|
<!-- </el-col>-->
|
|
<!-- </el-col>-->
|
|
<el-col :span="1.5">
|
|
<el-col :span="1.5">
|
|
@@ -89,7 +89,7 @@
|
|
icon="el-icon-download"
|
|
icon="el-icon-download"
|
|
size="mini"
|
|
size="mini"
|
|
@click="handleExport"
|
|
@click="handleExport"
|
|
- v-hasPermi="['training:worklicense:export']"
|
|
|
|
|
|
+ v-hasPermi="['training:byxWorklicense:export']"
|
|
>{{ $t('导出') }}</el-button>
|
|
>{{ $t('导出') }}</el-button>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="1.5">
|
|
<el-col :span="1.5">
|
|
@@ -110,26 +110,26 @@
|
|
<el-table-column :label="$t('班组')" align="center" prop="classes" :formatter="classesFormat" />
|
|
<el-table-column :label="$t('班组')" align="center" prop="classes" :formatter="classesFormat" />
|
|
<el-table-column :label="$t('职务')" align="center" prop="post" width="150" :formatter="actualpostFormat"/>
|
|
<el-table-column :label="$t('职务')" align="center" prop="post" width="150" :formatter="actualpostFormat"/>
|
|
<el-table-column :label="$t('证件类型')" align="center" prop="idtype" :show-overflow-tooltip="true"/>
|
|
<el-table-column :label="$t('证件类型')" align="center" prop="idtype" :show-overflow-tooltip="true"/>
|
|
- <el-table-column :label="$t('证件号')" align="center" prop="crackingIdnum" width="150" :show-overflow-tooltip="true"/>
|
|
|
|
|
|
+ <el-table-column :label="$t('证件号')" align="center" prop="containerIdnum" width="150" :show-overflow-tooltip="true"/>
|
|
<el-table-column :label="$t('裂解(裂化)')" align="center" prop="boiler" :formatter="boilerFormat">
|
|
<el-table-column :label="$t('裂解(裂化)')" align="center" prop="boiler" :formatter="boilerFormat">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<span> {{boilerFormat(scope.row)}}</span>
|
|
<span> {{boilerFormat(scope.row)}}</span>
|
|
<el-button v-if="boilerFormat(scope.row) == 'YES'" icon="el-icon-folder" style="color:#6e96fa;" @click="handleDoc(scope.row , 'worklicense-boiler')" circle></el-button>
|
|
<el-button v-if="boilerFormat(scope.row) == 'YES'" icon="el-icon-folder" style="color:#6e96fa;" @click="handleDoc(scope.row , 'worklicense-boiler')" circle></el-button>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column :label="$t('压力容器')" align="center" prop="cracking" :formatter="crackingFormat">
|
|
|
|
|
|
+ <el-table-column :label="$t('压力容器')" align="center" prop="container" :formatter="crackingFormat">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<span> {{crackingFormat(scope.row)}}</span>
|
|
<span> {{crackingFormat(scope.row)}}</span>
|
|
<el-button v-if="crackingFormat(scope.row) == 'YES'" icon="el-icon-folder" style="color:#6e96fa;" @click="handleDoc(scope.row , 'worklicense-compression')" circle></el-button>
|
|
<el-button v-if="crackingFormat(scope.row) == 'YES'" icon="el-icon-folder" style="color:#6e96fa;" @click="handleDoc(scope.row , 'worklicense-compression')" circle></el-button>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column :label="$t('压力管道')" align="center" prop="hotarea" :formatter="hotareaFormat">
|
|
|
|
|
|
+ <el-table-column :label="$t('压力管道')" align="center" prop="pipe" :formatter="hotareaFormat">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<span> {{hotareaFormat(scope.row)}}</span>
|
|
<span> {{hotareaFormat(scope.row)}}</span>
|
|
<el-button v-if="hotareaFormat(scope.row) == 'YES'" icon="el-icon-folder" style="color:#6e96fa;" @click="handleDoc(scope.row , 'worklicense-separation')" circle></el-button>
|
|
<el-button v-if="hotareaFormat(scope.row) == 'YES'" icon="el-icon-folder" style="color:#6e96fa;" @click="handleDoc(scope.row , 'worklicense-separation')" circle></el-button>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="烷基化" align="center" prop="coldarea" width="100" :formatter="coldareaFormat">
|
|
|
|
|
|
+ <el-table-column label="烷基化" align="center" prop="alkylation" width="100" :formatter="coldareaFormat">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<span> {{coldareaFormat(scope.row)}}</span>
|
|
<span> {{coldareaFormat(scope.row)}}</span>
|
|
<el-button v-if="coldareaFormat(scope.row) == 'YES'" icon="el-icon-folder" style="color:#6e96fa;" @click="handleDoc(scope.row , 'worklicense-pguaeu')" circle></el-button>
|
|
<el-button v-if="coldareaFormat(scope.row) == 'YES'" icon="el-icon-folder" style="color:#6e96fa;" @click="handleDoc(scope.row , 'worklicense-pguaeu')" circle></el-button>
|
|
@@ -153,14 +153,14 @@
|
|
type="text"
|
|
type="text"
|
|
icon="el-icon-edit"
|
|
icon="el-icon-edit"
|
|
@click="handleUpdate(scope.row)"
|
|
@click="handleUpdate(scope.row)"
|
|
- v-hasPermi="['training:worklicense:edit']"
|
|
|
|
|
|
+ v-hasPermi="['training:byxWorklicense:edit']"
|
|
>{{ $t('修改') }}</el-button>
|
|
>{{ $t('修改') }}</el-button>
|
|
<el-button
|
|
<el-button
|
|
size="mini"
|
|
size="mini"
|
|
type="text"
|
|
type="text"
|
|
icon="el-icon-delete"
|
|
icon="el-icon-delete"
|
|
@click="handleDelete(scope.row)"
|
|
@click="handleDelete(scope.row)"
|
|
- v-hasPermi="['training:worklicense:remove']"
|
|
|
|
|
|
+ v-hasPermi="['training:byxWorklicense:remove']"
|
|
>{{ $t('删除') }}</el-button>
|
|
>{{ $t('删除') }}</el-button>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -216,8 +216,8 @@
|
|
<el-form-item :label="$t('证件类型')" prop="idtype">
|
|
<el-form-item :label="$t('证件类型')" prop="idtype">
|
|
<el-input v-model="form.idtype" :placeholder="$t('请输入') + $t('证件类型')" />
|
|
<el-input v-model="form.idtype" :placeholder="$t('请输入') + $t('证件类型')" />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- <el-form-item :label="$t('证件号')" prop="crackingIdnum">
|
|
|
|
- <el-input v-model="form.crackingIdnum" :placeholder="$t('请输入') +$t('证件号') " />
|
|
|
|
|
|
+ <el-form-item :label="$t('证件号')" prop="containerIdnum">
|
|
|
|
+ <el-input v-model="form.containerIdnum" :placeholder="$t('请输入') +$t('证件号') " />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-row>
|
|
<el-row>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
@@ -226,18 +226,18 @@
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
- <el-form-item :label="$t('压力容器')" prop="cracking">
|
|
|
|
- <el-checkbox v-model="form.cracking" @change="changeCracking()"></el-checkbox>
|
|
|
|
|
|
+ <el-form-item :label="$t('压力容器')" prop="container">
|
|
|
|
+ <el-checkbox v-model="form.container" @change="changeCracking()"></el-checkbox>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
- <el-form-item :label="$t('压力管道')" prop="hotarea">
|
|
|
|
- <el-checkbox v-model="form.hotarea" @change="changeHotarea()"></el-checkbox>
|
|
|
|
|
|
+ <el-form-item :label="$t('压力管道')" prop="pipe">
|
|
|
|
+ <el-checkbox v-model="form.pipe" @change="changeHotarea()"></el-checkbox>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
- <el-form-item label="烷基化" prop="coldarea">
|
|
|
|
- <el-checkbox v-model="form.coldarea" @change="changeColdarea()"></el-checkbox>
|
|
|
|
|
|
+ <el-form-item label="烷基化" prop="alkylation">
|
|
|
|
+ <el-checkbox v-model="form.alkylation" @change="changeColdarea()"></el-checkbox>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
@@ -407,14 +407,13 @@
|
|
|
|
|
|
<script>
|
|
<script>
|
|
import {
|
|
import {
|
|
- listWorklicense,
|
|
|
|
- getWorklicense,
|
|
|
|
- delWorklicense,
|
|
|
|
- addWorklicense,
|
|
|
|
- updateWorklicense,
|
|
|
|
- exportWorklicense,
|
|
|
|
- exportByxWorklicense
|
|
|
|
-} from "@/api/training/worklicense";
|
|
|
|
|
|
+ listByxWorklicense,
|
|
|
|
+ getByxWorklicense,
|
|
|
|
+ delByxWorklicense,
|
|
|
|
+ addByxWorklicense,
|
|
|
|
+ updateByxWorklicense,
|
|
|
|
+ exportByxWorklicense,
|
|
|
|
+} from "@/api/training/byxWorklicense";
|
|
import { treeselect } from "@/api/system/dept";
|
|
import { treeselect } from "@/api/system/dept";
|
|
import { getToken } from "@/utils/auth";
|
|
import { getToken } from "@/utils/auth";
|
|
import Treeselect from "@riophae/vue-treeselect";
|
|
import Treeselect from "@riophae/vue-treeselect";
|
|
@@ -423,7 +422,7 @@ import LicenseData from "./licenseData";
|
|
import {addCommonfile, allFileList, delCommonfile, updateCommonfile} from "@/api/common/commonfile";
|
|
import {addCommonfile, allFileList, delCommonfile, updateCommonfile} from "@/api/common/commonfile";
|
|
|
|
|
|
export default {
|
|
export default {
|
|
- name: "Worklicense",
|
|
|
|
|
|
+ name: "ByxWorklicense",
|
|
components: {LicenseData, Treeselect},
|
|
components: {LicenseData, Treeselect},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
@@ -468,7 +467,7 @@ export default {
|
|
upload: {
|
|
upload: {
|
|
downloadAction: process.env.VUE_APP_BASE_API + '/common/template',
|
|
downloadAction: process.env.VUE_APP_BASE_API + '/common/template',
|
|
//下载模板类型
|
|
//下载模板类型
|
|
- type: "worklicense",
|
|
|
|
|
|
+ type: "byxWorklicense",
|
|
// 是否显示弹出层(用户导入)
|
|
// 是否显示弹出层(用户导入)
|
|
open: false,
|
|
open: false,
|
|
// 弹出层标题(用户导入)
|
|
// 弹出层标题(用户导入)
|
|
@@ -480,7 +479,7 @@ export default {
|
|
// 设置上传的请求头部
|
|
// 设置上传的请求头部
|
|
headers: { Authorization: "Bearer " + getToken() },
|
|
headers: { Authorization: "Bearer " + getToken() },
|
|
// 上传的地址
|
|
// 上传的地址
|
|
- url: process.env.VUE_APP_BASE_API + "/training/worklicense/importData"
|
|
|
|
|
|
+ url: process.env.VUE_APP_BASE_API + "/training/ByxWorklicense/importData"
|
|
},
|
|
},
|
|
// 报告附件参数
|
|
// 报告附件参数
|
|
doc: {
|
|
doc: {
|
|
@@ -524,9 +523,9 @@ export default {
|
|
name: null,
|
|
name: null,
|
|
classes: null,
|
|
classes: null,
|
|
boiler: null,
|
|
boiler: null,
|
|
- cracking: null,
|
|
|
|
- hotarea: null,
|
|
|
|
- coldarea: null,
|
|
|
|
|
|
+ container: null,
|
|
|
|
+ pipe: null,
|
|
|
|
+ alkylation: null,
|
|
notHave: null,
|
|
notHave: null,
|
|
expiring: null
|
|
expiring: null
|
|
},
|
|
},
|
|
@@ -587,7 +586,7 @@ export default {
|
|
/** 查询上岗证一览列表 */
|
|
/** 查询上岗证一览列表 */
|
|
getList() {
|
|
getList() {
|
|
this.loading = true;
|
|
this.loading = true;
|
|
- listWorklicense(this.queryParams).then(response => {
|
|
|
|
|
|
+ listByxWorklicense(this.queryParams).then(response => {
|
|
this.worklicenseList = response.rows;
|
|
this.worklicenseList = response.rows;
|
|
this.total = response.total;
|
|
this.total = response.total;
|
|
this.loading = false;
|
|
this.loading = false;
|
|
@@ -629,15 +628,15 @@ export default {
|
|
},
|
|
},
|
|
// 压缩字典翻译
|
|
// 压缩字典翻译
|
|
crackingFormat(row, column) {
|
|
crackingFormat(row, column) {
|
|
- return this.selectDictLabel(this.crackingOptions, row.cracking);
|
|
|
|
|
|
+ return this.selectDictLabel(this.crackingOptions, row.container);
|
|
},
|
|
},
|
|
// 分离字典翻译
|
|
// 分离字典翻译
|
|
hotareaFormat(row, column) {
|
|
hotareaFormat(row, column) {
|
|
- return this.selectDictLabel(this.hotareaOptions, row.hotarea);
|
|
|
|
|
|
+ return this.selectDictLabel(this.hotareaOptions, row.pipe);
|
|
},
|
|
},
|
|
// PGU/AEU字典翻译
|
|
// PGU/AEU字典翻译
|
|
coldareaFormat(row, column) {
|
|
coldareaFormat(row, column) {
|
|
- return this.selectDictLabel(this.coldareaOptions, row.coldarea);
|
|
|
|
|
|
+ return this.selectDictLabel(this.coldareaOptions, row.alkylation);
|
|
},
|
|
},
|
|
// 取消按钮
|
|
// 取消按钮
|
|
cancel() {
|
|
cancel() {
|
|
@@ -654,11 +653,11 @@ export default {
|
|
classes: null,
|
|
classes: null,
|
|
post: null,
|
|
post: null,
|
|
idtype: null,
|
|
idtype: null,
|
|
- crackingIdnum: null,
|
|
|
|
|
|
+ containerIdnum: null,
|
|
boiler: null,
|
|
boiler: null,
|
|
- cracking: null,
|
|
|
|
- hotarea: null,
|
|
|
|
- coldarea: null,
|
|
|
|
|
|
+ container: null,
|
|
|
|
+ pipe: null,
|
|
|
|
+ alkylation: null,
|
|
aromatic: null,
|
|
aromatic: null,
|
|
recertificatedate: null,
|
|
recertificatedate: null,
|
|
validity: null,
|
|
validity: null,
|
|
@@ -705,16 +704,16 @@ export default {
|
|
handleUpdate(row) {
|
|
handleUpdate(row) {
|
|
this.reset();
|
|
this.reset();
|
|
const id = row.id || this.ids
|
|
const id = row.id || this.ids
|
|
- getWorklicense(id).then(response => {
|
|
|
|
|
|
+ getByxWorklicense(id).then(response => {
|
|
this.form = response.data;
|
|
this.form = response.data;
|
|
if (response.data.boiler == 1) { this.form.boiler = true; this.boilerDisplay = true }
|
|
if (response.data.boiler == 1) { this.form.boiler = true; this.boilerDisplay = true }
|
|
if (response.data.boiler == 0) { this.form.boiler = false; this.boilerDisplay = false }
|
|
if (response.data.boiler == 0) { this.form.boiler = false; this.boilerDisplay = false }
|
|
- if (response.data.cracking == 1) { this.form.cracking = true; this.compressionDisplay = true }
|
|
|
|
- if (response.data.cracking == 0) { this.form.cracking = false; this.compressionDisplay = false }
|
|
|
|
- if (response.data.hotarea == 1) { this.form.hotarea = true; this.separationDisplay = true }
|
|
|
|
- if (response.data.hotarea == 0) { this.form.hotarea = false; this.separationDisplay = false }
|
|
|
|
- if (response.data.coldarea == 1) { this.form.coldarea = true; this.pguaeuDisplay = true }
|
|
|
|
- if (response.data.coldarea == 0) { this.form.coldarea = false; this.pguaeuDisplay = false }
|
|
|
|
|
|
+ if (response.data.container == 1) { this.form.container = true; this.compressionDisplay = true }
|
|
|
|
+ if (response.data.container == 0) { this.form.container = false; this.compressionDisplay = false }
|
|
|
|
+ if (response.data.pipe == 1) { this.form.pipe = true; this.separationDisplay = true }
|
|
|
|
+ if (response.data.pipe == 0) { this.form.pipe = false; this.separationDisplay = false }
|
|
|
|
+ if (response.data.alkylation == 1) { this.form.alkylation = true; this.pguaeuDisplay = true }
|
|
|
|
+ if (response.data.alkylation == 0) { this.form.alkylation = false; this.pguaeuDisplay = false }
|
|
this.open = true;
|
|
this.open = true;
|
|
this.title = this.$t('修改') + this.$t('上岗证一览表');
|
|
this.title = this.$t('修改') + this.$t('上岗证一览表');
|
|
});
|
|
});
|
|
@@ -724,13 +723,13 @@ export default {
|
|
this.$refs["form"].validate(valid => {
|
|
this.$refs["form"].validate(valid => {
|
|
if (valid) {
|
|
if (valid) {
|
|
if (this.form.id != null) {
|
|
if (this.form.id != null) {
|
|
- updateWorklicense(this.form).then(response => {
|
|
|
|
|
|
+ updateByxWorklicense(this.form).then(response => {
|
|
this.msgSuccess(this.$t('修改成功'));
|
|
this.msgSuccess(this.$t('修改成功'));
|
|
this.open = false;
|
|
this.open = false;
|
|
this.getList();
|
|
this.getList();
|
|
});
|
|
});
|
|
} else {
|
|
} else {
|
|
- addWorklicense(this.form).then(response => {
|
|
|
|
|
|
+ addByxWorklicense(this.form).then(response => {
|
|
this.msgSuccess(this.$t('新增成功'));
|
|
this.msgSuccess(this.$t('新增成功'));
|
|
this.open = false;
|
|
this.open = false;
|
|
this.getList();
|
|
this.getList();
|
|
@@ -747,7 +746,7 @@ export default {
|
|
cancelButtonText: this.$t('取消'),
|
|
cancelButtonText: this.$t('取消'),
|
|
type: "warning"
|
|
type: "warning"
|
|
}).then(function() {
|
|
}).then(function() {
|
|
- return delWorklicense(ids);
|
|
|
|
|
|
+ return delByxWorklicense(ids);
|
|
}).then(() => {
|
|
}).then(() => {
|
|
this.getList();
|
|
this.getList();
|
|
this.msgSuccess(this.$t('删除成功'));
|
|
this.msgSuccess(this.$t('删除成功'));
|
|
@@ -809,7 +808,7 @@ export default {
|
|
},
|
|
},
|
|
//压缩修改
|
|
//压缩修改
|
|
changeCracking() {
|
|
changeCracking() {
|
|
- if (this.form.cracking === true) {
|
|
|
|
|
|
+ if (this.form.container === true) {
|
|
this.compressionDisplay = true
|
|
this.compressionDisplay = true
|
|
}else {
|
|
}else {
|
|
this.compressionDisplay = false
|
|
this.compressionDisplay = false
|
|
@@ -817,7 +816,7 @@ export default {
|
|
},
|
|
},
|
|
//分离修改
|
|
//分离修改
|
|
changeHotarea() {
|
|
changeHotarea() {
|
|
- if (this.form.hotarea === true) {
|
|
|
|
|
|
+ if (this.form.pipe === true) {
|
|
this.separationDisplay = true
|
|
this.separationDisplay = true
|
|
}else {
|
|
}else {
|
|
this.separationDisplay = false
|
|
this.separationDisplay = false
|
|
@@ -825,7 +824,7 @@ export default {
|
|
},
|
|
},
|
|
//PGU/AEU修改
|
|
//PGU/AEU修改
|
|
changeColdarea() {
|
|
changeColdarea() {
|
|
- if (this.form.coldarea === true) {
|
|
|
|
|
|
+ if (this.form.alkylation === true) {
|
|
this.pguaeuDisplay = true
|
|
this.pguaeuDisplay = true
|
|
}else {
|
|
}else {
|
|
this.pguaeuDisplay = false
|
|
this.pguaeuDisplay = false
|
|
@@ -835,13 +834,13 @@ export default {
|
|
handleDoc(row , fileType) {
|
|
handleDoc(row , fileType) {
|
|
var workType = "";
|
|
var workType = "";
|
|
if (fileType === "worklicense-boiler"){
|
|
if (fileType === "worklicense-boiler"){
|
|
- workType = this.$t('裂解');
|
|
|
|
|
|
+ workType = this.$t('裂解(裂化)');
|
|
}else if (fileType === "worklicense-compression"){
|
|
}else if (fileType === "worklicense-compression"){
|
|
- workType = this.$t('压缩');
|
|
|
|
|
|
+ workType = this.$t('压力容器');
|
|
}else if (fileType === "worklicense-separation"){
|
|
}else if (fileType === "worklicense-separation"){
|
|
- workType = this.$t('分离');
|
|
|
|
|
|
+ workType = this.$t('压力管道');
|
|
}else if (fileType === "worklicense-pguaeu"){
|
|
}else if (fileType === "worklicense-pguaeu"){
|
|
- workType = "PGU/AEU";
|
|
|
|
|
|
+ workType = this.$t('烷基化');
|
|
}
|
|
}
|
|
this.doc.pType = fileType
|
|
this.doc.pType = fileType
|
|
this.doc.queryParams.pType = fileType
|
|
this.doc.queryParams.pType = fileType
|