diff --git a/api/index.js b/api/index.js
index 15043e9..0ce4690 100644
--- a/api/index.js
+++ b/api/index.js
@@ -102,9 +102,9 @@ export const getkeyprojectcount = (params) => post("/app/keyprojectcheck/keyProj
export const getPromiseUnsigned = (params) => post("/app/corppromise/ISSIGN", params); // 获取是否有需要签字的承诺书
export const getPromiseInfo = (params) => post("/app/corppromise/promise", params); // 获取需要签字的承诺书信息
export const setPromiseSign = (params) => upload("/app/corppromise/editpeople", params); // 承诺书提交签字
-export const getMyPromiseList = (params) => post("/app/corppromise/promiselist", params); // 获取我的承诺列表
-export const getReceivePromiseList = (params) => post("/app/corppromise/receivePromiseList", params); // 获取接收承诺列表
+export const getMyPromiseList = (params) => post("/app/corppromise/promiseV2list", params); // 获取我的承诺列表
+export const getReceivePromiseList = (params) => post("/app/corppromise/receiveV2PromiseList", params); // 获取接收承诺列表
export const getPromiseView = (params) => post("/app/corppromise/goEdit", params); // 查看承诺书
export const setPromiseIsRead = (params) => post("/app/corppromise/editIsRead", params); // 承诺书设置阅读状态
export const editHiddenIspunish = (params) => post("/app/keyprojectcheck/editHiddenIspunish", params); // 修改隐患信息
-export const getPERSONNELMANAGEMENTID = (params) => post("/app/keyProjects/goEdit", params); // 重点工程默认回显负责人
\ No newline at end of file
+export const getPERSONNELMANAGEMENTID = (params) => post("/app/keyProjects/goEdit", params); // 重点工程默认回显负责人
diff --git a/pages/key-project-management/safety-environmental-inspection/detail-list.vue b/pages/key-project-management/safety-environmental-inspection/detail-list.vue
index a14d355..815434b 100644
--- a/pages/key-project-management/safety-environmental-inspection/detail-list.vue
+++ b/pages/key-project-management/safety-environmental-inspection/detail-list.vue
@@ -52,6 +52,7 @@ export default {
data() {
return {
KEYWORDS: '',
+ CORPINFO_ID: '',
OUTSOURCED_ID: '',
pageSize: 10,
currentPage: 1,
@@ -71,7 +72,8 @@ export default {
}
},
onLoad(e) {
- this.OUTSOURCED_ID = e.OUTSOURCED_ID
+ this.OUTSOURCED_ID = e.OUTSOURCED_ID,
+ this.CORPINFO_ID = this.$route.query.CORPINFO_ID
},
onShow(){
this.resetList()
@@ -81,6 +83,7 @@ export default {
let resData = await getKeyProjectsCheckList({
KEYWORDS: this.KEYWORDS,
OUTSOURCED_ID: this.OUTSOURCED_ID,
+ CORPINFO_ID: this.CORPINFO_ID,
showCount: this.pageSize,
currentPage: this.currentPage,
});
@@ -99,6 +102,7 @@ export default {
params: {
KEYPROJECTCHECK_ID,
type,
+ CORPINFO_ID:this.CORPINFO_ID,
OUTSOURCED_ID:this.OUTSOURCED_ID
}
})
diff --git a/pages/key-project-management/safety-environmental-inspection/detail.vue b/pages/key-project-management/safety-environmental-inspection/detail.vue
index fdc2ce2..af08122 100644
--- a/pages/key-project-management/safety-environmental-inspection/detail.vue
+++ b/pages/key-project-management/safety-environmental-inspection/detail.vue
@@ -356,6 +356,8 @@ export default {
HIDDENLEVEL: '',
HIDDENTYPE_NAME: '',
HIDDENTYPE: '',
+ HIDDENTYPE2_NAME: '',
+ HIDDENTYPE2: '',
SOURCE: '4',
CORPINFO_ID: '',
HIDDENFINDDEPT: '',
@@ -396,6 +398,7 @@ export default {
async onLoad(event) {
this.KEYPROJECTCHECK_ID = event.KEYPROJECTCHECK_ID
this.OUTSOURCED_ID = event.OUTSOURCED_ID
+
this.disabled = !(event.type === 'add' || event.type === 'edit');
if (this.KEYPROJECTCHECK_ID) {
await this.fnGetKeyProjectsCheckView()
@@ -492,6 +495,14 @@ export default {
if (list === 'hiddenTypeTreeList') {
this.hiddenForm.HIDDENTYPE = e[0].id
this.hiddenForm.HIDDENTYPE_NAME = e[0].name
+ // 获取根节点元素名
+ this.hiddenTypeTreeList.forEach((enode) => {
+ if (JSON.stringify(enode).includes(e[0].id) && JSON.stringify(enode).includes(e[0].name)){
+ // CORPINFO_ID = this.$route.query.CORPINFO_ID,
+ this.hiddenForm.HIDDENTYPE2 = enode.id
+ this.hiddenForm.HIDDENTYPE2_NAME = enode.name
+ }
+ })
}
if (list === 'rectificationSiteuserColumns') {
this.hiddenForm.RECTIFICATIONDEPT = e[0].UNITS_ID
@@ -636,6 +647,8 @@ export default {
FOREIGN_KEY,
TYPE: 102,
CORPINFO_ID: this.userInfo.CORPINFO_ID,
+ // CORPINFO_ID: this.CORPINFO_ID,
+
},
loading:false
})
diff --git a/pages/key-project-management/safety-environmental-inspection/list.vue b/pages/key-project-management/safety-environmental-inspection/list.vue
index fcccb90..8a04426 100644
--- a/pages/key-project-management/safety-environmental-inspection/list.vue
+++ b/pages/key-project-management/safety-environmental-inspection/list.vue
@@ -101,6 +101,7 @@ export default {
url: '/pages/key-project-management/safety-environmental-inspection/detail-list',
params: {
OUTSOURCED_ID,
+ CORPINFO_ID: this.CORPINFO_ID
}
})
},
diff --git a/pages/mine/promise/detail.vue b/pages/mine/promise/detail.vue
index 167d691..4c75ae1 100644
--- a/pages/mine/promise/detail.vue
+++ b/pages/mine/promise/detail.vue
@@ -13,23 +13,23 @@
若违反上述承诺和未履行安全生产职责,或发生责任事故的,接受政府或公司事故调查组做出的处罚决定。
-
- 承诺期限自{{ info.PROMISE_TERM_START }}至{{ info.PROMISE_TERM_END }}。
-
+
+
+
若未履行安全生产职责,或发生生产安全事故的,接受公司或政府事故调查组做出的处罚。
-
- 责任期限自{{ info.PROMISE_TERM_START }}至{{ info.PROMISE_TERM_END }}。
-
+
+
+