|
@@ -115,6 +115,7 @@
|
|
type="success"
|
|
type="success"
|
|
icon="el-icon-copy-document"
|
|
icon="el-icon-copy-document"
|
|
size="mini"
|
|
size="mini"
|
|
|
|
+ :disabled="multiple"
|
|
@click="tickedStatis"
|
|
@click="tickedStatis"
|
|
v-hasPermi="['ehs:jobticket:add']"
|
|
v-hasPermi="['ehs:jobticket:add']"
|
|
>作业票统计</el-button>
|
|
>作业票统计</el-button>
|
|
@@ -122,7 +123,7 @@
|
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="cancelQuery"></right-toolbar>
|
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="cancelQuery"></right-toolbar>
|
|
</el-row>
|
|
</el-row>
|
|
|
|
|
|
- <el-table v-loading="loading" :data="bookingworkticketList" ref="multipleTable" class="table-fixed" :span-method="mergeMethod" @selection-change="handleSelectionChange" :height="clientHeight" border>
|
|
|
|
|
|
+ <el-table v-loading="loading" :data="bookingworkticketList" ref="multipleTable" class="table-fixed" :span-method="mergeMethod" @selection-change="handleSelectionChange" :height="clientHeight" border :row-key="getRowKey" >
|
|
<el-table-column type="selection" width="55" align="center" :reserve-selection="true"/>
|
|
<el-table-column type="selection" width="55" align="center" :reserve-selection="true"/>
|
|
<el-table-column label="作业单位" align="center" prop="bookingworkticket.workUnit" width="80" :show-overflow-tooltip="true"/>
|
|
<el-table-column label="作业单位" align="center" prop="bookingworkticket.workUnit" width="80" :show-overflow-tooltip="true"/>
|
|
<el-table-column label="作业区域单元" align="center" prop="bookingworkticket.workArea" width="100" :show-overflow-tooltip="true"/>
|
|
<el-table-column label="作业区域单元" align="center" prop="bookingworkticket.workArea" width="100" :show-overflow-tooltip="true"/>
|
|
@@ -151,7 +152,7 @@
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column label="状态" align="center" prop="bookingworkticket.status" :formatter="statusFormat" />
|
|
<el-table-column label="状态" align="center" prop="bookingworkticket.status" :formatter="statusFormat" />
|
|
- <el-table-column label="票号" align="center" prop="reservationNumber" width="160">
|
|
|
|
|
|
+ <el-table-column label="票号" align="center" prop="reservationNumber" >
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<span> {{scope.row.reservationNumber}}</span>
|
|
<span> {{scope.row.reservationNumber}}</span>
|
|
<el-button
|
|
<el-button
|
|
@@ -166,11 +167,11 @@
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column label="危害工作许可证号" align="center" prop="whgzxkzh" :show-overflow-tooltip="true"/>
|
|
<el-table-column label="危害工作许可证号" align="center" prop="whgzxkzh" :show-overflow-tooltip="true"/>
|
|
<el-table-column label="动火作业许可证号" align="center" prop="dhzyxkzh" :show-overflow-tooltip="true"/>
|
|
<el-table-column label="动火作业许可证号" align="center" prop="dhzyxkzh" :show-overflow-tooltip="true"/>
|
|
- <el-table-column label="火票级别" align="center" prop="hpjb" :show-overflow-tooltip="true"/>
|
|
|
|
|
|
+ <el-table-column label="火票级别" align="center" prop="hpjb" :formatter="hpjbFormat"/>
|
|
<el-table-column label="限制空间许可证号" align="center" prop="xzkjxkzh" :show-overflow-tooltip="true"/>
|
|
<el-table-column label="限制空间许可证号" align="center" prop="xzkjxkzh" :show-overflow-tooltip="true"/>
|
|
<el-table-column label="盲板作业许可证号" align="center" prop="mbzyxkzh" :show-overflow-tooltip="true"/>
|
|
<el-table-column label="盲板作业许可证号" align="center" prop="mbzyxkzh" :show-overflow-tooltip="true"/>
|
|
<el-table-column label="高处作业许可证号" align="center" prop="gczyxkzh" :show-overflow-tooltip="true"/>
|
|
<el-table-column label="高处作业许可证号" align="center" prop="gczyxkzh" :show-overflow-tooltip="true"/>
|
|
- <el-table-column label="高处作业级别" align="center" prop="gczyjb" :show-overflow-tooltip="true"/>
|
|
|
|
|
|
+ <el-table-column label="高处作业级别" align="center" prop="gczyjb" :formatter="gczyjbFormat"/>
|
|
<el-table-column label="操作" align="center" fixed="right" width="180" class-name="small-padding fixed-width">
|
|
<el-table-column label="操作" align="center" fixed="right" width="180" class-name="small-padding fixed-width">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-button
|
|
<el-button
|
|
@@ -383,14 +384,44 @@
|
|
|
|
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
|
|
- <el-dialog
|
|
|
|
- title="关联票号"
|
|
|
|
- :visible.sync="guanlianVisible"
|
|
|
|
- width="30%"
|
|
|
|
- center>
|
|
|
|
- <div class="demo-input-size">
|
|
|
|
- <el-input size="medium" prefix-icon="el-icon-edit" placeholder="请输入票号" v-model="reservationNumber"></el-input>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <el-dialog title="关联票号" :visible.sync="guanlianVisible" width="30%" center>
|
|
|
|
+ <el-form :model="licenseForm" :rules="rules" ref="licenseForm" label-width="100px" class="demo-ruleForm">
|
|
|
|
+ <el-form-item label="危害工作许可证号" prop="whgzxkzh">
|
|
|
|
+ <el-input v-model="licenseForm.whgzxkzh" placeholder="请输入危害工作许可证号" />
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <el-form-item label="动火作业许可证号" prop="dhzyxkzh">
|
|
|
|
+ <el-input v-model="licenseForm.dhzyxkzh" placeholder="请输入动火作业许可证号" />
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <el-form-item label="火票级别" prop="hpjb">
|
|
|
|
+ <el-select v-model="licenseForm.hpjb" clearable placeholder="请选择火票级别">
|
|
|
|
+ <el-option
|
|
|
|
+ v-for="dict in hpjbOptions"
|
|
|
|
+ :key="dict.dictValue"
|
|
|
|
+ :label="dict.dictLabel"
|
|
|
|
+ :value="dict.dictValue"
|
|
|
|
+ ></el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <el-form-item label="限制空间许可证号" prop="xzkjxkzh">
|
|
|
|
+ <el-input v-model="licenseForm.xzkjxkzh" placeholder="请输入限制空间许可证号" />
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <el-form-item label="盲板作业许可证号" prop="mbzyxkzh">
|
|
|
|
+ <el-input v-model="licenseForm.mbzyxkzh" placeholder="请输入盲板作业许可证号" />
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <el-form-item label="高处作业许可证号" prop="gczyxkzh">
|
|
|
|
+ <el-input v-model="licenseForm.gczyxkzh" placeholder="请输入高处作业许可证号" />
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <el-form-item label="高处作业级别" prop="gczyjb">
|
|
|
|
+ <el-select v-model="licenseForm.gczyjb" clearable placeholder="请选择高处作业级别">
|
|
|
|
+ <el-option
|
|
|
|
+ v-for="dict in gczyjbOptions"
|
|
|
|
+ :key="dict.dictValue"
|
|
|
|
+ :label="dict.dictLabel"
|
|
|
|
+ :value="dict.dictValue"
|
|
|
|
+ ></el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-form>
|
|
<div slot="footer" class="dialog-footer">
|
|
<div slot="footer" class="dialog-footer">
|
|
<el-button @click="guanlianVisible=false">取 消</el-button>
|
|
<el-button @click="guanlianVisible=false">取 消</el-button>
|
|
<el-button type="primary" v-hasPermi="['invoice:bookingworkticket:edit']" @click="submitassociation">确 定</el-button>
|
|
<el-button type="primary" v-hasPermi="['invoice:bookingworkticket:edit']" @click="submitassociation">确 定</el-button>
|
|
@@ -418,6 +449,14 @@ export default {
|
|
name: "Bookingworkticket",
|
|
name: "Bookingworkticket",
|
|
components: { Treeselect,AddApprove},
|
|
components: { Treeselect,AddApprove},
|
|
data() {
|
|
data() {
|
|
|
|
+ var validatePass2 = (rule, value, callback) => {
|
|
|
|
+ if (value === ''|| value===null) {
|
|
|
|
+ callback(new Error('请至少输入一项'));
|
|
|
|
+ } else {
|
|
|
|
+
|
|
|
|
+ callback();
|
|
|
|
+ }
|
|
|
|
+ };
|
|
return {
|
|
return {
|
|
//关联票号
|
|
//关联票号
|
|
associationParams:{},
|
|
associationParams:{},
|
|
@@ -453,12 +492,8 @@ export default {
|
|
clientHeight:300,
|
|
clientHeight:300,
|
|
// 状态字典
|
|
// 状态字典
|
|
statusOptions: [],
|
|
statusOptions: [],
|
|
- // 作业单位字典
|
|
|
|
- workUnitOptions: [],
|
|
|
|
// 作业区域字典
|
|
// 作业区域字典
|
|
workAreaOptions: [],
|
|
workAreaOptions: [],
|
|
- // 单元号字典
|
|
|
|
- unitNumberOptions: [],
|
|
|
|
// 楼层字典
|
|
// 楼层字典
|
|
floorLocationOptions: [],
|
|
floorLocationOptions: [],
|
|
// 用户单位字典
|
|
// 用户单位字典
|
|
@@ -469,9 +504,10 @@ export default {
|
|
workTypeOptions: [],
|
|
workTypeOptions: [],
|
|
// 风险等级字典
|
|
// 风险等级字典
|
|
riskLevelOptions: [],
|
|
riskLevelOptions: [],
|
|
- // 监护人单位字典
|
|
|
|
- guardianUnitOptions: [],
|
|
|
|
-
|
|
|
|
|
|
+ // 火票级别字典
|
|
|
|
+ hpjbOptions: [],
|
|
|
|
+ // 高处作业级别字典
|
|
|
|
+ gczyjbOptions: [],
|
|
// 是否显示弹出层
|
|
// 是否显示弹出层
|
|
open: false,
|
|
open: false,
|
|
// 用户导入参数
|
|
// 用户导入参数
|
|
@@ -523,7 +559,10 @@ export default {
|
|
approveForm:{},
|
|
approveForm:{},
|
|
// 表单参数
|
|
// 表单参数
|
|
form: { },
|
|
form: { },
|
|
|
|
+ //预约票参数
|
|
ruleForm: [{} ],
|
|
ruleForm: [{} ],
|
|
|
|
+ //许可证表单参数
|
|
|
|
+ licenseForm:{},
|
|
flag: true,
|
|
flag: true,
|
|
// 表单校验
|
|
// 表单校验
|
|
rules: {
|
|
rules: {
|
|
@@ -560,6 +599,9 @@ export default {
|
|
estimateWorktime: [
|
|
estimateWorktime: [
|
|
{ required: true, message: "预计作业时间不能为空", trigger: "change" }
|
|
{ required: true, message: "预计作业时间不能为空", trigger: "change" }
|
|
],
|
|
],
|
|
|
|
+ gczyxkzh: [
|
|
|
|
+ { validator: validatePass2, trigger: 'blur' }
|
|
|
|
+ ],
|
|
}
|
|
}
|
|
};
|
|
};
|
|
},
|
|
},
|
|
@@ -581,7 +623,6 @@ export default {
|
|
this.getTreeselect();
|
|
this.getTreeselect();
|
|
//初始化作业区域、 初始化用户单位下拉框
|
|
//初始化作业区域、 初始化用户单位下拉框
|
|
this.getDeviceup();
|
|
this.getDeviceup();
|
|
- // this.getOneCategorys();
|
|
|
|
this.getDicts("booking_work_status").then(response => {
|
|
this.getDicts("booking_work_status").then(response => {
|
|
this.statusOptions = response.data;
|
|
this.statusOptions = response.data;
|
|
});
|
|
});
|
|
@@ -597,12 +638,26 @@ export default {
|
|
this.getDicts("book_risk_level").then(response => {
|
|
this.getDicts("book_risk_level").then(response => {
|
|
this.riskLevelOptions = response.data;
|
|
this.riskLevelOptions = response.data;
|
|
});
|
|
});
|
|
|
|
+ this.getDicts("HPJB").then(response => {
|
|
|
|
+ this.hpjbOptions = response.data;
|
|
|
|
+ });
|
|
|
|
+ this.getDicts("GCZYJB").then(response => {
|
|
|
|
+ this.gczyjbOptions = response.data;
|
|
|
|
+ });
|
|
|
|
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ //得到行key
|
|
|
|
+ getRowKey(row) {
|
|
|
|
+ return row.guid;
|
|
|
|
+ },
|
|
//作业票统计
|
|
//作业票统计
|
|
tickedStatis(){
|
|
tickedStatis(){
|
|
- console.log(this.$refs.multipleTable.selection);
|
|
|
|
|
|
+ let putData=this.$refs.multipleTable.selection
|
|
|
|
+
|
|
|
|
+ batchAddJobticket(putData).then(response => {
|
|
|
|
+ this.msgSuccess(this.$t('带入数据到工作票统计页面成功'));
|
|
|
|
+ });
|
|
},
|
|
},
|
|
//根据用户单位 查询对应选择的用户主管 根据用户单位 字段 查找对应的多个主管 返回 Sysuser的集合(id,name)
|
|
//根据用户单位 查询对应选择的用户主管 根据用户单位 字段 查找对应的多个主管 返回 Sysuser的集合(id,name)
|
|
checkCategoryPromotion(oneId){
|
|
checkCategoryPromotion(oneId){
|
|
@@ -764,39 +819,43 @@ export default {
|
|
this.deptOptions = response.data;
|
|
this.deptOptions = response.data;
|
|
});
|
|
});
|
|
},
|
|
},
|
|
- // 状态字典翻译
|
|
|
|
|
|
+ // 预约票状态字典翻译
|
|
statusFormat(row, column) {
|
|
statusFormat(row, column) {
|
|
return this.selectDictLabel(this.statusOptions, row.bookingworkticket.status);
|
|
return this.selectDictLabel(this.statusOptions, row.bookingworkticket.status);
|
|
},
|
|
},
|
|
- // 字典翻译
|
|
|
|
- workUnitFormat(row, column) {
|
|
|
|
- return this.selectDictLabel(this.workUnitOptions, row.workUnit);
|
|
|
|
- },
|
|
|
|
- // 字典翻译
|
|
|
|
|
|
+ // 工作区域字典翻译
|
|
workAreaFormat(row, column) {
|
|
workAreaFormat(row, column) {
|
|
return this.selectDictLabel(this.workAreaOptions, row.bookingworkticket.workArea);
|
|
return this.selectDictLabel(this.workAreaOptions, row.bookingworkticket.workArea);
|
|
},
|
|
},
|
|
- // 字典翻译
|
|
|
|
|
|
+ // 楼层位置字典翻译
|
|
floorLocationFormat(row, column) {
|
|
floorLocationFormat(row, column) {
|
|
|
|
|
|
return this.selectDictLabels(this.floorLocationOptions, row.bookingworkticket.floorLocation);
|
|
return this.selectDictLabels(this.floorLocationOptions, row.bookingworkticket.floorLocation);
|
|
},
|
|
},
|
|
- // 字典翻译
|
|
|
|
|
|
+ // 用户主管字典翻译
|
|
userMgFormat(row, column) {
|
|
userMgFormat(row, column) {
|
|
return this.selectDictLabel(this.userMgOptions, row.userMg);
|
|
return this.selectDictLabel(this.userMgOptions, row.userMg);
|
|
},
|
|
},
|
|
- // 字典翻译
|
|
|
|
|
|
+ // 用户单位字典翻译
|
|
userUnitFormat(row, column) {
|
|
userUnitFormat(row, column) {
|
|
return this.selectDictLabel(this.userUnitOptions, row.userUnit);
|
|
return this.selectDictLabel(this.userUnitOptions, row.userUnit);
|
|
},
|
|
},
|
|
- // 字典翻译
|
|
|
|
|
|
+ // 作业类型字典翻译
|
|
workTypeFormat(row, column) {
|
|
workTypeFormat(row, column) {
|
|
return this.selectDictLabels(this.workTypeOptions, row.workType);
|
|
return this.selectDictLabels(this.workTypeOptions, row.workType);
|
|
},
|
|
},
|
|
- // 字典翻译
|
|
|
|
|
|
+ // 风险等级字典翻译
|
|
riskLevelFormat(row, column) {
|
|
riskLevelFormat(row, column) {
|
|
return this.selectDictLabel(this.riskLevelOptions, row.riskLevel);
|
|
return this.selectDictLabel(this.riskLevelOptions, row.riskLevel);
|
|
},
|
|
},
|
|
|
|
+ // 火票级别字典翻译
|
|
|
|
+ hpjbFormat(row, column) {
|
|
|
|
+ return this.selectDictLabel(this.hpjbOptions, row.hpjb);
|
|
|
|
+ },
|
|
|
|
+ // 高处作业级别字典翻译
|
|
|
|
+ gczyjbFormat(row, column) {
|
|
|
|
+ return this.selectDictLabel(this.gczyjbOptions, row.gczyjb);
|
|
|
|
+ },
|
|
|
|
|
|
// 取消按钮
|
|
// 取消按钮
|
|
cancel() {
|
|
cancel() {
|
|
@@ -864,6 +923,7 @@ export default {
|
|
this.ids = selection.map(item => item.bookingticketId)
|
|
this.ids = selection.map(item => item.bookingticketId)
|
|
this.single = selection.length!==1
|
|
this.single = selection.length!==1
|
|
this.multiple = !selection.length
|
|
this.multiple = !selection.length
|
|
|
|
+ // console.log(selection)
|
|
},
|
|
},
|
|
/** 新增按钮操作 */
|
|
/** 新增按钮操作 */
|
|
handleAdd() {
|
|
handleAdd() {
|
|
@@ -970,22 +1030,6 @@ export default {
|
|
// console.log(this.form)
|
|
// console.log(this.form)
|
|
// console.log(this.ruleForm)
|
|
// console.log(this.ruleForm)
|
|
this.approveForm.invoiceId=response.data
|
|
this.approveForm.invoiceId=response.data
|
|
- var nowTime = this.getNowFormatDate()
|
|
|
|
-
|
|
|
|
- //判断是否涉及 动火 和当日
|
|
|
|
- // if ( this.form.workStartTime && this.form.workStartTime === nowTime){
|
|
|
|
- // this.approveForm.isToday = 1;
|
|
|
|
- // }else{
|
|
|
|
- // this.approveForm.isToday = 0;
|
|
|
|
- // }
|
|
|
|
- // for (let i = 0; i < this.ruleForm.length; i++) {
|
|
|
|
- // if (this.ruleForm[i].workType === 1 || this.ruleForm[i].workType === 15) {
|
|
|
|
- // this.approveForm.isSpecial = 1
|
|
|
|
- // break;
|
|
|
|
- // } else {
|
|
|
|
- // this.approveForm.isSpecial = 0
|
|
|
|
- // }
|
|
|
|
- // }
|
|
|
|
this.approveForm.userSupId=this.form.userMg
|
|
this.approveForm.userSupId=this.form.userMg
|
|
|
|
|
|
addInvoice(this.approveForm).then(response => {
|
|
addInvoice(this.approveForm).then(response => {
|
|
@@ -1040,15 +1084,34 @@ export default {
|
|
this.guanlianVisible=true
|
|
this.guanlianVisible=true
|
|
this.associationParams=row
|
|
this.associationParams=row
|
|
getWorkcontent(row.id).then(response => {
|
|
getWorkcontent(row.id).then(response => {
|
|
- this.reservationNumber=response.data.reservationNumber
|
|
|
|
|
|
+ this.licenseForm=response.data
|
|
});
|
|
});
|
|
},
|
|
},
|
|
//提交票号
|
|
//提交票号
|
|
submitassociation(){
|
|
submitassociation(){
|
|
this.guanlianVisible=false
|
|
this.guanlianVisible=false
|
|
const putData={}
|
|
const putData={}
|
|
|
|
+ if(this.licenseForm.whgzxkzh!=null
|
|
|
|
+ ||this.licenseForm.whgzxkzh!=''
|
|
|
|
+ ||this.licenseForm.dhzyxkzh!=null
|
|
|
|
+ ||this.licenseForm.dhzyxkzh!=''
|
|
|
|
+ ||this.licenseForm.xzkjxkzh!=null
|
|
|
|
+ ||this.licenseForm.xzkjxkzh!=''
|
|
|
|
+ ||this.licenseForm.mbzyxkzh!=null
|
|
|
|
+ ||this.licenseForm.mbzyxkzh!=''
|
|
|
|
+ ||this.licenseForm.gczyxkzh!=null||this.licenseForm.gczyxkzh!=''){
|
|
putData.id=this.associationParams.id
|
|
putData.id=this.associationParams.id
|
|
- putData.reservationNumber=this.reservationNumber
|
|
|
|
|
|
+ putData.whgzxkzh=this.licenseForm.whgzxkzh
|
|
|
|
+ putData.hpjb=this.licenseForm.hpjb
|
|
|
|
+ putData.dhzyxkzh=this.licenseForm.dhzyxkzh
|
|
|
|
+ putData.xzkjxkzh=this.licenseForm.xzkjxkzh
|
|
|
|
+ putData.mbzyxkzh=this.licenseForm.mbzyxkzh
|
|
|
|
+ putData.gczyxkzh=this.licenseForm.gczyxkzh
|
|
|
|
+ putData.gczyjb=this.licenseForm.gczyjb
|
|
|
|
+ }else{
|
|
|
|
+ return this.msgError("请至少关联一张许可证号");
|
|
|
|
+ }
|
|
|
|
+
|
|
updateWorkcontent(putData).then(response => {
|
|
updateWorkcontent(putData).then(response => {
|
|
// console.log(response.row)
|
|
// console.log(response.row)
|
|
|
|
|
|
@@ -1079,6 +1142,30 @@ export default {
|
|
rowspan: _row,
|
|
rowspan: _row,
|
|
colspan: _col
|
|
colspan: _col
|
|
};
|
|
};
|
|
|
|
+ }
|
|
|
|
+ if (columnIndex === 3) {
|
|
|
|
+ const _row = this.setTable(this.bookingworkticketList).merge[rowIndex];
|
|
|
|
+ const _col = _row > 0 ? 1 : 0;
|
|
|
|
+ return {
|
|
|
|
+ rowspan: _row,
|
|
|
|
+ colspan: _col
|
|
|
|
+ };
|
|
|
|
+ }
|
|
|
|
+ if (columnIndex === 4) {
|
|
|
|
+ const _row = this.setTable(this.bookingworkticketList).merge[rowIndex];
|
|
|
|
+ const _col = _row > 0 ? 1 : 0;
|
|
|
|
+ return {
|
|
|
|
+ rowspan: _row,
|
|
|
|
+ colspan: _col
|
|
|
|
+ };
|
|
|
|
+ }
|
|
|
|
+ if (columnIndex === 5) {
|
|
|
|
+ const _row = this.setTable(this.bookingworkticketList).merge[rowIndex];
|
|
|
|
+ const _col = _row > 0 ? 1 : 0;
|
|
|
|
+ return {
|
|
|
|
+ rowspan: _row,
|
|
|
|
+ colspan: _col
|
|
|
|
+ };
|
|
}
|
|
}
|
|
if (columnIndex === 11) {
|
|
if (columnIndex === 11) {
|
|
const _row = this.setTable(this.bookingworkticketList).merge[rowIndex];
|
|
const _row = this.setTable(this.bookingworkticketList).merge[rowIndex];
|
|
@@ -1112,7 +1199,7 @@ export default {
|
|
colspan: _col
|
|
colspan: _col
|
|
};
|
|
};
|
|
}
|
|
}
|
|
- if (columnIndex === 16) {
|
|
|
|
|
|
+ if (columnIndex === 23) {
|
|
const _row = this.setTable(this.bookingworkticketList).merge[rowIndex];
|
|
const _row = this.setTable(this.bookingworkticketList).merge[rowIndex];
|
|
const _col = _row > 0 ? 1 : 0;
|
|
const _col = _row > 0 ? 1 : 0;
|
|
return {
|
|
return {
|
|
@@ -1120,7 +1207,6 @@ export default {
|
|
colspan: _col
|
|
colspan: _col
|
|
};
|
|
};
|
|
}
|
|
}
|
|
-
|
|
|
|
},
|
|
},
|
|
//单元格整理
|
|
//单元格整理
|
|
setTable(tableData) {
|
|
setTable(tableData) {
|