整改记录审阅按钮

This commit is contained in:
何美荣 2026-04-15 15:57:48 +08:00
parent e29f2b7dda
commit dadc02819b
2 changed files with 27 additions and 2 deletions

View File

@ -102,6 +102,9 @@
</u--form> </u--form>
</view> </view>
<check-action v-if="isLoadOK && tableKey === '1'&&isAudit==='true' " :okApi="okApi" :refuseApi="refuseApi" :dataSource="$store.state.auditModel"></check-action> <check-action v-if="isLoadOK && tableKey === '1'&&isAudit==='true' " :okApi="okApi" :refuseApi="refuseApi" :dataSource="$store.state.auditModel"></check-action>
<view style="padding: 10px 16px;display: flex;flex-direction: row;" class="bottom-button" v-if="isLoadOK&&tableKey==='1'&&!isAudit">
<u-button type="primary" @click="submit" color="#3d4b70">审阅</u-button>
</view>
</view> </view>
</view> </view>
</template> </template>
@ -129,6 +132,7 @@
} from '../../../../utils/enums.js' } from '../../../../utils/enums.js'
import { import {
GetRiskVerifyRecodrReport, GetRiskVerifyRecodrReport,
HiddenDangerRectifyRecordShow
} from '../../../../services/apply/subPages/SK/SKServices.js' } from '../../../../services/apply/subPages/SK/SKServices.js'
import stepTitle from '@/components/custom/step-title.vue' import stepTitle from '@/components/custom/step-title.vue'
export default { export default {
@ -247,7 +251,17 @@
this.isLoadOK = true this.isLoadOK = true
}, },
submit() {
let json = {};
json.ID = this.model.ID;
json.TaskID = this.TaskID;
HiddenDangerRectifyRecordShow(json).then(res => {
uni.$showMsgFunc('操作成功!', () => {
uni.navigateBack()
},
'success', 1000)
})
}
} }

View File

@ -452,6 +452,17 @@ export function SKRectifyNoticeShow(params) {
}) })
}) })
} }
export function HiddenDangerRectifyRecordShow(params) {
return new Promise((resolve, reject) => {
request.post("/SK/SKHiddenDangerRectifyRecord/IdentityUpdate", params).then((result) => {
if (result.IsSuccessful) {
resolve(result.Data);
}
}).catch((error) => {
reject(error)
})
})
}
export function SKRectifyDelayApplyShow(params) { export function SKRectifyDelayApplyShow(params) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
request.post("/SK/SKHiddenDangerRectifyDelayApply/IdentityUpdate", params).then((result) => { request.post("/SK/SKHiddenDangerRectifyDelayApply/IdentityUpdate", params).then((result) => {