- 比对
- 批量删除
+ 比对
+ 批量删除
@@ -120,8 +120,8 @@
- 查看
- 删除
+ 查看
+ 删除
- 上传
- 删除
@@ -106,13 +106,13 @@
- 获取文件
- 编辑
- 删除
+
+
+
+
+
+ placeholder="请选择"
+ filterable
+ >
+
+
+
标准/政策法规工程师
-
+
@@ -627,21 +641,21 @@ export default {
},
formRules: {
listType: [
- { required: true, message: "请选择清单类型", trigger: "blur" }
+ { required: true, message: "请选择清单类型", trigger: "change" }
],
listName: [
{ required: true, message: "请填写清单名称", trigger: "change" }
]
},
roleFormRules: {
- // dockUserName: [
- // { required: true, message: "请选择会签责任人", trigger: "blur" }
- // ],
+ dockUserName: [
+ { required: true, message: "请选择会签责任人", trigger: "change" }
+ ],
ministerUserName: [
- { required: true, message: "请选择修订责任人", trigger: "blur" }
+ { required: true, message: "请选择修订责任人", trigger: "change" }
],
directorUserName: [
- { required: true, message: "请选择审批责任人", trigger: "blur" }
+ { required: true, message: "请选择审批责任人", trigger: "change" }
]
},
dataList: [],//清单里的标准数据
@@ -842,7 +856,8 @@ export default {
},
//提交事件
handleSubmit() {
- let json = this.listForm;
+ // let json = this.listForm;
+ let json = Object.assign(this.listForm, this.roleForm)
json.zrUserId = this.$store.getters.userInfo.userId;
json.jlUserId = this.$store.getters.userInfo.userId;
// (如果是业务经理应该这样写 后续需要更改 例:json.jlUserId = this.roleForm.directorUser;)
@@ -958,7 +973,6 @@ export default {
res.data=[]
}
this.dataList = res.data;
- console.log(res.data);
this.listForm.dataList = res.data;
let formId = []
this.dataList.map(item => {
@@ -979,7 +993,6 @@ export default {
for (let i = 0; i < data.length; i++) {
this.selectedList.push(data[i].id);
}
- console.log(this.selectedList);
},
//标准表格选择框改变
selectStandChange(data) {
@@ -1024,18 +1037,18 @@ export default {
},
computed: {},
mounted() {
+ //从数据库中查询下拉框数据
+ this.$http.get("sys/dictype/getDicTypeListCode", {}, {
+ _this: this
+ }, res => {
+ this.countryOptions = res.data.COUNTRY;
+ });
this.selectionList();
this.selectSign();
this.getTree();
for (let i = 0; i < this.dataList.length; i++) {
this.standMap.set(this.dataList[i].id, this.dataList[i]);
}
- //从数据查询下拉框数据
- this.$http.get("sys/dictype/getDicTypeListCode", "", {
- _this: this
- }, res => {
- this.countryOptions = res.data.COUNTRY;
- });
}
};
diff --git a/src/pages/processCenter/pages/creatProcess/wfhxzg/step1.vue b/src/pages/processCenter/pages/creatProcess/wfhxzg/step1.vue
index 174ddb4bb..8e443909d 100644
--- a/src/pages/processCenter/pages/creatProcess/wfhxzg/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/wfhxzg/step1.vue
@@ -8,7 +8,7 @@
-
+
-
+
{
let matchId = true; // 标准号 筛选
let matchName = true; // 项目名称 筛选
diff --git a/src/pages/processCenter/pages/creatProcess/wfhxzg/step3.vue b/src/pages/processCenter/pages/creatProcess/wfhxzg/step3.vue
index 51d0aa452..a925e4f10 100644
--- a/src/pages/processCenter/pages/creatProcess/wfhxzg/step3.vue
+++ b/src/pages/processCenter/pages/creatProcess/wfhxzg/step3.vue
@@ -12,11 +12,11 @@
基础信息
-
+
@@ -24,13 +24,13 @@
-
+
+ @click="getTableByPage(nonSearch)">
查询
@@ -120,7 +120,7 @@
:rows="3"
resize="none"
placeholder="请输入意见"
- v-model="textarea">
+ v-model="commentText">
@@ -129,8 +129,10 @@
@@ -174,10 +176,10 @@ export default {
name: "wfhxzgStep3",
data() {
return {
- textarea: '', // 意见
+ commentText: '', // 意见
title: '', // 新增编辑抽屉标题
ListModel: false, // 新增编辑抽屉开关
- nonConformitySearch: {
+ nonSearch: {
standId: '', // 标准号/名称
productName: '', // 项目名称
responsibleUnit: '' // 责任部门
@@ -243,6 +245,25 @@ export default {
this.active = name
},
+ handleSubmitNo() {
+ if (this.commentText) {
+ var json = this.json
+ json.actionFlag = 1
+ json.commentText = this.commentText
+ this.$http.post('lawss/activiti/completeTask', {
+ json: JSON.stringify(json),
+ taskId: this.taskIds,
+ userId: this.$store.getters.userInfo.userId
+ }, {}, res => {
+ if (res.success) {
+ this.$message.success('驳回成功')
+ this.$router.push('/processCenter')
+ }
+ })
+ } else {
+ this.$message.warning('请输入反馈意见')
+ }
+ },
// 保存按钮
handleSave() {},
// 提交按钮
@@ -317,11 +338,32 @@ export default {
this.modalshowflag = false
},
//查询按钮
- getTableByPage() {
+ getTableByPage({ standId, productName, responsibleUnit }) {//多条件和模糊查询
+ this.realList = this.dataList.filter(item => {
+ let matchId = true; // 标准号 筛选
+ let matchName = true; // 项目名称 筛选
+ let matchUnit = true; // 部门 筛选
+
+ if (standId) {
+ const keysId = standId
+ .toUpperCase() // 转大写
+ .replace(' ', '') // 删掉空格
+ .split('') // 切割成 单个字
+ matchId = keysId.every(key => item.standId.toUpperCase().includes(key));
+ }
+ if (productName) {
+ matchName = item.productName === productName;
+ }
+ if (responsibleUnit) {
+ matchUnit = item.responsibleUnit === responsibleUnit;
+ }
+ return matchId && matchName && matchUnit;
+ })
+ this.dataList = this.realList
},
// 清空 查询条件
clearAllSearch (search = true) {
- this.nonConformitySearch = {
+ this.nonSearch = {
standId: '',
productName: '',
responsibleUnit: ''
diff --git a/src/pages/processCenter/pages/creatProcess/wfhxzg/step4.vue b/src/pages/processCenter/pages/creatProcess/wfhxzg/step4.vue
index 480176623..1054cb987 100644
--- a/src/pages/processCenter/pages/creatProcess/wfhxzg/step4.vue
+++ b/src/pages/processCenter/pages/creatProcess/wfhxzg/step4.vue
@@ -12,11 +12,11 @@
基础信息
-
+
@@ -24,13 +24,13 @@
-
+
+ @click="getTableByPage(nonSearch)">
查询
@@ -177,7 +177,7 @@ export default {
textarea: '', // 意见
title: '', // 新增编辑抽屉标题
ListModel: false, // 新增编辑抽屉开关
- nonConformitySearch: {
+ nonSearch: {
standId: '', // 标准号/名称
productName: '', // 项目名称
responsibleUnit: '' // 责任部门
@@ -323,16 +323,37 @@ export default {
},
//未整改项抽屉中的查询按钮
- getTableByPage() {
+ getTableByPage({ standId, productName, responsibleUnit }) {//多条件和模糊查询
+ this.realList = this.dataList.filter(item => {
+ let matchId = true; // 标准号 筛选
+ let matchName = true; // 项目名称 筛选
+ let matchUnit = true; // 部门 筛选
+
+ if (standId) {
+ const keysId = standId
+ .toUpperCase() // 转大写
+ .replace(' ', '') // 删掉空格
+ .split('') // 切割成 单个字
+ matchId = keysId.every(key => item.standId.toUpperCase().includes(key));
+ }
+ if (productName) {
+ matchName = item.productName === productName;
+ }
+ if (responsibleUnit) {
+ matchUnit = item.responsibleUnit === responsibleUnit;
+ }
+ return matchId && matchName && matchUnit;
+ })
+ this.dataList = this.realList
},
// 清空 查询条件
- clearAllSearch (search = true) {
- this.nonConformitySearch = {
+ clearAllSearch () {
+ this.nonSearch = {
standId: '',
productName: '',
responsibleUnit: ''
}
- this.getTableByPage()
+ this.getData()
},
// 分页事件
pageChange (page) {
diff --git a/src/pages/processCenter/pages/creatProcess/wfhxzg/step5.vue b/src/pages/processCenter/pages/creatProcess/wfhxzg/step5.vue
index a8b85cad1..9407ee22c 100644
--- a/src/pages/processCenter/pages/creatProcess/wfhxzg/step5.vue
+++ b/src/pages/processCenter/pages/creatProcess/wfhxzg/step5.vue
@@ -12,11 +12,11 @@
基础信息
-
+
@@ -24,13 +24,13 @@
-
+
+ @click="getTableByPage(nonSearch)">
查询
@@ -141,7 +141,7 @@ export default {
title: '', // 新增编辑抽屉标题
saveLoading: false,
ListModel: false, // 新增编辑抽屉开关
- nonConformitySearch: {
+ nonSearch: {
standId: '', // 标准号/名称
productName: '', // 项目名称
responsibleUnit: '' // 责任部门
@@ -231,16 +231,37 @@ export default {
}
},
//未整改项抽屉中的查询按钮
- getTableByPage() {
+ getTableByPage({ standId, productName, responsibleUnit }) {//多条件和模糊查询
+ this.realList = this.dataList.filter(item => {
+ let matchId = true; // 标准号 筛选
+ let matchName = true; // 项目名称 筛选
+ let matchUnit = true; // 部门 筛选
+
+ if (standId) {
+ const keysId = standId
+ .toUpperCase() // 转大写
+ .replace(' ', '') // 删掉空格
+ .split('') // 切割成 单个字
+ matchId = keysId.every(key => item.standId.toUpperCase().includes(key));
+ }
+ if (productName) {
+ matchName = item.productName === productName;
+ }
+ if (responsibleUnit) {
+ matchUnit = item.responsibleUnit === responsibleUnit;
+ }
+ return matchId && matchName && matchUnit;
+ })
+ this.dataList = this.realList
},
// 清空 查询条件
clearAllSearch (search = true) {
- this.nonConformitySearch = {
+ this.nonSearch = {
standId: '',
productName: '',
responsibleUnit: ''
}
- this.getTableByPage()
+ this.getData()
},
// 分页事件
pageChange (page) {
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step1.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step1.vue
index b89020428..4060b6cbf 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg/step1.vue
@@ -113,13 +113,13 @@
:model="roleForm"
:rules="roleFormRules"
class="label-input-form">
-
+
标准法规工程师
-
+
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step3.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step3.vue
index 6b19abc68..1062dcb4d 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg/step3.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg/step3.vue
@@ -328,7 +328,6 @@ export default {
implementer: ""
},
choiceForm: {}, //选择标准清单列表
- countryOptions: [], //适用区域下拉框数据
user1: "",
user2: "",
user3: "",
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step6.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step6.vue
index 8d126d1f9..b7ef99fb3 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg/step6.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg/step6.vue
@@ -428,17 +428,19 @@ export default {
* @description: 动态表单读取
*/
getFormFieldList (item) {
- console.log(item.dataList);
+ console.log(item);
this.$nextTick(() => {
this.listForm = JSON.parse(JSON.stringify(item))
this.listForm.prcNum = this.prcNum
this.listForm.prcName = this.prcName
this.listForm['id'] = item.id
- this.dataList = item.dataList
+ this.dataList = item.step3DTOS
+ this.listForm.standName = item.step3DTOS[0].standName
+ this.listForm.standNumber = item.step3DTOS[0].standNumber
+ this.listForm.qualityEngineer = item.step3DTOS[0].qualityEngineer
+ this.listForm.certifiedEngineer = item.step3DTOS[0].certifiedEngineer
})
},
-
-
//驳回事件
beforeBack () {
this.listForm.fenFlag = '2'
diff --git a/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue b/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue
index 5d55a3700..635db2de4 100644
--- a/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue
+++ b/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue
@@ -518,17 +518,17 @@ export default {
prcType: row.prcType
}
})
- // }else if(row.taskInfo === '标准法规部领导审核'){
- // this.$router.push({
- // name: 'xmpgStep6',
- // query: {
- // taskIds: row.taskIds,
- // prcId: row.prcId,
- // prcNum: row.prcNum,
- // prcName: row.prcName,
- // prcType: row.prcType
- // }
- // })
+ }else if(row.taskInfo === '汇总审核'){
+ this.$router.push({
+ name: 'xmpgStep6',
+ query: {
+ taskIds: row.taskIds,
+ prcId: row.prcId,
+ prcNum: row.prcNum,
+ prcName: row.prcName,
+ prcType: row.prcType
+ }
+ })
}else if(row.taskInfo === '标准法规部领导审核'){
this.$router.push({
name: 'xmpgStep7',
@@ -613,6 +613,39 @@ export default {
prcType: row.prcType
}
})
+ } else if (row.taskInfo === '4') {
+ this.$router.push({
+ name: 'bzjdStep4',
+ query: {
+ taskIds: row.taskIds,
+ prcId: row.prcId,
+ prcNum: row.prcNum,
+ prcName: row.prcName,
+ prcType: row.prcType
+ }
+ })
+ } else if (row.taskInfo === '5') {
+ this.$router.push({
+ name: 'bzjdStep5',
+ query: {
+ taskIds: row.taskIds,
+ prcId: row.prcId,
+ prcNum: row.prcNum,
+ prcName: row.prcName,
+ prcType: row.prcType
+ }
+ })
+ } else if (row.taskInfo === '6') {
+ this.$router.push({
+ name: 'bzjdStep6',
+ query: {
+ taskIds: row.taskIds,
+ prcId: row.prcId,
+ prcNum: row.prcNum,
+ prcName: row.prcName,
+ prcType: row.prcType
+ }
+ })
}
}
},
diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue
index 939b755e1..db8cb5e14 100644
--- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue
+++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue
@@ -208,6 +208,7 @@
@@ -218,22 +219,26 @@
@@ -241,6 +246,7 @@
show-overflow-tooltip
prop="textStatus"
width="120px"
+ align="center"
label="文本状态">
@@ -323,6 +329,7 @@
{{ scope.row.standSortShow }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}
@@ -331,31 +338,86 @@
+ align="center"
+ width="180px"
+ label="英文名称">
+
+
+
+
+ align="center"
+ width="210px"
+ label="标准实施日期">
+
+
+
+
+ width="180px"
+ align="center"
+ label="适用产品线">
+
+
+
+
+
+
@@ -1174,6 +1236,7 @@ export default {
this.$http.get('sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage', this.sarAccessInfoSearch, {
_this: this
}, res =>{
+ console.log(res.data.list);
this.sarAccessInfoSearchList = res.data.list
}, e => {
@@ -1634,6 +1697,7 @@ export default {
this.$http.get('sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById', {id: this.zqaId}, {
_this: this
}, res => {
+ console.log(res.data);
this.sarAccessInfoList = res.data
}, e => {
diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue
index b7a1cda74..644a3cbf6 100644
--- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue
+++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue
@@ -71,21 +71,21 @@
- 查询
+ 查询
- 清空
+ 清空
导出
- 高级查询
@@ -111,42 +111,98 @@
align="center">
- {{ scope.row.code }}
- {{ scope.row.code }}
+ {{ scope.row.standNumber }}
+ {{ scope.row.standNumber }}
+ prop="issueTime"
+ align="center"
+ width="180px"
+ label="英文名称">
+
+
+
+
+
+
+
+
+ prop="zccssrq"
+ width="210px"
+ align="center"
+ label="责任部门">
+ prop="textStatus"
+ width="180px"
+ align="center"
+ label="适用产品线">
+
+
+
+
+
+
import('@/pages/processCenter/pages/creatProcess/bzjd/step4.vue'),
+ meta: {
+ requireAuth: true,
+ title: '标准解读流程'
+ }
+ },
+ {
+ path: '/bzjdStep5',
+ name: 'bzjdStep5',
+ component: () => import('@/pages/processCenter/pages/creatProcess/bzjd/step5.vue'),
+ meta: {
+ requireAuth: true,
+ title: '标准解读流程'
+ }
+ },
+ {
+ path: '/bzjdStep6',
+ name: 'bzjdStep6',
+ component: () => import('@/pages/processCenter/pages/creatProcess/bzjd/step6.vue'),
+ meta: {
+ requireAuth: true,
+ title: '标准解读流程'
+ }
+ },
]
},
// 本地工具
diff --git a/src/sysConfig/index.js b/src/sysConfig/index.js
index 3337ef5b4..38c17d419 100644
--- a/src/sysConfig/index.js
+++ b/src/sysConfig/index.js
@@ -7,7 +7,7 @@
// const devIp = '39.98.140.126'
// const devInterfacePORT = '10005'
// const devIp = '192.168.10.248'
-const devIp = '192.168.10.250'
+const devIp = '192.168.10.252'
const devInterfacePORT = '9999'
// 云端端口号
const DEV_CLOUD_RES_INTERFACE_PORT = '7777'