|
@@ -289,17 +289,12 @@
|
|
header: _this.headers,
|
|
header: _this.headers,
|
|
|
|
|
|
success: res => {
|
|
success: res => {
|
|
- // 判断是否json字符串,将其转为json格式
|
|
|
|
- // let data = _this.$u.test.jsonString(res
|
|
|
|
- // .data) ? JSON.parse(res.data) : res.data;
|
|
|
|
let data = JSON.parse(res.data);
|
|
let data = JSON.parse(res.data);
|
|
if (![200].includes(data.code)) {
|
|
if (![200].includes(data.code)) {
|
|
- // this.uploadError(index, data);
|
|
|
|
_this.$modal.msg(data.msg)
|
|
_this.$modal.msg(data.msg)
|
|
} else {
|
|
} else {
|
|
if (_this.progress === 100) {
|
|
if (_this.progress === 100) {
|
|
|
|
|
|
- // _this.imgArr.push(data.data.url)
|
|
|
|
_this.dataJson.zEngineeringNodeBo
|
|
_this.dataJson.zEngineeringNodeBo
|
|
.zEngineeringInfoBoList[_this.dataIndex]
|
|
.zEngineeringInfoBoList[_this.dataIndex]
|
|
.zEngiineeringPhotoBoList.push(data.data.url);
|
|
.zEngiineeringPhotoBoList.push(data.data.url);
|
|
@@ -310,7 +305,6 @@
|
|
},
|
|
},
|
|
fail: e => {
|
|
fail: e => {
|
|
_this.$modal.msg('上传失败!')
|
|
_this.$modal.msg('上传失败!')
|
|
- //_this.uploadError(index, e);
|
|
|
|
},
|
|
},
|
|
complete: res => {
|
|
complete: res => {
|
|
uni.hideLoading();
|
|
uni.hideLoading();
|
|
@@ -349,14 +343,12 @@
|
|
formData: {},
|
|
formData: {},
|
|
header: _this.headers,
|
|
header: _this.headers,
|
|
success: res => {
|
|
success: res => {
|
|
- // 判断是否json字符串,将其转为json格式
|
|
|
|
let data = JSON.parse(res.data);
|
|
let data = JSON.parse(res.data);
|
|
if (![200].includes(res.statusCode)) {
|
|
if (![200].includes(res.statusCode)) {
|
|
this.uploadError(index, data);
|
|
this.uploadError(index, data);
|
|
} else {
|
|
} else {
|
|
//上传成功
|
|
//上传成功
|
|
if (_this.progress === 100) {
|
|
if (_this.progress === 100) {
|
|
- //_this.imgArr.push(data.data.url)
|
|
|
|
_this.dataJson.zEngineeringNodeBo
|
|
_this.dataJson.zEngineeringNodeBo
|
|
.zEngineeringInfoBoList[_this.dataIndex]
|
|
.zEngineeringInfoBoList[_this.dataIndex]
|
|
.zEngiineeringPhotoBoList.push(data.data.url);
|
|
.zEngiineeringPhotoBoList.push(data.data.url);
|
|
@@ -442,7 +434,6 @@
|
|
}
|
|
}
|
|
if (e == 'zbf') {
|
|
if (e == 'zbf') {
|
|
this.open = true;
|
|
this.open = true;
|
|
- //this.getFSDJLevel();
|
|
|
|
getEnginMaterialQualityList("民用工程", this.enginType, this.enginClassification, this.title, '自闭阀厂家')
|
|
getEnginMaterialQualityList("民用工程", this.enginType, this.enginClassification, this.title, '自闭阀厂家')
|
|
.then(
|
|
.then(
|
|
response => {
|
|
response => {
|
|
@@ -492,7 +483,6 @@
|
|
this.dataJson.zEngineeringNodeBo.zEngineeringInfoBoList[this.dataIndex].zEngineeringMaterialBo[0]
|
|
this.dataJson.zEngineeringNodeBo.zEngineeringInfoBoList[this.dataIndex].zEngineeringMaterialBo[0]
|
|
.corrosionLevel = item.id;
|
|
.corrosionLevel = item.id;
|
|
} else if (this.chooseType == 'cz') {
|
|
} else if (this.chooseType == 'cz') {
|
|
- console.log("ddd")
|
|
|
|
this.dataJson.zEngineeringNodeBo.zEngineeringInfoBoList[this.dataIndex].zEngineeringMaterialBo[0]
|
|
this.dataJson.zEngineeringNodeBo.zEngineeringInfoBoList[this.dataIndex].zEngineeringMaterialBo[0]
|
|
.materialQuality = item.id;
|
|
.materialQuality = item.id;
|
|
this.dataJson.zEngineeringNodeBo.zEngineeringInfoBoList[this.dataIndex].zEngineeringMaterialBo[0]
|
|
this.dataJson.zEngineeringNodeBo.zEngineeringInfoBoList[this.dataIndex].zEngineeringMaterialBo[0]
|
|
@@ -697,25 +687,7 @@
|
|
margin: 30rpx 35rpx;
|
|
margin: 30rpx 35rpx;
|
|
align-items: center;
|
|
align-items: center;
|
|
|
|
|
|
- // &::after {
|
|
|
|
- // content: '';
|
|
|
|
- // width: 240rpx;
|
|
|
|
- // height: 0rpx;
|
|
|
|
- // border-top: 1px solid #E4E7ED;
|
|
|
|
- // -webkit-transform: scaleY(0.5);
|
|
|
|
- // transform: scaleY(0.5);
|
|
|
|
- // margin-left: 30rpx;
|
|
|
|
- // }
|
|
|
|
-
|
|
|
|
- // &::before {
|
|
|
|
- // content: '';
|
|
|
|
- // width: 240rpx;
|
|
|
|
- // height: 0rpx;
|
|
|
|
- // border-top: 1px solid #E4E7ED;
|
|
|
|
- // -webkit-transform: scaleY(0.5);
|
|
|
|
- // transform: scaleY(0.5);
|
|
|
|
- // margin-right: 30rpx;
|
|
|
|
- // }
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
|
|
|
|
.content {
|
|
.content {
|