|
@@ -557,9 +557,28 @@ export default {
|
|
this.$download.zip(`/zdsz/engineeringPipeJacking/downloadZip/${'市政工程'}/${name}`, name);
|
|
this.$download.zip(`/zdsz/engineeringPipeJacking/downloadZip/${'市政工程'}/${name}`, name);
|
|
},
|
|
},
|
|
// 节点审核
|
|
// 节点审核
|
|
- checkWorking(checkingInfo) {
|
|
|
|
|
|
+ checkWorking(checkingInfo,flag) {
|
|
let params = checkingInfo
|
|
let params = checkingInfo
|
|
params.createTime = this.createTime
|
|
params.createTime = this.createTime
|
|
|
|
+ if (flag === 1){
|
|
|
|
+ params.infoIdList.forEach(item=>{
|
|
|
|
+ if (item.zEngiineeringPhotoBoListOne.length>0){
|
|
|
|
+ item.zEngiineeringPhotoBoListOne.forEach(o=>{
|
|
|
|
+ item.zEngiineeringPhotoBoList.push(o)
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ if (item.zEngiineeringPhotoBoListTwo.length>0){
|
|
|
|
+ item.zEngiineeringPhotoBoListTwo.forEach(o=>{
|
|
|
|
+ item.zEngiineeringPhotoBoList.push(o)
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ if (item.zEngiineeringPhotoBoListThree.length>0){
|
|
|
|
+ item.zEngiineeringPhotoBoListThree.forEach(o=>{
|
|
|
|
+ item.zEngiineeringPhotoBoList.push(o)
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ }
|
|
console.log('节点审核 checkingInfo===', params)
|
|
console.log('节点审核 checkingInfo===', params)
|
|
insertReview(params).then(res => {
|
|
insertReview(params).then(res => {
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
@@ -783,7 +802,7 @@ export default {
|
|
getUrl(url) {
|
|
getUrl(url) {
|
|
this.zEngineeringNodeBo.zEngineeringInfoBo.zEngiineeringPhotoBoList = this.$refs.obsImageUpload.fileList ? this.$refs.obsImageUpload.fileList.map(e => e.url) : [];
|
|
this.zEngineeringNodeBo.zEngineeringInfoBo.zEngiineeringPhotoBoList = this.$refs.obsImageUpload.fileList ? this.$refs.obsImageUpload.fileList.map(e => e.url) : [];
|
|
},
|
|
},
|
|
- /** 查询市政工程|工业工程列表 */
|
|
|
|
|
|
+ /** 查询市政工程 */
|
|
getList(val) {
|
|
getList(val) {
|
|
this.loading = true;
|
|
this.loading = true;
|
|
getEngineeIndustryList(this.searchParams).then(res => {
|
|
getEngineeIndustryList(this.searchParams).then(res => {
|
|
@@ -832,13 +851,11 @@ export default {
|
|
handleAdd() {
|
|
handleAdd() {
|
|
this.reset();
|
|
this.reset();
|
|
this.gc = true
|
|
this.gc = true
|
|
- this.title = (this.form.type === '1' ? "新增工业工程" : "新增市政工程");
|
|
|
|
|
|
+ this.title = "新增市政工程";
|
|
this.currentType = 'add'
|
|
this.currentType = 'add'
|
|
this.open = true;
|
|
this.open = true;
|
|
},
|
|
},
|
|
removeFile(val) {
|
|
removeFile(val) {
|
|
- console.log(val)
|
|
|
|
- console.log("我是文件")
|
|
|
|
this.form.files = val
|
|
this.form.files = val
|
|
},
|
|
},
|
|
/** 修改按钮操作 */
|
|
/** 修改按钮操作 */
|