Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
fanlin
2021-07-24 10:46:42 +08:00
7 changed files with 1949 additions and 483 deletions
File diff suppressed because it is too large Load Diff
@@ -1012,7 +1012,7 @@ export default {
_formData.append('createUserName', this.$store.getters.userInfo.userName) _formData.append('createUserName', this.$store.getters.userInfo.userName)
_formData.append('prcType', '4') _formData.append('prcType', '4')
_formData.append('json', JSON.stringify({ _formData.append('json', JSON.stringify({
form: this.form, form: this.listForm,
roleForm: this.roleForm, roleForm: this.roleForm,
commentText: this.commentText commentText: this.commentText
})) }))
@@ -39,11 +39,13 @@
</el-form-item> </el-form-item>
<el-form-item label="附件" prop="modelName" class="add-form-item form-item-disabled"> <el-form-item label="附件" prop="modelName" class="add-form-item form-item-disabled">
<el-input <el-input
disabled
v-if="listForm.modelName == null || this.listForm.modelName== 'undefined' || this.listForm.modelName == '' " v-if="listForm.modelName == null || this.listForm.modelName== 'undefined' || this.listForm.modelName == '' "
placeholder="暂无数据" placeholder="暂无数据"
> >
</el-input> </el-input>
<el-input <el-input
disabled
v-else v-else
v-model="listForm.modelName" v-model="listForm.modelName"
placeholder="" placeholder=""
@@ -68,13 +70,6 @@
prop="code" prop="code"
width="180px" width="180px"
label="标准号"> label="标准号">
<template slot-scope="scope">
<a v-if="scope.row.standYear" class="table-jump"
@click="handlePreview(scope.row)">{{ scope.row.standSortShow }} {{ scope.row.standNumber
}}-{{ scope.row.standYear }}</a>
<a v-else @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standSortShow }}
{{ scope.row.standNumber }}</a>
</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="standName" prop="standName"
@@ -320,20 +315,6 @@ export default {
//保存事件 //保存事件
handleSave() { handleSave() {
},
handlePreview(item) {
if (item.id) {
let routeUrl = this.$router.resolve({
name: "OtherStandardDetails",
params: {
id: item.standId,
pageType: item.standType + "_STAND"
}
});
window.open(routeUrl.href, "_blank");
} else {
this.$message.warning("暂无关联的标准");
}
}, },
//提交事件 //提交事件
handleSubmit() { handleSubmit() {
@@ -383,6 +383,17 @@ export default {
handleTabs(name) { handleTabs(name) {
this.active = name; this.active = name;
}, },
// 点击查看
handlePreview(item) {
let routeUrl = this.$router.resolve({
name: "OtherStandardDetails",
params: {
id: item.id,
pageType: "INLAND_STAND"
}
});
window.open(routeUrl.href, "_blank");
},
//点击添加事件 //点击添加事件
addList() { addList() {
this.$http.get("sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage", "", { this.$http.get("sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage", "", {
@@ -37,14 +37,14 @@
clearable clearable
></el-input> ></el-input>
</el-form-item> </el-form-item>
<!-- <el-form-item label="适用区域" prop="applyRegion" class="add-form-item form-item-disabled">--> <!-- <el-form-item label="适用区域" prop="applyRegion" class="add-form-item form-item-disabled">-->
<!-- <el-input--> <!-- <el-input-->
<!-- disabled--> <!-- disabled-->
<!-- v-model="listForm.applyRegion"--> <!-- v-model="listForm.applyRegion"-->
<!-- placeholder="请输入适用区域"--> <!-- placeholder="请输入适用区域"-->
<!-- clearable--> <!-- clearable-->
<!-- ></el-input>--> <!-- ></el-input>-->
<!-- </el-form-item>--> <!-- </el-form-item>-->
<el-form-item label="清单说明" prop="descriptionList" class="add-form-item form-item-disabled"> <el-form-item label="清单说明" prop="descriptionList" class="add-form-item form-item-disabled">
<el-input <el-input
disabled disabled
@@ -55,12 +55,14 @@
</el-form-item> </el-form-item>
<el-form-item label="附件" prop="modelName" class="add-form-item form-item-disabled"> <el-form-item label="附件" prop="modelName" class="add-form-item form-item-disabled">
<el-input <el-input
disabled
v-if="listForm.modelName == null || this.listForm.modelName== 'undefined' || this.listForm.modelName == '' " v-if="listForm.modelName == null || this.listForm.modelName== 'undefined' || this.listForm.modelName == '' "
v-model="listForm.modelName" v-model="listForm.modelName"
placeholder="暂无数据" placeholder="暂无数据"
> >
</el-input> </el-input>
<el-input <el-input
disabled
v-else v-else
v-model="listForm.modelName" v-model="listForm.modelName"
placeholder="" placeholder=""
@@ -85,10 +87,6 @@
fixed="left" fixed="left"
width="180px" width="180px"
label="标准号"> label="标准号">
<template slot-scope="scope">
<a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSortShow }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a>
<a v-else @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standSortShow }} {{ scope.row.standNumber }}</a>
</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="standName" prop="standName"
@@ -120,10 +118,10 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> </div>
<div > <div>
<el-collapse accordion> <el-collapse accordion>
<el-collapse-item title="意见填写"> <el-collapse-item title="意见填写">
<div style="margin: 10px 0;" > <div style="margin: 10px 0;">
<el-input <el-input
type="textarea" type="textarea"
:rows="3" :rows="3"
@@ -218,12 +216,12 @@
</template> </template>
<script> <script>
import ProcessHeader from "../../components/ProcessHeader"; import ProcessHeader from "../../components/ProcessHeader";
import ProcessFooter from "../../components/ProcessFooter"; import ProcessFooter from "../../components/ProcessFooter";
import ProcessTitle from "../../components/ProcessTitle"; import ProcessTitle from "../../components/ProcessTitle";
import { inboundLiaisonDetail } from "api/process"; import {inboundLiaisonDetail} from "api/process";
export default { export default {
name: "bzqdfbStep4", name: "bzqdfbStep4",
components: { components: {
ProcessHeader, ProcessHeader,
@@ -272,7 +270,7 @@ export default {
}, },
choiceForm: {}, //选择标准清单列表 choiceForm: {}, //选择标准清单列表
// countryOptions: [], //适用区域下拉框数据 // countryOptions: [], //适用区域下拉框数据
userId:this.$store.getters.userInfo.userId, userId: this.$store.getters.userInfo.userId,
taskIds: this.$route.query.taskIds, taskIds: this.$route.query.taskIds,
pId: this.$route.query.prcId, pId: this.$route.query.prcId,
signFlag: "1", //是否会签 1为会签 2为不会签 signFlag: "1", //是否会签 1为会签 2为不会签
@@ -285,7 +283,7 @@ export default {
}; };
}, },
methods: { methods: {
processTable () { processTable() {
this.$http.get('lawss/activiti/get_list_by_instance', { this.$http.get('lawss/activiti/get_list_by_instance', {
prcNum: this.$route.query.prcNum, prcNum: this.$route.query.prcNum,
sortWord: this.shunxu ? this.paixu : '', sortWord: this.shunxu ? this.paixu : '',
@@ -295,7 +293,8 @@ export default {
_this: this _this: this
}, res => { }, res => {
this.detailData = res this.detailData = res
}, e => {}) }, e => {
})
}, },
//tab发生变化 //tab发生变化
handleTabs(name) { handleTabs(name) {
@@ -325,7 +324,7 @@ export default {
/** /**
* @description: 动态表单读取 * @description: 动态表单读取
*/ */
getFormFieldList (item) { getFormFieldList(item) {
this.$nextTick(() => { this.$nextTick(() => {
this.listForm = JSON.parse(JSON.stringify(item)) this.listForm = JSON.parse(JSON.stringify(item))
this.listForm.prcNum = this.prcNum this.listForm.prcNum = this.prcNum
@@ -339,7 +338,7 @@ export default {
}) })
}, },
//驳回事件 //驳回事件
beforeBack () { beforeBack() {
this.listForm.approvalOpinion = '1' this.listForm.approvalOpinion = '1'
this.handleSubmit() this.handleSubmit()
}, },
@@ -391,7 +390,7 @@ export default {
} }
}, },
computed: { computed: {
listNoDataText () { listNoDataText() {
return this.processType === 1 ? '暂无待办流程' : '暂无已办流程' return this.processType === 1 ? '暂无待办流程' : '暂无已办流程'
} }
}, },
@@ -399,13 +398,13 @@ export default {
this.getData() this.getData()
this.processTable() this.processTable()
}, },
}; };
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
@import '~@/assets/styles/style'; @import '~@/assets/styles/style';
.bzqdfb-step4 { .bzqdfb-step4 {
/deep/ .el-drawer__container { /deep/ .el-drawer__container {
.prc-content-border { .prc-content-border {
border: none; border: none;
@@ -475,6 +474,6 @@ export default {
.demo-drawer-content { .demo-drawer-content {
margin-top: 10px; margin-top: 10px;
} }
} }
</style> </style>
@@ -226,6 +226,16 @@ export default {
} }
}) })
break break
case '4':
this.$router.push({
name: 'bzqdfbStep1-1',
query: {
type: '4',
processName: '标准清单发布更新流程',
bpnId: id
}
})
break
} }
}, },
...mapMutations(['setProcess', 'setHandleInfo']), ...mapMutations(['setProcess', 'setHandleInfo']),
+9
View File
@@ -249,6 +249,15 @@ const routes = [
title: '标准清单发布/更新流程' title: '标准清单发布/更新流程'
} }
}, },
{
path: '/bzqdfbStep1-1',
name: 'bzqdfbStep1-1',
component: () => import('@/pages/processCenter/pages/creatProcess/bzqdfb/step1-1.vue'),
meta: {
requireAuth: true,
title: '标准清单发布/更新流程'
}
},
{ {
path: '/bzqdfbStep2', path: '/bzqdfbStep2',
name: 'bzqdfbStep2', name: 'bzqdfbStep2',