整改记录审阅按钮
This commit is contained in:
parent
e29f2b7dda
commit
dadc02819b
@ -102,6 +102,9 @@
|
||||
</u--form>
|
||||
</view>
|
||||
<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>
|
||||
</template>
|
||||
@ -129,6 +132,7 @@
|
||||
} from '../../../../utils/enums.js'
|
||||
import {
|
||||
GetRiskVerifyRecodrReport,
|
||||
HiddenDangerRectifyRecordShow
|
||||
} from '../../../../services/apply/subPages/SK/SKServices.js'
|
||||
import stepTitle from '@/components/custom/step-title.vue'
|
||||
export default {
|
||||
@ -247,7 +251,17 @@
|
||||
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)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -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) {
|
||||
return new Promise((resolve, reject) => {
|
||||
request.post("/SK/SKHiddenDangerRectifyDelayApply/IdentityUpdate", params).then((result) => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user