diff --git a/src/pages/regulatoryRepository/nonConfomity/pages/businessDetails.vue b/src/pages/regulatoryRepository/nonConfomity/pages/businessDetails.vue index ad2d94e51..0733eb5ad 100644 --- a/src/pages/regulatoryRepository/nonConfomity/pages/businessDetails.vue +++ b/src/pages/regulatoryRepository/nonConfomity/pages/businessDetails.vue @@ -9,63 +9,84 @@
- + - - - + - - - -
- - -
-
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + type="primary" + class="common-button-primary" + size="mini" + v-btn-permission="'aff4a409c3c3856986c535a5f4782b13'" + @click="searchSarAccessBtn('')"> 查询 清空 + class="common-button-default" + size="mini" + v-btn-permission="'66fa37fc93e298b03d272fe17aeca6de'" + @click="clearAllSearch">清空 +
@@ -73,305 +94,135 @@
数据获取中 + type="selection" + width="55" + fixed="left" + align="center"> + prop="lawNumber" + fixed="left" + width="180" + label="标准编号/政策编号"> + prop="lawName" + fixed="left" + width="180" + label="标准名称/政策名称"> + prop="productType" + width="180" + label="产品类型"> + prop="implTime" + width="180" + sortable="custom" + label="实施时间"> + prop="implRequire" + width="180" + label="实施要求"> + prop="conformSituation" + width="180" + label="资源符合情况"> + prop="devScheme" + width="150" + label="开发计划"> + prop="responseDept" + width="150" + label="责任部门"> - + prop="responsePeople" + width="150" + label="责任人"> + prop="sopTime" + width="150" + sortable="custom" + label="SOP时间"> + + prop="completeSituation" + width="150" + label="完成情况"> - - - - - - - - - - + prop="timeoutSituation" + width="150" + label="SOP时间超过法规时限的空档期的业务应对方案"> + + + + + + + + + + + +
- - -
-
- - -
{{historySeeForm.standId}}
-
- -
{{historySeeForm.standName}}
-
- -
{{historySeeForm.itemsNum}}
-
- -
{{historySeeForm.itemsName}}
-
- -
{{historySeeForm.productLine}}
-
- -
{{historySeeForm.productName}}
-
- -
{{historySeeForm.responsibleUnit}}
-
- -
{{historySeeForm.dutyEngineer}}
-
- -
{{historySeeForm.authEngineer}}
-
- -
{{historySeeForm.qaEngineer}}
-
- -
{{historySeeForm.actualCloseTime}}
-
-
-
-
- 不符合项 -
-
-
条款号:
-
{{item.itemNum}}
-
-
-
涉及项目:
-
{{item.productNameShow}}
-
-
-
目前状态:
- -
不符合
-
-
-
设计完成时间:
-
{{(item.stepFirTime ? item.stepFirTime.substring(0, 10): '')}}
-
-
-
佐证材料:
- -
-

- {{ file.oldFileName }} - -

-
-
-
-
备注信息:
-
{{item.remark}}
-
-
-
验证完成时间:
-
{{(item.stepSecTime ? item.stepSecTime.substring(0, 10): '')}}
-
-
-
佐证材料:
-
-

- {{ file.oldFileName }} - -

-
-
-
-
备注信息:
-
{{item.secRemark}}
-
-
-
整改完成时间:
-
{{(item.stepThiTime ? item.stepThiTime.substring(0, 10): '')}}
-
-
-
佐证材料:
-
-

- {{ file.oldFileName }} - -

-
-
-
-
备注信息:
-
{{item.thrRemark}}
-
-
-
责任部门:
-
{{item.responseUnitShow}}
-
-
-
责任工程师:
-
{{item.responseEnginShow}}
-
-
-
-
- 待验证项 -
-
-
条款号:
-
{{item.itemNum}}
-
-
-
涉及项目:
-
{{item.productNameShow}}
-
-
-
责任部门:
-
{{item.responseUnitShow}}
-
-
-
责任工程师:
-
{{item.responseEnginShow}}
-
-
-
验证时间:
-
{{(item.validTime ? item.validTime.substring(0, 11): '')}}
-
-
-
验证结果:
-
待验证
-
-
-
-
-
+
diff --git a/src/pages/regulatoryRepository/nonConfomity/pages/businessDivision.vue b/src/pages/regulatoryRepository/nonConfomity/pages/businessDivision.vue index 3271a1037..0d8d85d26 100644 --- a/src/pages/regulatoryRepository/nonConfomity/pages/businessDivision.vue +++ b/src/pages/regulatoryRepository/nonConfomity/pages/businessDivision.vue @@ -25,6 +25,8 @@ placeholder="请输入" clearable :maxlength="100"> + @@ -120,6 +122,7 @@ style="width: 100%;" height="100%" border + @selection-change="standSelectChange" :header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px', fontWeight: 'bold', height: '48px'}" > @@ -228,10 +231,12 @@ export default { name: "businessDivision", data() { return { + selectedList: [], //标准选中的数据 sarAccessListTotal: 0, sarAccessListDatas: [], // 查询相关参数 sarSarAccessEOSearch: { + isClose:'0', lawNumOrName: '', // 编号/名称 productType: '', // 产品类型 responseDept: '', // 责任部门 @@ -262,9 +267,40 @@ export default { this.sarSarAccessEOSearch.lawName = this.sarSarAccessEOSearch.lawNumOrName this.sarSarAccessEOSearch.lawNumber = this.sarSarAccessEOSearch.lawNumOrName }, + // 修改成表格样式后,选择项勾选改变 + standSelectChange (data) { + this.selectedList = [] + for (let i = 0; i < data.length; i++) { + this.selectedList.push(data[i].id) + } + }, //点击批量关闭按钮事件 userCloAll() { - console.log('至少选择一条数据'); + if (this.selectedList.length === 0){ + this.$message.warning('请选择一条数据进行关闭') + }else{ + this.$confirm('确认关闭这些数据?', '提示', { + confirmButtonText: '确定', + confirmButtonClass: 'common-button-primary', + cancelButtonTxe: '取消', + type: 'warning', + roundButton: false, + }).then(() => { + this.$http.post('sarStandUnqualified/businessDeptIssue/closeIssue',{ + ids: this.selectedList + },{ + _this: this + }, res => { + if (res.ok) { + this.searchSarAccessBtn() + this.selectedList = [] + this.$message.success('关闭成功') + } + }) + }).catch(() => { + + }) + } }, //点击历史数据按钮事件 historyClick() { diff --git a/src/pages/regulatoryRepository/workingGroup/components/workingGroup1/index.vue b/src/pages/regulatoryRepository/workingGroup/components/workingGroup1/index.vue index e96c628c6..911cd821f 100644 --- a/src/pages/regulatoryRepository/workingGroup/components/workingGroup1/index.vue +++ b/src/pages/regulatoryRepository/workingGroup/components/workingGroup1/index.vue @@ -26,7 +26,7 @@ size="mini" class="common-button-primary" v-if="editButton" - @click=""> + @click="editItem"> 编辑 + @click="seeItem"> 查看 + @click="delItem"> 删除 @@ -62,7 +62,7 @@ :title="addDrawerTitle" :visible.sync="addDrawer" :before-close="addDrawerClose"> -
+