|
@@ -377,7 +377,6 @@
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
-
|
|
|
|
<el-row>
|
|
<el-row>
|
|
<el-col :span="24">
|
|
<el-col :span="24">
|
|
<el-form-item label="备注" prop="remark" style="width: 42.7%;">
|
|
<el-form-item label="备注" prop="remark" style="width: 42.7%;">
|
|
@@ -390,6 +389,18 @@
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
|
|
+ <el-row :gutter="20">
|
|
|
|
+ <el-col :span="24">
|
|
|
|
+ <el-form-item label="附件" prop="" v-if="currentType=='put'">
|
|
|
|
+ <ObsFileUpload ref="obsFileUpload" :file-size="100" :file-type="['dwg','dwt','doc','docx','xls','xlsx','png', 'jpg', 'jpeg']" :limit="9999" :value="form.pics"
|
|
|
|
+ ></ObsFileUpload>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <el-form-item label="附件" prop="" v-if="currentType==null">
|
|
|
|
+ <ObsFileUpload ref="obsFileUpload" :file-size="100" :file-type="['dwg','dwt','doc','docx','xls','xlsx','png', 'jpg', 'jpeg']" :limit="9999" :value="form.files"
|
|
|
|
+ ></ObsFileUpload>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ </el-row>
|
|
</el-form>
|
|
</el-form>
|
|
<div slot="footer" class="dialog-footer" style="margin-top: 20%;">
|
|
<div slot="footer" class="dialog-footer" style="margin-top: 20%;">
|
|
<!-- <el-button :loading="buttonLoading" type="primary" @click="submitForm">确定</el-button> -->
|
|
<!-- <el-button :loading="buttonLoading" type="primary" @click="submitForm">确定</el-button> -->
|
|
@@ -460,6 +471,7 @@ export default {
|
|
open: false,
|
|
open: false,
|
|
// 查询参数
|
|
// 查询参数
|
|
queryParams: {
|
|
queryParams: {
|
|
|
|
+ files:[],
|
|
pageNum: 1,
|
|
pageNum: 1,
|
|
pageSize: 10,
|
|
pageSize: 10,
|
|
basicInformation: undefined,
|
|
basicInformation: undefined,
|
|
@@ -689,6 +701,7 @@ export default {
|
|
},*/
|
|
},*/
|
|
toNodeDetail() {
|
|
toNodeDetail() {
|
|
if (this.currentType === 'put') {
|
|
if (this.currentType === 'put') {
|
|
|
|
+ this.form.files = this.$refs.obsFileUpload.fileList
|
|
this.$refs.childNode.open(this.form, 37)
|
|
this.$refs.childNode.open(this.form, 37)
|
|
this.currentType = null
|
|
this.currentType = null
|
|
return
|
|
return
|
|
@@ -699,7 +712,9 @@ export default {
|
|
// this.queryParams.zEngineeringNodeBo.type = this.enginClassification
|
|
// this.queryParams.zEngineeringNodeBo.type = this.enginClassification
|
|
// this.queryParams.enginClassification = result
|
|
// this.queryParams.enginClassification = result
|
|
// console.log(this.queryParams)
|
|
// console.log(this.queryParams)
|
|
|
|
+ this.form.files = this.$refs.obsFileUpload.fileList
|
|
this.$refs.childNode.open(this.form, 3)
|
|
this.$refs.childNode.open(this.form, 3)
|
|
|
|
+
|
|
return
|
|
return
|
|
this.$refs['form'].validate(e => {
|
|
this.$refs['form'].validate(e => {
|
|
if (e) {
|
|
if (e) {
|