fix: BUG修改

This commit is contained in:
kun 2023-06-07 19:20:01 +08:00
parent a8cc3cbd23
commit 8ec68e112e
12 changed files with 31 additions and 59 deletions

View File

@ -3,8 +3,8 @@ NODE_ENV = "production"
# 线上环境接口地址(easymock)
# VITE_API_URL = "http://139.9.66.234:6688"
# VITE_API_URL = "http://182.90.224.147:6688"
VITE_API_URL = "http://101.43.164.214:6688"
VITE_API_URL = "http://182.90.224.147:6688"
# VITE_API_URL = "http://101.43.164.214:6688"
# 打包
VITE_ULD_API_URL = 'http://182.90.224.147:8012/onlinePreview?url='

Binary file not shown.

Before

Width:  |  Height:  |  Size: 738 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 780 B

After

Width:  |  Height:  |  Size: 738 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 780 B

View File

@ -112,10 +112,10 @@
</el-table-column>
</el-table>
</div>
<div class="operation-btn">
<div class="operation-btn" v-if="basicData?.state != 4">
<!-- <el-button type="info" style="margin-right: 98px">驳回,请尽快整改</el-button>
<el-button type="primary">整改完成,全部合格</el-button> -->
<el-button type="primary" :disabled="!isFinished" @click="allSubmit">全部整改完成,提交审核</el-button>
<el-button type="primary" @click="allSubmit">全部整改完成,提交审核</el-button>
</div>
</div>
<div class="transform-record" v-if="transformDialog">
@ -151,11 +151,7 @@
</div>
<div class="situation">
<span>整改情况</span>
<el-button
style="height: 21px"
type="success"
@click="addSituation"
v-if="recordRowData.state === 1 || recordRowData.state === 4"
<el-button type="success" @click="addSituation" v-if="recordRowData.state === 1 || recordRowData.state === 4"
>新增整改记录</el-button
>
</div>
@ -265,7 +261,6 @@ const transformDialog = ref(false); // 整改记录对话框
const recordData = ref([]); //
const recordRowData = ref(); //
const basicData = ref(); //
const isFinished = ref(true); //
const dialogStyle = ref({
"min-width": "824px"
});
@ -343,9 +338,6 @@ const getInfo = async () => {
recordData.value = res.result.inspectQuestionList;
recordData.value.map(item => {
item.image = eval(item.image);
if (item.state == 1 || item.state == 4) {
isFinished.value = false;
}
});
console.log(recordData);
};

View File

@ -112,10 +112,10 @@
</el-table-column>
</el-table>
</div>
<div class="operation-btn">
<div class="operation-btn" v-if="basicData?.state != 4">
<!-- <el-button type="info" style="margin-right: 98px">驳回,请尽快整改</el-button>
<el-button type="primary">整改完成,全部合格</el-button> -->
<el-button type="primary" :disabled="!isFinished" @click="allSubmit">全部整改完成,提交审核</el-button>
<el-button type="primary" @click="allSubmit">全部整改完成,提交审核</el-button>
</div>
</div>
<div class="transform-record" v-if="transformDialog">
@ -151,11 +151,7 @@
</div>
<div class="situation">
<span>整改情况</span>
<el-button
style="height: 21px"
type="success"
@click="addSituation"
v-if="recordRowData.state === 1 || recordRowData.state === 4"
<el-button type="success" @click="addSituation" v-if="recordRowData.state === 1 || recordRowData.state === 4"
>新增整改记录</el-button
>
</div>
@ -265,7 +261,6 @@ const transformDialog = ref(false); // 整改记录对话框
const recordData = ref([]); //
const recordRowData = ref(); //
const basicData = ref(); //
const isFinished = ref(true); //
const dialogStyle = ref({
"min-width": "824px"
});
@ -344,9 +339,6 @@ const getInfo = async () => {
recordData.value = res.result.inspectQuestionList;
recordData.value.map(item => {
item.image = eval(item.image);
if (item.state == 1 || item.state == 4) {
isFinished.value = false;
}
});
console.log(recordData);
};

View File

@ -188,10 +188,12 @@ const getMsg = val => {
leftForm.value.content = val;
};
const handlechange = e => {
console.log(e);
current.value.files = e.map(item => {
item.label = current.value.dictLabel;
return item;
});
console.log(annexFileList.value);
};
//
let nameList = computed(val => {
@ -305,12 +307,14 @@ const handleSubmit = async (formEl: FormInstance | undefined) => {
tags.value.forEach(item => {
const curr: acceptNameList = {};
console.log(item);
if (item.sn) {
if (item.userId) {
(curr.accept = item.userId), (curr.acceptType = 2);
} else if (item.enterpriseSn) {
(curr.accept = item.enterpriseSn), (curr.acceptType = 3);
} else {
} else if (item.projectSn) {
(curr.accept = item.projectSn), (curr.acceptType = 4);
} else {
(curr.accept = item.accept), (curr.acceptType = item.acceptType);
}
console.log(curr);
acceptsList.push(curr);
@ -411,7 +415,7 @@ onMounted(async () => {
item.files = files;
// item.fileName = store.Message?.title;
});
console.log(annexFileList.value);
tags.value = store.Message.acceptList;
tags.value.forEach(item => {

View File

@ -112,7 +112,7 @@
</el-table-column>
</el-table>
</div>
<div class="operation-btn" v-if="basicData?.state != 1 || basicData?.state != 4">
<div class="operation-btn" v-if="basicData?.state != 1 && basicData?.state != 4">
<el-button type="info" style="margin-right: 98px; border: 0; background-color: #e6e6e6; color: #000000" @click="backAll"
>驳回,请尽快整改</el-button
>
@ -406,10 +406,10 @@ onMounted(() => {});
font-family: Source Han Sans CN-Medium, Source Han Sans CN;
font-weight: 500;
color: #333333;
}
> span {
font-weight: 400;
color: #008bff;
> span {
font-weight: 400;
color: #008bff;
}
}
}
}

View File

@ -112,7 +112,7 @@
</el-table-column>
</el-table>
</div>
<div class="operation-btn" v-if="basicData?.state != 1 || basicData?.state != 4">
<div class="operation-btn" v-if="basicData?.state != 1 && basicData?.state != 4">
<el-button type="info" style="margin-right: 98px; border: 0; background-color: #e6e6e6; color: #000000" @click="backAll"
>驳回,请尽快整改</el-button
>
@ -407,10 +407,10 @@ onMounted(() => {});
font-family: Source Han Sans CN-Medium, Source Han Sans CN;
font-weight: 500;
color: #333333;
}
> span {
font-weight: 400;
color: #008bff;
> span {
font-weight: 400;
color: #008bff;
}
}
}
}

View File

@ -112,10 +112,10 @@
</el-table-column>
</el-table>
</div>
<div class="operation-btn">
<div class="operation-btn" v-if="basicData?.state != 4">
<!-- <el-button type="info" style="margin-right: 98px">驳回,请尽快整改</el-button>
<el-button type="primary">整改完成,全部合格</el-button> -->
<el-button type="primary" :disabled="!isFinished" @click="allSubmit">全部整改完成,提交审核</el-button>
<el-button type="primary" @click="allSubmit">全部整改完成,提交审核</el-button>
</div>
</div>
<div class="transform-record" v-if="transformDialog">
@ -151,11 +151,7 @@
</div>
<div class="situation">
<span>整改情况</span>
<el-button
style="height: 21px"
type="success"
@click="addSituation"
v-if="recordRowData.state === 1 || recordRowData.state === 4"
<el-button type="success" @click="addSituation" v-if="recordRowData.state === 1 || recordRowData.state === 4"
>新增整改记录</el-button
>
</div>
@ -265,7 +261,6 @@ const transformDialog = ref(false); // 整改记录对话框
const recordData = ref([]); //
const recordRowData = ref(); //
const basicData = ref(); //
const isFinished = ref(true); //
const dialogStyle = ref({
"min-width": "824px"
});
@ -344,9 +339,6 @@ const getInfo = async () => {
recordData.value = res.result.inspectQuestionList;
recordData.value.map(item => {
item.image = eval(item.image);
if (item.state == 1 || item.state == 4) {
isFinished.value = false;
}
});
console.log(recordData);
};

View File

@ -112,10 +112,10 @@
</el-table-column>
</el-table>
</div>
<div class="operation-btn">
<div class="operation-btn" v-if="basicData?.state != 4">
<!-- <el-button type="info" style="margin-right: 98px">驳回,请尽快整改</el-button>
<el-button type="primary">整改完成,全部合格</el-button> -->
<el-button type="primary" :disabled="!isFinished" @click="allSubmit">全部整改完成,提交审核</el-button>
<el-button type="primary" @click="allSubmit">全部整改完成,提交审核</el-button>
</div>
</div>
<div class="transform-record" v-if="transformDialog">
@ -151,11 +151,7 @@
</div>
<div class="situation">
<span>整改情况</span>
<el-button
style="height: 21px"
type="success"
@click="addSituation"
v-if="recordRowData.state === 1 || recordRowData.state === 4"
<el-button type="success" @click="addSituation" v-if="recordRowData.state === 1 || recordRowData.state === 4"
>新增整改记录</el-button
>
</div>
@ -265,7 +261,6 @@ const transformDialog = ref(false); // 整改记录对话框
const recordData = ref([]); //
const recordRowData = ref(); //
const basicData = ref(); //
const isFinished = ref(true); //
const dialogStyle = ref({
"min-width": "824px"
});
@ -343,9 +338,6 @@ const getInfo = async () => {
recordData.value = res.result.inspectQuestionList;
recordData.value.map(item => {
item.image = eval(item.image);
if (item.state == 1 || item.state == 4) {
isFinished.value = false;
}
});
console.log(recordData);
};