fix: BUG修改

This commit is contained in:
kun 2023-06-06 19:21:53 +08:00
parent 2aca361b51
commit 69b6f6c4a9
6 changed files with 9 additions and 5 deletions

View File

@ -21,8 +21,6 @@
.html-div:first-child { .html-div:first-child {
display: block !important; display: block !important;
line-height: 50px;
height: 50px;
width: 100%; width: 100%;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;

View File

@ -178,6 +178,7 @@ const onLook = async row => {
// //
const handleEditItem = async (row: any) => { const handleEditItem = async (row: any) => {
const { result } = await noticeDetailMyPost({ noticeId: row.noticeId }); const { result } = await noticeDetailMyPost({ noticeId: row.noticeId });
console.log(result);
store.Message = result; store.Message = result;
router.push({ path: "/goverment/notice/newNotification/index", query: { noticeId: row.noticeId } }); router.push({ path: "/goverment/notice/newNotification/index", query: { noticeId: row.noticeId } });
}; };

View File

@ -3,6 +3,7 @@
margin-bottom: 20px; margin-bottom: 20px;
border-radius: 8px; border-radius: 8px;
height: 56px; height: 56px;
min-height: 56px;
// .noticeForm { // .noticeForm {
// margin-bottom: 18px; // margin-bottom: 18px;
// } // }

View File

@ -203,6 +203,7 @@ let nameList = computed(val => {
}); });
const onChange = (row: any) => { const onChange = (row: any) => {
console.log(row);
tags.value = tags.value.includes(row) ? tags.value.filter(item => item !== row) : [...tags.value, row]; tags.value = tags.value.includes(row) ? tags.value.filter(item => item !== row) : [...tags.value, row];
}; };
@ -250,8 +251,10 @@ const handleSubmit = async (formEl: FormInstance | undefined) => {
item.files = files; item.files = files;
}); });
const acceptsList: acceptNameList[] = []; const acceptsList: acceptNameList[] = [];
console.log(tags);
tags.value.forEach(item => { tags.value.forEach(item => {
const curr: acceptNameList = {}; const curr: acceptNameList = {};
console.log(item);
if (item.sn) { if (item.sn) {
(curr.accept = item.userId), (curr.acceptType = 2); (curr.accept = item.userId), (curr.acceptType = 2);
} else if (item.enterpriseSn) { } else if (item.enterpriseSn) {
@ -332,7 +335,8 @@ onMounted(async () => {
if (store.Message) { if (store.Message) {
// searchForm.value.type = store.Message.type; // searchForm.value.type = store.Message.type;
searchForm.value.type = typeList.value[Number(store.Message.type)].value; searchForm.value.type = typeList.value[Number(store.Message.type)].value;
editorRef.value.setText(leftForm.value.content); console.log(leftForm.value.content);
editorRef.value.setText(store.Message.content);
console.log(searchForm.value.type); console.log(searchForm.value.type);
leftForm.value = store.Message; leftForm.value = store.Message;

View File

@ -112,7 +112,7 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> </div>
<div class="operation-btn"> <div class="operation-btn" v-if="basicData?.state != 1">
<el-button type="info" style="margin-right: 98px" @click="backAll">驳回,请尽快整改</el-button> <el-button type="info" style="margin-right: 98px" @click="backAll">驳回,请尽快整改</el-button>
<el-button type="primary" @click="allSubmit">整改完成,全部合格</el-button> <el-button type="primary" @click="allSubmit">整改完成,全部合格</el-button>
</div> </div>

View File

@ -112,7 +112,7 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> </div>
<div class="operation-btn"> <div class="operation-btn" v-if="basicData?.state != 1">
<el-button type="info" style="margin-right: 98px" @click="backAll">驳回,请尽快整改</el-button> <el-button type="info" style="margin-right: 98px" @click="backAll">驳回,请尽快整改</el-button>
<el-button type="primary" @click="allSubmit">整改完成,全部合格</el-button> <el-button type="primary" @click="allSubmit">整改完成,全部合格</el-button>
</div> </div>