diff --git a/src/components/navMenu/index.vue b/src/components/navMenu/index.vue
index 1779fb412..e05997f7f 100644
--- a/src/components/navMenu/index.vue
+++ b/src/components/navMenu/index.vue
@@ -387,13 +387,13 @@ export default {
// }
]
},
- // {
- // title: '搜索中心',
- // path: '/advancedSearch',
- // 'icon-class': 'search',
- // menuId: 'K9BAYUPZBC',
- // isChildren: true // 判断没有子菜单
- // },
+ {
+ title: '搜索中心',
+ path: '/advancedSearch',
+ 'icon-class': 'search',
+ menuId: 'K9BAYUPZBC',
+ isChildren: true // 判断没有子菜单
+ },
// {
// title: '标准比对库',
// path: '/standardComparisonLibrary',
diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue
index dbe623393..663aee630 100644
--- a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue
@@ -7,7 +7,7 @@
@@ -44,7 +44,8 @@
+ placeholder="请选择标准年份"
+ value-format="yyyy">
@@ -545,7 +546,7 @@
-
@@ -623,11 +624,12 @@
import ProcessHeader from '../../components/ProcessHeader'
import ProcessFooter from '../../components/ProcessFooter'
import ProcessTitle from '../../components/ProcessTitle'
+ import {saveTaskFirst} from "api/process";
export default {
name: "bzrkStep1",
data () {
return {
- textarea: '', // 意见
+ commentText: '', // 意见
title: '', // 新增编辑抽屉标题
ListModel: false, // 新增编辑抽屉开关
active: '1', // 默认显示
@@ -737,11 +739,36 @@
handleTabs(name) {
this.active = name
},
- handleSave() {},
+ //保存
+ handleSave() {
+ this.saveLoading = true
+ let _formData = new FormData()
+ // _formData.append('id', this.bpnId)
+ _formData.append('createUser', this.$store.getters.userInfo.userId)
+ _formData.append('createUserName', this.$store.getters.userInfo.uName)
+ _formData.append('prcType', this.$route.query.type)
+ _formData.append('json', JSON.stringify({
+ prcForm: this.prcForm,
+ sarAccessInfoList: this.sarAccessInfoList,
+ sarAccessInfoListADMIN: this.sarAccessInfoListADMIN,
+ bzqdForm: this.bzqdForm,
+ listInfo: this.listInfo,
+ id: this.id
+ }))
+ saveTaskFirst(_formData).then(res => {
+ this.saveLoading = false
+ this.$message.success('保存成功')
+ // this.$router.push('/processCenter')
+ // this.bpnId = res.result
+ }).catch(e => {
+ this.saveLoading = false
+ })
+ },
handleSubmit() {
var json = this.form
json.zrUserId = this.$store.getters.userInfo.userId
json.jlUserId = this.$store.getters.userInfo.userId
+ json.commentText = this.commentText
json.applyUpdUserId = this.$store.getters.userInfo.userId
json.prcCreateUser = this.$store.getters.userInfo.userId
json.prcCreateUserName = this.$store.getters.userInfo.account
@@ -756,8 +783,8 @@
}, {
_this: this
}, res => {
- console.log(res);
- if (res.ok) {
+ if (res.success) {
+ this.$message.success(res.message)
}
})
}
diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue
index 55f15899b..ada10c0d7 100644
--- a/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue
@@ -3,11 +3,12 @@
标准入库流程
- 申请人发起流程
+ 经理人审批
@@ -45,7 +46,8 @@
disabled
v-model="form.standYear"
type="year"
- placeholder="请选择标准年份">
+ placeholder="请选择标准年份"
+ value-format="yyyy">
@@ -528,7 +530,7 @@
:rows="3"
resize="none"
placeholder="请输入意见"
- v-model="textarea">
+ v-model="commentText">
@@ -581,6 +583,75 @@
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.createTime ? $moment(scope.row.createTime).format('YYYY-MM-DD') : '' }}
+
+
+
+
+ {{ scope.row.endTime ? $moment(scope.row.endTime).format('YYYY-MM-DD') : '' }}
+
+
+
+
+ {{scope.row.commentText}}
+
+
+
+
+ {{ scope.row.endTime ? '已完成' : '未完成'}}
+
+
+
+ 流程列表加载中
+
+
{
+ this.detailData = res
+ }, e => {})
+ },
getData() {
return new Promise((resolve, reject) => {
inboundLiaisonDetail({
- taskIds: this.$route.query.taskIds,
- pId: this.$route.query.prcId
+ taskIds: this.taskIds,
+ pId: this.pId
}).then(res => {
if (res) {
- console.log(res);
- resolve()
+ const processForm = JSON.parse(res.mesg)
+ this.getFormFieldList(processForm)
}
}).catch(e => {
})
})
},
+ /**
+ * @description: 动态表单读取
+ */
+ getFormFieldList (item) {
+ this.$nextTick(() => {
+ this.form = JSON.parse(JSON.stringify(item))
+ this.form.standType = this.form.standInData === '0' ? 'INLAND' : 'FOREIGN'
+ this.form.prcNum = this.prcNum
+ this.form.prcName = this.prcName
+ this.form['id'] = item.id
+ })
+ },
closeDrawer() {
this.ListModel = false
},
@@ -729,33 +843,49 @@
},
handleSave() {},
handleSubmit() {
- var json = this.form
- json.zrUserId = this.$store.getters.userInfo.userId
- json.jlUserId = this.$store.getters.userInfo.userId
- json.applyUpdUserId = this.$store.getters.userInfo.userId
- json.prcCreateUser = this.$store.getters.userInfo.userId
- json.prcCreateUserName = this.$store.getters.userInfo.account
- this.$http.get('lawss/activiti/startProcess', {type: '1'}, {
+ const json = JSON.stringify(this.form);
+ json.commentText = this.commentText
+ json.approvalOpinion = this.approvalOpinion
+ console.log(json)
+ this.$http.post('lawss/activiti/completeTask', {
+ taskIds: this.taskIds,
+ userId : this.userId,
+ json: json
+ }, {
_this: this
}, res => {
- if (res.ok) {
- this.$http.post('lawss/activiti/completeTask', {
- taskIds: res.data,
- userId : this.$store.getters.userInfo.userId,
- json: JSON.stringify(json)
- }, {
- _this: this
- }, res => {
- console.log(res);
- if (res.ok) {
- }
- })
+ console.log(res);
+ if (res.success) {
+ this.processCreateStand(json)
}
})
- }
+ },
+
+ /**
+ * @description: 流程入库
+ * @date: 2020-11-18 21:47:58
+ * @auth: chenxiaoxi
+ */
+ processCreateStand(json) {
+ const _formData = new FormData()
+ _formData.append('infoJson', json)
+ processCreateStand(_formData).then(res => {
+ if (res.result === '操作成功' || res.data === '入库成功') {
+ this.$message.success(res.data)
+ setTimeout(() => {
+ this.$router.push({
+ name: 'ProcessCenter'
+ })
+ }, 100)
+ } else {
+ this.$message.warning(res.message)
+ }
+ })
+ },
},
mounted () {
this.getData()
+ this.processTable()
this.$http.get('sys/dictype/getDicTypeListCode', '', {
_this: this
}, res => {
diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue
new file mode 100644
index 000000000..17a7e98ea
--- /dev/null
+++ b/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue
@@ -0,0 +1,843 @@
+
+
+
+
+ 标准入库流程
+ 经理人审批
+
+
+
+
+
+
+ 基础信息
+
+
+
+
+
+
+ 国内标准入库
+ 海外标准入库
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 是
+ 否
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 是
+ 否
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 实施日期
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 文本信息
+
+
+
+
+
+
+ {{ form.xgd }}
+
+
+ - -
+
+
+
+
+ {{ form.fbgbjbd }}
+
+
+ - -
+
+
+
+
+ {{ form.zbjbd }}
+
+
+ - -
+
+
+
+
+ {{ form.bpg }}
+
+
+ - -
+
+
+
+
+ {{ form.ssg }}
+
+
+ - -
+
+
+
+
+
+
+ {{ form.kwj }}
+
+
+ - -
+
+
+
+
+ {{ form.zqyjg }}
+
+
+ - -
+
+
+
+
+ {{ form.ca }}
+
+
+ - -
+
+
+
+
+ {{ form.jdwj }}
+
+
+ - -
+
+
+
+
+
+
+ 适用范围
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 关联信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ form.glwj }}
+
+
+ - -
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 流程发起人
+
+
+
+
+
+
+
+ 责任人
+
+
+
+
+
+
+
+ 责任人
+
+
+
+
+
+
+
+ 标准法规工程师
+
+
+
+
+
+
+
+ 责任对接人,标准法规部部门负责人
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step4.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step4.vue
new file mode 100644
index 000000000..67d7ba459
--- /dev/null
+++ b/src/pages/processCenter/pages/creatProcess/bzrk/step4.vue
@@ -0,0 +1,843 @@
+
+
+
+
+ 标准入库流程
+ 经理人审批
+
+
+
+
+
+
+ 基础信息
+
+
+
+
+
+
+ 国内标准入库
+ 海外标准入库
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 是
+ 否
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 是
+ 否
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 实施日期
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 文本信息
+
+
+
+
+
+
+ {{ form.xgd }}
+
+
+ - -
+
+
+
+
+ {{ form.fbgbjbd }}
+
+
+ - -
+
+
+
+
+ {{ form.zbjbd }}
+
+
+ - -
+
+
+
+
+ {{ form.bpg }}
+
+
+ - -
+
+
+
+
+ {{ form.ssg }}
+
+
+ - -
+
+
+
+
+
+
+ {{ form.kwj }}
+
+
+ - -
+
+
+
+
+ {{ form.zqyjg }}
+
+
+ - -
+
+
+
+
+ {{ form.ca }}
+
+
+ - -
+
+
+
+
+ {{ form.jdwj }}
+
+
+ - -
+
+
+
+
+
+
+ 适用范围
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 关联信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ form.glwj }}
+
+
+ - -
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 流程发起人
+
+
+
+
+
+
+
+ 责任人
+
+
+
+
+
+
+
+ 责任人
+
+
+
+
+
+
+
+ 标准法规工程师
+
+
+
+
+
+
+
+ 责任对接人,标准法规部部门负责人
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/processCenter/pages/processDetail/index.vue b/src/pages/processCenter/pages/processDetail/index.vue
new file mode 100644
index 000000000..60d5e7e98
--- /dev/null
+++ b/src/pages/processCenter/pages/processDetail/index.vue
@@ -0,0 +1,1138 @@
+
+
+
+
+
+
+
![]()
+
+
+
+ 导出
+ 查看流程数据
+ 调整处理人
+
+
+
+
+
+
+
+ 催办
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.createTime ? $moment(scope.row.createTime).format('YYYY-MM-DD') : '' }}
+
+
+
+
+ {{ scope.row.endTime ? $moment(scope.row.endTime).format('YYYY-MM-DD') : '' }}
+
+
+
+
+ {{ scope.row.comment === '0' ? '同意' : scope.row.comment === '1' ? '不同意' : scope.row.comment === '3' ? '退回' : scope.row.comment === '4' ? '确认' :
+ (scope.row.comment === '2' ? scope.row.commentText : '')}}
+
+
+
+
+ {{ scope.row.endTime ? '已完成' : '未完成'}}
+
+
+
+ 流程列表加载中
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/processCenter/pages/processList/tabComponents/alreadyProcess/index.vue b/src/pages/processCenter/pages/processList/tabComponents/alreadyProcess/index.vue
index 4cfd649b2..52aa76563 100644
--- a/src/pages/processCenter/pages/processList/tabComponents/alreadyProcess/index.vue
+++ b/src/pages/processCenter/pages/processList/tabComponents/alreadyProcess/index.vue
@@ -124,7 +124,7 @@
- 办理
+ 查看
@@ -167,7 +167,7 @@ export default {
methods: {
handleCommand (command) {
switch (command[1]) {
- case '办理':
+ case '查看':
this.dealWith(command[0])
break
}
@@ -179,6 +179,22 @@ export default {
this.queryProcess()
},
queryProcess () { // 查询待办流程
+ this.$http.postData('lawss/activiti/doneProcess', {
+ current: this.pageNo,
+ size: this.$store.getters.userInfo.configContent,
+ userId: this.$store.getters.userInfo.userId,
+ prcName: this.searchForm.prcName,
+ prcType: parseInt(this.searchForm.prcType) || '',
+ prcNum: this.searchForm.prcNum
+ }, {
+ loading: 'loading',
+ _this: this
+ }, res => {
+ console.log(res)
+ this.processList = res.list || []
+ this.total = res.count
+ }, e => {
+ })
},
selectProcessBtn () { // 搜索按钮
this.pageNo = 1
@@ -194,7 +210,14 @@ export default {
pageSizeChange (pageSize) { // 数量改变
this.queryProcess()
},
- dealWith (row) { // 办理
+ dealWith (row) { // 查看
+ this.$router.push({
+ name: 'ProcessDetail',
+ query: {
+ prcNum: row.prcNum,
+ tabsName: 'AlreadyProcess'
+ }
+ })
},
...mapMutations(['setProcess', 'setHandleInfo']),
...mapActions(['setMenu'])
diff --git a/src/pages/processCenter/pages/processList/tabComponents/alreadySend/index.vue b/src/pages/processCenter/pages/processList/tabComponents/alreadySend/index.vue
index f788dbf12..ec7c033cb 100644
--- a/src/pages/processCenter/pages/processList/tabComponents/alreadySend/index.vue
+++ b/src/pages/processCenter/pages/processList/tabComponents/alreadySend/index.vue
@@ -124,7 +124,7 @@