|
|
|
@ -240,10 +240,12 @@ const setAttr = () =>{ |
|
|
|
// 查询检查要求字典信息 |
|
|
|
getAttr(route?.query?.id, success => { |
|
|
|
if (success.data.filePreview != null) { |
|
|
|
for (var i=0; i<success.data.filePreview.fileList.length; i++) { |
|
|
|
data.imgstr += success.data.filePreview.fileList[i] + ","; |
|
|
|
if(success.data.filePreview.fileList != null) { |
|
|
|
for (var i=0; i<success.data.filePreview.fileList.length; i++) { |
|
|
|
data.imgstr += success.data.filePreview.fileList[i] + ","; |
|
|
|
} |
|
|
|
data.imgstr = data.imgstr.substring(0, data.imgstr.length - 1); |
|
|
|
} |
|
|
|
data.imgstr = data.imgstr.substring(0, data.imgstr.length - 1); |
|
|
|
} |
|
|
|
},error=>{}); |
|
|
|
} |
|
|
|
@ -253,7 +255,6 @@ const setAttr = () =>{ |
|
|
|
onMounted(() =>{ |
|
|
|
//查询执法登记信息 |
|
|
|
queryEnforcementRegistrationById(route?.query?.id,success =>{ |
|
|
|
console.log(success.data) |
|
|
|
submitData.enterpriseName = success.data.enterpriseName; |
|
|
|
submitData.enterpriseNumber = success.data.enterpriseNumber; |
|
|
|
submitData.lawEnforcement = success.data.lawEnforcement; |
|
|
|
|