|
@@ -1,6 +1,6 @@
|
|
<template>
|
|
<template>
|
|
<!-- 检修停复役检修审批 -->
|
|
<!-- 检修停复役检修审批 -->
|
|
- <div class="SSDCompile">
|
|
|
|
|
|
+ <div class="approval">
|
|
<div class="box">
|
|
<div class="box">
|
|
<div class="box-top">
|
|
<div class="box-top">
|
|
<el-form
|
|
<el-form
|
|
@@ -332,7 +332,7 @@
|
|
</el-date-picker>
|
|
</el-date-picker>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :span="8">
|
|
|
|
|
|
+ <el-col :span="8">
|
|
<el-form-item label="申请负责人" prop="chargeman">
|
|
<el-form-item label="申请负责人" prop="chargeman">
|
|
<el-input
|
|
<el-input
|
|
clearable
|
|
clearable
|
|
@@ -468,11 +468,15 @@
|
|
</el-form>
|
|
</el-form>
|
|
</div>
|
|
</div>
|
|
<span slot="footer" class="dialog-footer">
|
|
<span slot="footer" class="dialog-footer">
|
|
- <el-button type="primary" @click="but_edit()" :disabled="buttondispaly">同意</el-button>
|
|
|
|
- <el-button type="primary" @click="reject()" :disabled="buttondispaly">驳回</el-button>
|
|
|
|
|
|
+ <el-button type="primary" @click="but_edit()" :disabled="buttondispaly"
|
|
|
|
+ >同意</el-button
|
|
|
|
+ >
|
|
|
|
+ <el-button type="primary" @click="reject()" :disabled="buttondispaly"
|
|
|
|
+ >驳回</el-button
|
|
|
|
+ >
|
|
</span>
|
|
</span>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
- <el-dialog
|
|
|
|
|
|
+ <el-dialog
|
|
:title="'文件下载列表'"
|
|
:title="'文件下载列表'"
|
|
:visible.sync="dialog.editorBox.showtype"
|
|
:visible.sync="dialog.editorBox.showtype"
|
|
width="610px"
|
|
width="610px"
|
|
@@ -484,7 +488,6 @@
|
|
size="mini"
|
|
size="mini"
|
|
ref="dialog_form_arr"
|
|
ref="dialog_form_arr"
|
|
label-width="0px"
|
|
label-width="0px"
|
|
- :model="tableFormDataObj"
|
|
|
|
>
|
|
>
|
|
<el-table
|
|
<el-table
|
|
stripe
|
|
stripe
|
|
@@ -606,6 +609,7 @@ export default {
|
|
pageSize: 20,
|
|
pageSize: 20,
|
|
total: 0,
|
|
total: 0,
|
|
singleTableHeight: 100,
|
|
singleTableHeight: 100,
|
|
|
|
+ tableDatavalue: [],
|
|
tableData: [],
|
|
tableData: [],
|
|
nameObj: {
|
|
nameObj: {
|
|
equipment: {
|
|
equipment: {
|
|
@@ -643,11 +647,11 @@ export default {
|
|
id: "check",
|
|
id: "check",
|
|
name: "审核中",
|
|
name: "审核中",
|
|
},
|
|
},
|
|
- {
|
|
|
|
|
|
+ {
|
|
id: "starta",
|
|
id: "starta",
|
|
name: "已完成",
|
|
name: "已完成",
|
|
},
|
|
},
|
|
- {
|
|
|
|
|
|
+ {
|
|
id: "startb",
|
|
id: "startb",
|
|
name: "进行中",
|
|
name: "进行中",
|
|
},
|
|
},
|
|
@@ -758,7 +762,7 @@ export default {
|
|
that.getNodeDataa();
|
|
that.getNodeDataa();
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
- //文件下载
|
|
|
|
|
|
+ //文件下载
|
|
downloadFilevalue(row) {
|
|
downloadFilevalue(row) {
|
|
let that = this;
|
|
let that = this;
|
|
let SubmitData = {
|
|
let SubmitData = {
|
|
@@ -773,7 +777,7 @@ export default {
|
|
responseType: "blob",
|
|
responseType: "blob",
|
|
})
|
|
})
|
|
.then(function (res) {
|
|
.then(function (res) {
|
|
- console.log("fdgd")
|
|
|
|
|
|
+ console.log("fdgd");
|
|
that.saveAs(res, row.fileName);
|
|
that.saveAs(res, row.fileName);
|
|
that.$message({
|
|
that.$message({
|
|
message: "下载成功",
|
|
message: "下载成功",
|
|
@@ -1184,12 +1188,9 @@ export default {
|
|
},
|
|
},
|
|
// 表格中多选按钮的相关方法
|
|
// 表格中多选按钮的相关方法
|
|
handleSelectionChange(val) {
|
|
handleSelectionChange(val) {
|
|
- for (let key in val) {
|
|
|
|
|
|
+ for (let key in val) {
|
|
let bil = val[key].billstatus;
|
|
let bil = val[key].billstatus;
|
|
- if (
|
|
|
|
- bil == "已完成" ||
|
|
|
|
- bil == "进行中"
|
|
|
|
- ) {
|
|
|
|
|
|
+ if (bil == "已完成" || bil == "进行中") {
|
|
this.buttondispaly = true;
|
|
this.buttondispaly = true;
|
|
} else {
|
|
} else {
|
|
this.buttondispaly = false;
|
|
this.buttondispaly = false;
|
|
@@ -1411,7 +1412,7 @@ export default {
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style lang="less">
|
|
<style lang="less">
|
|
-.SSDCompile {
|
|
|
|
|
|
+.approval {
|
|
min-width: 700px;
|
|
min-width: 700px;
|
|
height: 100%;
|
|
height: 100%;
|
|
.box {
|
|
.box {
|