feat: There is no way the,Laws

This commit is contained in:
super_liu
2021-11-02 18:00:06 +08:00
parent 873e7a8781
commit 98485a982c
6 changed files with 2661 additions and 301 deletions
@@ -41,25 +41,6 @@
clearable clearable
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="发文日期" prop="issueTime" class="add-form-item form-item-disabled">
<el-date-picker
v-model="form.issueTime"
type="date"
placeholder="请选择发文日期"
value-format="yyyy-MM-dd">
</el-date-picker>
</el-form-item>
<el-form-item label="征集意见周期" prop="commentCycleDate" class="add-form-item form-item-disabled">
<el-date-picker
v-model="commentCycleDate"
type="datetimerange"
:picker-options="pickerOptions"
range-separator=""
start-placeholder="开始日期"
end-placeholder="结束日期"
value-format="yyyy-MM-dd">
</el-date-picker>
</el-form-item>
<el-form-item label="文本状态" prop="lawsTextState" class="add-form-item form-item-disabled"> <el-form-item label="文本状态" prop="lawsTextState" class="add-form-item form-item-disabled">
<el-select :popper-append-to-body="false" v-model="form.lawsTextState" placeholder="请选择文本状态"> <el-select :popper-append-to-body="false" v-model="form.lawsTextState" placeholder="请选择文本状态">
<el-option <el-option
@@ -71,7 +52,26 @@
></el-option> ></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="适用区域" prop="lawsSyqy" class="add-form-item form-item-disabled"> <el-form-item v-show="verifySarStandard" label="发文日期" prop="issueTime" class="add-form-item form-item-disabled">
<el-date-picker
v-model="form.issueTime"
type="date"
placeholder="请选择发文日期"
value-format="yyyy-MM-dd">
</el-date-picker>
</el-form-item>
<el-form-item v-show="verifySarStandard" label="征集意见周期" prop="commentCycleDate" class="add-form-item form-item-disabled">
<el-date-picker
v-model="commentCycleDate"
type="datetimerange"
:picker-options="pickerOptions"
range-separator=""
start-placeholder="开始日期"
end-placeholder="结束日期"
value-format="yyyy-MM-dd">
</el-date-picker>
</el-form-item>
<el-form-item v-show="verifySarStandard" label="适用区域" prop="lawsSyqy" class="add-form-item form-item-disabled">
<el-select :popper-append-to-body="false" v-model="form.lawsSyqy" multiple placeholder="请选择适用区域"> <el-select :popper-append-to-body="false" v-model="form.lawsSyqy" multiple placeholder="请选择适用区域">
<el-option <el-option
v-for="item in lawsSyqyOptions" v-for="item in lawsSyqyOptions"
@@ -82,21 +82,21 @@
></el-option> ></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="政策文号" prop="lawsNo" class="add-form-item form-item-disabled"> <el-form-item v-show="verifySarStandard" label="政策文号" prop="lawsNo" class="add-form-item form-item-disabled">
<el-input <el-input
v-model.number="form.lawsNo" v-model.number="form.lawsNo"
placeholder="请输入政策文号" placeholder="请输入政策文号"
clearable clearable
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="信息简报" prop="lawsBulletin" class="add-form-item form-item-disabled"> <el-form-item v-show="verifySarStandard" label="信息简报" prop="lawsBulletin" class="add-form-item form-item-disabled">
<el-input <el-input
v-model.number="form.lawsBulletin" v-model.number="form.lawsBulletin"
placeholder="请输入信息简报" placeholder="请输入信息简报"
clearable clearable
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="备注" prop="lawsRemark" class="add-form-item form-item-disabled"> <el-form-item v-show="verifySarStandard" label="备注" prop="lawsRemark" class="add-form-item form-item-disabled">
<el-input <el-input
v-model.number="form.lawsRemark" v-model.number="form.lawsRemark"
placeholder="请输入备注" placeholder="请输入备注"
@@ -130,28 +130,28 @@
clearable clearable
></el-input> ></el-input>
</el-form-item> </el-form-item>
<!-- <el-form-item class="add-form-item form-item-disabled" style="margin-left: -210px">--> <el-form-item class="add-form-item form-item-disabled" style="margin-left: -210px">
<!-- <el-button--> <el-button
<!-- type="primary"--> type="primary"
<!-- :loading="loadSarStandard"--> :loading="loadSarStandard"
<!-- @click="handleSearchStandard">--> @click="handleSearchStandard">
<!-- 根据类别编号中英文名称查询--> 根据编号名称文本状态查询
<!-- </el-button>--> </el-button>
<!-- </el-form-item>--> </el-form-item>
<el-form-item label="发文单位" prop="issueCompany" class="add-form-item form-item-disabled"> <el-form-item v-show="verifySarStandard" label="发文单位" prop="issueCompany" class="add-form-item form-item-disabled">
<el-input <el-input
v-model="form.issueCompany" v-model="form.issueCompany"
placeholder="请输入发文单位" placeholder="请输入发文单位"
clearable clearable
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="是否纳入认证清单" prop="isRelateAccess" class="add-form-item form-item-disabled"> <el-form-item v-show="verifySarStandard" label="是否纳入认证清单" prop="isRelateAccess" class="add-form-item form-item-disabled">
<el-radio-group v-model="form.isRelateAccess"> <el-radio-group v-model="form.isRelateAccess">
<el-radio label="1"></el-radio> <el-radio label="1"></el-radio>
<el-radio label="2"></el-radio> <el-radio label="2"></el-radio>
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
<el-form-item label="年度" prop="lawsYear" class="add-form-item form-item-disabled"> <el-form-item v-show="verifySarStandard" label="年度" prop="lawsYear" class="add-form-item form-item-disabled">
<el-select v-model="form.lawsYear" filterable clearable> <el-select v-model="form.lawsYear" filterable clearable>
<el-option <el-option
v-for="item in lawsYearOptions" v-for="item in lawsYearOptions"
@@ -162,7 +162,7 @@
></el-option> ></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="适用车型" prop="lawsSyqy" class="add-form-item form-item-disabled"> <el-form-item v-show="verifySarStandard" label="适用车型" prop="lawsSyqy" class="add-form-item form-item-disabled">
<el-select :popper-append-to-body="false" v-model="form.lawsSyqy" multiple placeholder="请选择适用车型"> <el-select :popper-append-to-body="false" v-model="form.lawsSyqy" multiple placeholder="请选择适用车型">
<el-option <el-option
v-for="item in lawsSyqyOptions" v-for="item in lawsSyqyOptions"
@@ -173,14 +173,14 @@
></el-option> ></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="福田转发通知文号" prop="lawsNotisyncNum" class="add-form-item form-item-disabled"> <el-form-item v-show="verifySarStandard" label="福田转发通知文号" prop="lawsNotisyncNum" class="add-form-item form-item-disabled">
<el-input <el-input
v-model="form.lawsNotisyncNum" v-model="form.lawsNotisyncNum"
placeholder="请输入福田转发通知文号" placeholder="请输入福田转发通知文号"
clearable clearable
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="标签" prop="lawsLabel" class="add-form-item form-item-disabled"> <el-form-item v-show="verifySarStandard" label="标签" prop="lawsLabel" class="add-form-item form-item-disabled">
<el-select :popper-append-to-body="false" v-model="form.lawsLabel" multiple placeholder="请选择标签"> <el-select :popper-append-to-body="false" v-model="form.lawsLabel" multiple placeholder="请选择标签">
<el-option <el-option
v-for="item in lawsLabelOptions" v-for="item in lawsLabelOptions"
@@ -194,10 +194,10 @@
</el-col> </el-col>
</el-row> </el-row>
</div> </div>
<ProcessTitle > <ProcessTitle v-show="verifySarStandard">
<template slot="title">实施日期</template> <template slot="title">实施日期</template>
</ProcessTitle> </ProcessTitle>
<div class="prc-content-border" > <div class="prc-content-border" v-show="verifySarStandard" >
<el-row :gutter="24"> <el-row :gutter="24">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="实施日期(标准文本)" prop="SSRQLAWS" class="add-form-item form-item-disabled"> <el-form-item label="实施日期(标准文本)" prop="SSRQLAWS" class="add-form-item form-item-disabled">
@@ -253,10 +253,10 @@
</el-col> </el-col>
</el-row> </el-row>
</div> </div>
<ProcessTitle > <ProcessTitle v-show="verifySarStandard">
<template slot="title">文本信息</template> <template slot="title">文本信息</template>
</ProcessTitle> </ProcessTitle>
<div class="prc-content-border" > <div class="prc-content-border" v-show="verifySarStandard">
<el-row :gutter="24"> <el-row :gutter="24">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="政策文本" prop="ZCWBLAWSName" class="add-form-item form-item-disabled"> <el-form-item label="政策文本" prop="ZCWBLAWSName" class="add-form-item form-item-disabled">
@@ -354,10 +354,10 @@
</el-col> </el-col>
</el-row> </el-row>
</div> </div>
<ProcessTitle > <ProcessTitle v-show="verifySarStandard">
<template slot="title">适用范围</template> <template slot="title">适用范围</template>
</ProcessTitle> </ProcessTitle>
<div class="prc-content-border" > <div class="prc-content-border" v-show="verifySarStandard">
<el-row :gutter="24"> <el-row :gutter="24">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="发布机构" prop="FBJGLAWS" class="add-form-item form-item-disabled"> <el-form-item label="发布机构" prop="FBJGLAWS" class="add-form-item form-item-disabled">
@@ -448,10 +448,10 @@
</el-col> </el-col>
</el-row> </el-row>
</div> </div>
<ProcessTitle> <ProcessTitle v-show="verifySarStandard">
<template slot="title">关联信息</template> <template slot="title">关联信息</template>
</ProcessTitle> </ProcessTitle>
<div class="prc-content-border" > <div class="prc-content-border" v-show="verifySarStandard">
<el-row :gutter="24"> <el-row :gutter="24">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="代替文件号" prop="DTWJHLAWS" class="add-form-item form-item-disabled"> <el-form-item label="代替文件号" prop="DTWJHLAWS" class="add-form-item form-item-disabled">
@@ -583,7 +583,7 @@
</el-timeline> </el-timeline>
</div> </div>
</el-form> </el-form>
<el-collapse v-model="activeName" accordion> <el-collapse v-show="verifySarStandard" v-model="activeName" accordion>
<el-collapse-item title="回执说明" name="1"> <el-collapse-item title="回执说明" name="1">
<div style="margin: 10px 0;"> <div style="margin: 10px 0;">
<el-input <el-input
@@ -599,7 +599,7 @@
</div> </div>
<!-- 保存||提交--> <!-- 保存||提交-->
<ProcessFooter <ProcessFooter
v-show="verifySarStandard"
show-save show-save
show-submit show-submit
:submitLoading="isSubmit" :submitLoading="isSubmit"
@@ -787,45 +787,38 @@
<div class="content"> <div class="content">
<div class="standard-table-search"> <div class="standard-table-search">
<el-form :model="standardSearchForm" inline class="label-input-form search-area"> <el-form :model="standardSearchForm" inline class="label-input-form search-area">
<el-formItem label="标准来源" style="margin-right:-20px" prop="standType" class="search-item" > <el-form-item label="政策编号" style="margin-right:-20px" prop="lawsNumber" class="search-item" >
<el-select <el-input
:popper-append-to-body="false" v-model="standardSearchForm.lawsNumber"
v-model="standardSearchForm.standType" clearable placeholder="根据编号查找"
placeholder="请选择标准来源"> :maxlength="100"
<el-option value="INLAND" label="国内标准库"></el-option> @keyup.enter.native="handleSearchStandard"/>
<el-option value="FOREIGN" label="海外标准库"></el-option> </el-form-item>
</el-select> <el-form-item label="中文名称" style="margin-right:-20px" prop="lawsName" class="search-item" >
</el-formItem> <el-input
<el-form-item label="标准类别" style="margin-right:-20px" prop="standSort" class="search-item" > v-model="standardSearchForm.lawsName"
<el-select :popper-append-to-body="false" v-model="standardSearchForm.standSort" placeholder="请选择标准类别" filterable clearable> placeholder="请输入中文名称"
clearable
:maxlength="100"></el-input>
</el-form-item>
<el-form-item label="英文名称" style="margin-right:-20px" prop="lawsEnName" class="search-item" >
<el-input
v-model="standardSearchForm.lawsEnName"
placeholder="请输入英文名称"
clearable
:maxlength="100"></el-input>
</el-form-item>
<el-formItem label="文本状态" prop="lawsTextState" class="search-item">
<el-select v-model="standardSearchForm.lawsTextState" filterable clearable>
<el-option <el-option
v-for="item in standSortOptions" v-for="item in lawsTextStateOptions"
placeholder="请选择"
:key="item.value" :key="item.value"
:value="item.value" :value="item.value"
:label="item.label" :label="item.label"
></el-option> ></el-option>
</el-select> </el-select>
</el-form-item> </el-formItem>
<el-form-item label="标准编号" style="margin-right:-20px" prop="standNumber" class="search-item" >
<el-input
v-model="standardSearchForm.standNumber"
placeholder="请输入标准编号"
clearable
:maxlength="100"></el-input>
</el-form-item>
<el-form-item label="中文名称" style="margin-right:-20px" prop="standName" class="search-item" >
<el-input v-model="standardSearchForm.standName"
placeholder="请输入标准名称"
clearable
:maxlength="500"></el-input>
</el-form-item>
<el-form-item label="英文名称" style="margin-right:-20px" prop="standEnName" class="search-item">
<el-input
v-model="standardSearchForm.standEnName"
maxlength="1000"
placeholder="请输入英文名称"
clearable></el-input>
</el-form-item>
<el-form-item> <el-form-item>
<el-button <el-button
icon="el-icon-search" icon="el-icon-search"
@@ -865,18 +858,21 @@
align="center" align="center"
></el-table-column> ></el-table-column>
<el-table-column <el-table-column
label="标准号" label="政策编号"
align="center" align="center"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<a v-if="scope.row.standYear" @click="handlePreview(scope.row)"> <a @click="handlePreview(scope.row)">{{ scope.row.lawsNumber }}</a>
{{ scope.row.standSort }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a>
<a v-else @click="handlePreview(scope.row)">{{ scope.row.standSort }} {{ scope.row.standNumber }}</a>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="standName" prop="lawsName"
label="标准名称" label="中文名称"
align="center">
</el-table-column>
<el-table-column
prop="lawsEnName"
label="英文名称"
align="center"> align="center">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
@@ -884,7 +880,7 @@
label="文本状态" label="文本状态"
align="center"> align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ textStatusMap[scope.row.textStatus] }}</span> <span>{{ scope.row.standStatusShow }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" width="80"> <el-table-column label="操作" align="center" width="80">
@@ -1051,6 +1047,9 @@
}, },
// 代替标准号 // 代替标准号
replaceLawsNumForm: { replaceLawsNumForm: {
lawsNumber:'',
numberName:'',
lawsTextState:'',
dataSource: '', dataSource: '',
standNumber: '', // 标准编号 standNumber: '', // 标准编号
page: 1, page: 1,
@@ -1402,132 +1401,6 @@
filterText(val) { filterText(val) {
this.$refs.tree.filter(val); this.$refs.tree.filter(val);
}, },
'form.standInData': {
handler: function(val) {
this.verifySarStandard = false
this.standardSearchForm.standType = this.form.standInData === '0' ? 'INLAND' : 'FOREIGN'
//切换清空表单
this.form= {
// 基础信息
country:[],
textStatus: '', // 文本状态
standYear: '', // 标准年份
standInData: val, // 标准类型
standSort: '', // 标准类别
standNumber: '', // 标准编号
standNature: '', // 标准性质
standEnName: '', // 英文名称
standName: '', // 中文名称
signFlag: '1', // 是否需要会签
issueTime: '', // 发布时间
isRelateAccess: '', // 是否纳入认证清单
standSystem: '',// 标准体系
standSystemName: '',// 标准体系名称
gxhbq: '', // 标签
// 实施日期
ssrq: '', // 实施日期(标准文本)
xcxssrq: '', // 新车型实施日期(标准文本)
zccssrq: '', // 在产车实施日期(标准文本)
ssrqgj: '', // 实施日期(国际)
xcxssrqgj: '', // 新车型实施日期(国际)
zccssrqgj: '', // 在产车实施日期(国际)
// 文本信息
ca: '', // 草案
FBGBJBD: '', // 发布稿
xgd: '', // 修改单
bpg: '', // 报批稿
ssg: '', // 送审稿
zqyjg: '', // 征求意见稿
jdwj: '', // 解读文件
zbjbd: '', // 增补件
kwj: '', // 勘 误件
caName: '', // 草案
fbgbjbdName: '', // 发布稿
xgdName: '', // 修改单
bpgName: '', // 报批稿
ssgName: '', // 送审稿
zqyjgName: '', // 征求意见稿
jdwjName: '', // 解读文件
zbjbdName: '', // 增补件
kwjName: '', // 勘误件
glwjName: '', // 关联文件
// 适用范围
txlb: '', // 体系类别
gkdw: '', // 归口管理部门
qcdw: [], // 起草单位
wssmr: [], // 我司署名人
cysd: '', // 我司参与深度
cllx: [], // 适用车型
nylx: [],// 能源类型
sycpx: [],// 适用产品线
syrz: [], // 适用认证
zrbm: [], // 责任部门
zrgcs: [], // 责任工程师
cycvppsbm: '', // 关联模块--乘用车VPPS编码
cycvppscn: '', // 关联模块--乘用车vpps中文名称
kccvppsbm: '', // 关联模块--卡车VPPS编码
kccvppscn: '', // 关联模块--卡车vpps中文名称
dybxh: '', // 模块结构单元变型号
dymc: '', // 模块结构单元名称
// 关联信息
dtbjh: '', // 代替标准号
cbbh: '', // 采标编号
cbcd: '', // 采标程度
yybj: '', // 引用标准
bfbdtbzh: '', // 部分代替标准号
byybj: '', // 被引用标准
glwj: '', // 关联文件
xglc: '', // 相关流程
chjl: '', // 参会记录
}
},
},
'standardSearchForm.standType': {
handler: function() {
this.form.standInData = this.standardSearchForm.standType === 'INLAND' ? '0' : '1'
},
},
'form.standNumber': {
handler: function() {
this.standardSearchForm.standNumber = this.form.standNumber
},
},
'standardSearchForm.standNumber': {
handler: function() {
this.form.standNumber = this.standardSearchForm.standNumber
},
},
'form.standSort': {
handler: function() {
this.standardSearchForm.standSort = this.form.standSort
},
},
'standardSearchForm.standSort': {
handler: function() {
this.form.standSort = this.standardSearchForm.standSort
},
},
'form.standName': {
handler: function() {
this.standardSearchForm.standName = this.form.standName
},
},
'standardSearchForm.standName': {
handler: function() {
this.form.standName = this.standardSearchForm.standName
},
},
'form.standEnName': {
handler: function() {
this.standardSearchForm.standEnName = this.form.standEnName
},
},
'standardSearchForm.standEnName': {
handler: function() {
this.form.standEnName = this.standardSearchForm.standEnName
},
},
}, },
methods: { methods: {
// choiceZRRS () { // choiceZRRS () {
@@ -1586,8 +1459,6 @@
clearFormData(data){ clearFormData(data){
this.form = { this.form = {
// 基础信息 // 基础信息
textStatus: '', // 文本状态
standYear: '', // 标准年份
standInData: data.standInData ? data.standInData : '0', // 标准类型 standInData: data.standInData ? data.standInData : '0', // 标准类型
standSort: data.standSort ? data.standSort : '', // 标准类别 standSort: data.standSort ? data.standSort : '', // 标准类别
standNumber: data.standNumber ? data.standNumber : '', // 标准编号 standNumber: data.standNumber ? data.standNumber : '', // 标准编号
@@ -1595,65 +1466,62 @@
standEnName: data.standEnName ? data.standEnName : '', // 英文名称 standEnName: data.standEnName ? data.standEnName : '', // 英文名称
standName: data.standName ? data.standName : '', // 中文名称 standName: data.standName ? data.standName : '', // 中文名称
signFlag: data.signFlag ? data.signFlag : '1', // 是否需要会签 signFlag: data.signFlag ? data.signFlag : '1', // 是否需要会签
issueTime: '', // 发布时间 // 基础信息
isRelateAccess: '', // 是否纳入认证清单 lawsType: '',
standSystem: '',// 标准体系 lawsNumber: data.lawsNumber,
standSystemName: '',// 标准体系名称 lawsName: data.lawsName,
gxhbq: '', // 标签 lawsEnName: data.lawsEnName,
lawsNo: '',
issueTime: '',
issueCompany: '',
commentCycleStart: '',
commentCycleEnd: '',
lawsTextState: data.lawsTextState,
lawsSyqy: '',
lawsSycx: '',
isRelateAccess: '',
lawsYear: '',
lawsNotisyncNum: '',
lawsBulletin: '',
lawsLabel: '',
lawsRemark: '',
// 实施日期 // 实施日期
ssrq: '', // 实施日期(标准文本) SSRQLAWS:'',
xcxssrq: '', // 新车型实施日期(标准文本) XCXSSRQLAWS:'',
zccssrq: '', // 在产车实施日期(标准文本) ZCXSSRQLAWS:'',
ssrqgj: '', // 实施日期(国际)
xcxssrqgj: '', // 新车型实施日期(国际)
zccssrqgj: '', // 在产车实施日期(国际)
// 文本信息 // 文本信息
ca: '', // 草案 ZCWBLAWS:'',
fbgbjbd: '', // 发布稿 GCWBLAWS:'',
xgd: '', // 修改单 JDWJLAWS:'',
bpg: '', // 报批稿 ZCWBLAWSName:'',
ssg: '', // 送审稿 GCWBLAWSName:'',
zqyjg: '', // 征求意见稿 JDWJLAWSName:'',
jdwj: '', // 解读文件 FBGBUSS:'',
zbjbd: '', // 增补件 BZSMBUSS:'',
kwj: '', // 勘误件 LSBBBUSS:'',
caName: '', // 草案 QTWJBUSS:'',
fbgbjbdName: '', // 发布稿
xgdName: '', // 修改单
bpgName: '', // 报批稿
ssgName: '', // 送审稿
zqyjgName: '', // 征求意见稿
jdwjName: '', // 解读文件
zbjbdName: '', // 增补件
kwjName: '', // 勘误件
glwjName: '', // 关联文件
// 适用范围 // 适用范围
txlb: '', // 体系类别 FBJGLAWS: '',
gkdw: '', // 归口管理部门 CYSDLAWS: '',
qcdw: [], // 起草单位 TGRLAWS: '',
wssmr: [], // 我司署名人 TGDWLAWS: '',
cysd: '', // 我司参与深度 NYLXLAWS: '',
cllx: [], // 适用车型 YYRZLAWS: '',
nylx: [],// 能源类型 ZRBMLAWS: '',
sycpx: [],// 适用产品线 ZRGCSLAWS: '',
syrz: [], // 适用认证
zrbm: [], // 责任部门
zrgcs: [], // 责任工程师
cycvppsbm: '', // 关联模块--乘用车VPPS编码
cycvppscn: '', // 关联模块--乘用车vpps中文名称
kccvppsbm: '', // 关联模块--卡车VPPS编码
kccvppscn: '', // 关联模块--卡车vpps中文名称
dybxh: '', // 模块结构单元变型号
dymc: '', // 模块结构单元名称
// 关联信息 // 关联信息
dtbjh: '', // 代替标准号 DTQBBHBUSS:'',
cbbh: '', // 采标编号 BDTQBBHBUSS:'',
cbcd: '', // 采标程度 XGJLBUSS:'',
yybj: '', // 引用标准 GLWJBUSS:'',
byybj: '', // 被引用标准 XCSJBUSS:'',
glwj: '', // 关联文件 DTWJHLAWS: '',
xglc: '', // 相关流程 BDTWJHLAWS: '',
chjl: '', // 参会记录 YYBZZCLAWS: '',
XGLC: '',
CHJLLAWS: '',
GLWJLAWS: '',
GLWJLAWSName: '',
} // 标准信息 } // 标准信息
}, },
handleProcessStandardNext(status) { handleProcessStandardNext(status) {
@@ -1669,35 +1537,20 @@
// 带入 // 带入
case 2: case 2:
if (this.standardCheckedList.length === 1) { if (this.standardCheckedList.length === 1) {
this.$http.get('sarStandardsInfo/sar-standards-info/getStandInfoUpdateById', {id: this.standardCheckedList[0].id}, { this.$http.get('lawss/sarLawsInfo/getStandInfoUpdateById', {id: this.standardCheckedList[0].id}, {
_this: this _this: this
}, res => { }, res => {
if(res && res.data){ if(res && res.data){
const bringData = res.data const bringData = res.data
bringData.signFlag = this.form.signFlag && this.form.signFlag != '' ? this.form.signFlag : '0'
bringData.standInData = this.form.standInData && this.form.standInData != '' ? this.form.standInData : '0'
const json = Object.assign(bringData, bringData.attrInfoCaseMap); const json = Object.assign(bringData, bringData.attrInfoMap);
this.form = JSON.parse(JSON.stringify(json)) this.form = JSON.parse(JSON.stringify(json))
this.form.TGRLAWS = JSON.parse(JSON.stringify(json)).TGRLAWS && JSON.parse(JSON.stringify(json)).TGRLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGRLAWS.split(',') : []
this.form.qcdw = JSON.parse(JSON.stringify(json)).qcdw && JSON.parse(JSON.stringify(json)).qcdw !== '[]' ? JSON.parse(JSON.stringify(json)).qcdw.split(',') : [] this.form.TGDWLAWS = JSON.parse(JSON.stringify(json)).TGDWLAWS && JSON.parse(JSON.stringify(json)).TGDWLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGDWLAWS.split(',') : []
this.form.wssmr = JSON.parse(JSON.stringify(json)).wssmr && JSON.parse(JSON.stringify(json)).wssmr !== '[]' ? JSON.parse(JSON.stringify(json)).wssmr.split(',') : [] this.form.NYLXLAWS = JSON.parse(JSON.stringify(json)).NYLXLAWS && JSON.parse(JSON.stringify(json)).NYLXLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).NYLXLAWS.split(',') : []
this.form.zrgcs = JSON.parse(JSON.stringify(json)).zrgcs && JSON.parse(JSON.stringify(json)).zrgcs !== '[]' ? JSON.parse(JSON.stringify(json)).zrgcs.split(',') : [] this.form.YYRZLAWS = JSON.parse(JSON.stringify(json)).YYRZLAWS && JSON.parse(JSON.stringify(json)).YYRZLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).YYRZLAWS.split(',') : []
this.form.zrbm = JSON.parse(JSON.stringify(json)).zrbm && JSON.parse(JSON.stringify(json)).zrbm !== '[]' ? JSON.parse(JSON.stringify(json)).zrbm.split(',') : [] this.form.ZRBMLAWS = JSON.parse(JSON.stringify(json)).ZRBMLAWS && JSON.parse(JSON.stringify(json)).ZRBMLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRBMLAWS.split(',') : []
this.form.syrz = JSON.parse(JSON.stringify(json)).syrz && JSON.parse(JSON.stringify(json)).syrz !== '[]' ? JSON.parse(JSON.stringify(json)).syrz.split(',') : [] this.form.ZRGCSLAWS = JSON.parse(JSON.stringify(json)).ZRGCSLAWS && JSON.parse(JSON.stringify(json)).ZRGCSLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRGCSLAWS.split(',') : []
this.form.sycpx = JSON.parse(JSON.stringify(json)).sycpx && JSON.parse(JSON.stringify(json)).sycpx !== '[]' ? JSON.parse(JSON.stringify(json)).sycpx.split(',') : []
this.form.nylx = JSON.parse(JSON.stringify(json)).nylx && JSON.parse(JSON.stringify(json)).nylx !== '[]' ? JSON.parse(JSON.stringify(json)).nylx.split(',') : []
this.form.cllx = JSON.parse(JSON.stringify(json)).cllx && JSON.parse(JSON.stringify(json)).cllx !== '[]' ? JSON.parse(JSON.stringify(json)).cllx.split(',') : []
this.defaultCheckedKeys = [this.form.standSystem];
this.defaultCheckedKeys1 = [this.form.cycvppsbm];
this.defaultCheckedKeys2 = [this.form.kccvppsbm];
this.defaultCheckedKeys3 = [this.form.dybxh];
this.key++
this.key1++
this.key2++
this.key3++
this.form.standType = this.form.standInData === '0' ? 'INLAND' : 'FOREIGN'
this.form.standYear = bringData.standYear ? parseInt(bringData.standYear) : ''
this.form.prcNum = this.prcNum this.form.prcNum = this.prcNum
this.form.prcName = this.prcName this.form.prcName = this.prcName
this.form['id'] = bringData.id this.form['id'] = bringData.id
@@ -1717,9 +1570,9 @@
}) })
} else if (this.standardCheckedList.length > 1) { } else if (this.standardCheckedList.length > 1) {
this.$message.warning('最多可以带入一条标准信息') this.$message.warning('最多可以带入一条政策信息')
} else { } else {
this.$message.warning('请选择要带入的标准信息') this.$message.warning('请选择要带入的政策信息')
} }
break break
// 取消 // 取消
@@ -1823,7 +1676,7 @@
}, },
getDomesticStandardTable () { getDomesticStandardTable () {
this.loadSarStandard = true this.loadSarStandard = true
this.$http.get('sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage', this.standardSearchForm, {}, res => { this.$http.get('lawss/sarLawsInfo/page', this.standardSearchForm, {}, res => {
this.loadSarStandard = false this.loadSarStandard = false
if (res.ok) { if (res.ok) {
this.tableData.standardData = res.data.list this.tableData.standardData = res.data.list
@@ -2057,10 +1910,10 @@
// 点击查看 // 点击查看
handlePreview (item) { handlePreview (item) {
let routeUrl = this.$router.resolve({ let routeUrl = this.$router.resolve({
name: 'OtherStandardDetails', name: 'OtherLawsStandDetails',
params: { params: {
id: item.id, id: item.id,
pageType: 'INLAND_STAND' pageType: 'LAWS_STAND'
} }
}) })
window.open(routeUrl.href, '_blank') window.open(routeUrl.href, '_blank')
@@ -610,6 +610,7 @@
name: "bzrkStep2", name: "bzrkStep2",
data () { data () {
return { return {
loading: false,
xgdFileMap: [], xgdFileMap: [],
fbgbjbdFileMap: [], fbgbjbdFileMap: [],
bpgFileMap: [], bpgFileMap: [],
@@ -958,6 +959,7 @@
}) })
}, },
processTable () { processTable () {
this.loading = true
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 : '',
@@ -967,6 +969,7 @@
_this: this _this: this
}, res => { }, res => {
this.detailData = res this.detailData = res
this.loading = false
}, e => {}) }, e => {})
}, },
assemble(ids,names){ assemble(ids,names){
@@ -1081,7 +1084,6 @@
this.form.commentText = this.formTongGuo.commentText this.form.commentText = this.formTongGuo.commentText
this.form.approvalOpinion = this.formTongGuo.approvalOpinion this.form.approvalOpinion = this.formTongGuo.approvalOpinion
const json = JSON.stringify(this.form); const json = JSON.stringify(this.form);
this.processCreateLaws(json)
this.$http.post('lawss/activiti/completeTask', { this.$http.post('lawss/activiti/completeTask', {
taskIds: this.taskIds, taskIds: this.taskIds,
userId : this.userId, userId : this.userId,
@@ -1090,6 +1092,7 @@
_this: this _this: this
}, res => { }, res => {
if (res.success) { if (res.success) {
debugger
if(this.formTongGuo.approvalOpinion === '1'){ if(this.formTongGuo.approvalOpinion === '1'){
this.$message.warning("驳回成功") this.$message.warning("驳回成功")
this.isSubmit = false this.isSubmit = false
File diff suppressed because it is too large Load Diff
@@ -334,7 +334,7 @@ export default {
}) })
}else if (row.taskInfo === '重新发起入库流程'){ }else if (row.taskInfo === '重新发起入库流程'){
this.$router.push({ this.$router.push({
name: 'zcrkStep1', name: 'zcrkStep3',
query: { query: {
taskIds: row.taskIds, taskIds: row.taskIds,
prcId: row.prcId, prcId: row.prcId,
@@ -466,10 +466,20 @@ export default {
verifySarStandard: true, verifySarStandard: true,
} }
}) })
}else if(mes.taskInfo === '申请人重新发起'){
this.$router.push({
name: 'zcrkStep3',
query: {
type: '1',
processName: '申请人发起流程',
bpnId: id,
verifySarStandard: true,
}
})
} }
}else { }else {
this.$router.push({ this.$router.push({
name: 'zcrkStep1', name: 'zcrkStep3',
query: { query: {
type: '1', type: '1',
processName: '申请人发起流程', processName: '申请人发起流程',
+9
View File
@@ -727,6 +727,15 @@ const routes = [
title: '政策入库流程' title: '政策入库流程'
} }
}, },
{
path: '/zcrkStep3',
name: 'zcrkStep3',
component: () => import('@/pages/processCenter/pages/creatProcess/zcrk/step3.vue'),
meta: {
requireAuth: true,
title: '政策入库流程'
}
},
{ {
path: '/zcrkStep5', path: '/zcrkStep5',
name: 'zcrkStep5', name: 'zcrkStep5',