diff --git a/src/pages/regulatoryRepository/nonConfomity/pages/businessDetails.vue b/src/pages/regulatoryRepository/nonConfomity/pages/businessDetails.vue index ad2d94e51..8563f747d 100644 --- a/src/pages/regulatoryRepository/nonConfomity/pages/businessDetails.vue +++ b/src/pages/regulatoryRepository/nonConfomity/pages/businessDetails.vue @@ -9,7 +9,7 @@
- + - +
+ :zNodes="zNodesSItem" + treeDivId="zNodesSItemSearch" + deptSelect + showRMenu + @treeDblClick="(treeId, treeNode) => treeClickSearch(treeId, treeNode)" + class="ztree" style="width: 200px;height: 400px;overflow: auto">
+ type="primary" + size="mini" + class="common-button-primary" + @click="getTableBtn"> 查询 清空 + size="mini" + class="common-button-default" + @click="clearAllSearch">清空 +
@@ -73,166 +74,170 @@
数据获取中 + type="selection" + width="55" + fixed="left" + align="center"> + prop="standId" + width="180px" + label="标准编号/政策编号"> + prop="standName" + width="180px" + label="标准名称/政策名称"> + prop="itemsNum" + label="产品类型"> + prop="itemsName" + label="实施时间"> + prop="productLine" + label="实施要求"> + + + + + + + prop="dutyEngineer" + width="150px" + label="开发计划"> + prop="responsibleUnit" + label="责任部门"> + prop="responsePeople" + width="100" + label="责任人"> - - - - - - - - - - - - - - - - + prop="actualCloseTime" + width="150px" + sortable + label="SOP时间"> + + + + + + + + + + + + + + + + + + + + + + + + + + +
-
{{historySeeForm.standId}}
+
{{ historySeeForm.standId }}
-
{{historySeeForm.standName}}
+
{{ historySeeForm.standName }}
-
{{historySeeForm.itemsNum}}
+
{{ historySeeForm.itemsNum }}
-
{{historySeeForm.itemsName}}
+
{{ historySeeForm.itemsName }}
-
{{historySeeForm.productLine}}
+
{{ historySeeForm.productLine }}
-
{{historySeeForm.productName}}
+
{{ historySeeForm.productName }}
-
{{historySeeForm.responsibleUnit}}
+
{{ historySeeForm.responsibleUnit }}
-
{{historySeeForm.dutyEngineer}}
+
{{ historySeeForm.dutyEngineer }}
-
{{historySeeForm.authEngineer}}
+
{{ historySeeForm.authEngineer }}
-
{{historySeeForm.qaEngineer}}
+
{{ historySeeForm.qaEngineer }}
-
{{historySeeForm.actualCloseTime}}
+
{{ historySeeForm.actualCloseTime }}
@@ -241,11 +246,11 @@
条款号:
-
{{item.itemNum}}
+
{{ item.itemNum }}
涉及项目:
-
{{item.productNameShow}}
+
{{ item.productNameShow }}
目前状态:
@@ -254,100 +259,101 @@
设计完成时间:
-
{{(item.stepFirTime ? item.stepFirTime.substring(0, 10): '')}}
+
{{ (item.stepFirTime ? item.stepFirTime.substring(0, 10) : '') }}
佐证材料:

{{ file.oldFileName }} - +

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

{{ file.oldFileName }} - +

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

{{ file.oldFileName }} - +

备注信息:
-
{{item.thrRemark}}
+
{{ item.thrRemark }}
责任部门:
-
{{item.responseUnitShow}}
+
{{ item.responseUnitShow }}
责任工程师:
-
{{item.responseEnginShow}}
+
{{ item.responseEnginShow }}
-
+
待验证项
条款号:
-
{{item.itemNum}}
+
{{ item.itemNum }}
涉及项目:
-
{{item.productNameShow}}
+
{{ item.productNameShow }}
责任部门:
-
{{item.responseUnitShow}}
+
{{ item.responseUnitShow }}
责任工程师:
-
{{item.responseEnginShow}}
+
{{ item.responseEnginShow }}
验证时间:
-
{{(item.validTime ? item.validTime.substring(0, 11): '')}}
+
{{ (item.validTime ? item.validTime.substring(0, 11) : '') }}
验证结果:
@@ -363,7 +369,7 @@ export default { name: 'BusinessDetails', components: {}, - data () { + data() { return { loading: false, // 搜索条件字段 @@ -397,7 +403,7 @@ export default { } }, methods: { - openFileInPdf (attId, oldFileName) { + openFileInPdf(attId, oldFileName) { // 缺少文件 if (this.$hasPermission('ZWBGBNTL11')) { this.$http.get('lawss/sarStandFile/queryConvertAtt', { @@ -442,14 +448,14 @@ export default { this.$message.error('没有在线预览文档权限!') } }, - downloadFile (attId) { + downloadFile(attId) { if (attId != null && attId !== '') { window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId } else { this.$message.error('请选择要下载的文件') } }, - downloadFileByWater (attId, fileSuffix) { + downloadFileByWater(attId, fileSuffix) { if (fileSuffix !== 'pdf' && fileSuffix !== 'PDF') { this.$message.error('水印下载仅支持PDF,pdf格式文件') } else { @@ -460,7 +466,7 @@ export default { } } }, - typeColor (row, type) { + typeColor(row, type) { this.$confirm('确定修改此标准分级?', '提示', { confirmButtonText: '确定', cancelButtonText: '取消', @@ -477,21 +483,21 @@ export default { color = '#f00' } this.$http.postData('lawss/sarInconformInfo/updateInconformInfo', - { - id: row.id, - color: color - }, { - _this: this - }, res => { - if (res.ok) { - this.getTableBtn() - } else { - this.$message({ - type: 'error', - message: '修改失败!' - }) - } - }) + { + id: row.id, + color: color + }, { + _this: this + }, res => { + if (res.ok) { + this.getTableBtn() + } else { + this.$message({ + type: 'error', + message: '修改失败!' + }) + } + }) }).catch(() => { this.$message({ type: 'info', @@ -499,7 +505,7 @@ export default { }) }) }, - detailsStandard (item) { + detailsStandard(item) { this.$http.post('lawss/sarTestItem/validateStandNumber', { standnumber: item.standNum }, { @@ -517,29 +523,30 @@ export default { }, e => { }) }, - getOrgTreeSource () { + getOrgTreeSource() { this.$http.get('sys/org/getTree', {}, {_this: this}, - res => { - if (res.ok) { - let treeNode = [] - res.data.map((item, index) => { - let treeItem = {} - for (let key in item) { - if (key === 'orgName') { - treeItem.name = item[key] - } else { - treeItem[key] = item[key] + res => { + if (res.ok) { + let treeNode = [] + res.data.map((item, index) => { + let treeItem = {} + for (let key in item) { + if (key === 'orgName') { + treeItem.name = item[key] + } else { + treeItem[key] = item[key] + } } - } - treeNode[index] = treeItem - }) - this.zNodesSItem = treeNode - // this.searchInlandNodes = treeNode - } - }, e => {}) + treeNode[index] = treeItem + }) + this.zNodesSItem = treeNode + // this.searchInlandNodes = treeNode + } + }, e => { + }) }, // 更多 - handleCommand (command) { + handleCommand(command) { switch (command[1]) { case '查看': this.showUser(command[0]) @@ -547,7 +554,7 @@ export default { } }, // 查看方法 - showUser (row) { + showUser(row) { this.historySeeForm = JSON.parse(JSON.stringify(row)) this.historySee = true this.$nextTick(() => { @@ -566,30 +573,30 @@ export default { }) }, // 分页事件 - pageChange (page) { + pageChange(page) { this.pageNo = page this.getTableBtn() }, - pageSizeChange (pageSize) { + pageSizeChange(pageSize) { this.pageSize = this.$store.getters.userInfo.configContent this.getTableBtn() }, - back () { + back() { this.$router.push({ name: 'NonConfomity' }) }, // 未符合项table selected事件 - handleRowChange (selection) { + handleRowChange(selection) { // }, // 分页查询未符合项数据 - getTableBtn () { + getTableBtn() { this.$http.get('sarStandUnqualified/sar-stand-unqualified/history', { ...this.historySearch, current: this.pageNo, size: this.pageSize, - },{ + }, { _this: this }, res => { console.log(res); @@ -616,12 +623,12 @@ export default { // }, e => { // }) // }, - treeClickSearch (treeId, treeNode) { + treeClickSearch(treeId, treeNode) { this.historySearch.responseUnit = treeNode.id this.historySearch.responseUnitShow = treeNode.name }, // 点击清空按钮事件 - clearAllSearch () { + clearAllSearch() { this.historySearch = { standNumOrName: '', quesType: '', @@ -633,7 +640,7 @@ export default { /** * @Description: 跳转流程 */ - processCenterClick (item) { + processCenterClick(item) { let routeUrl = this.$router.resolve({ name: 'ProcessDetail', query: { @@ -643,15 +650,16 @@ export default { window.open(routeUrl.href, '_blank') } }, - mounted () { + mounted() { this.getTableBtn() this.getOrgTreeSource() } }