Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
@@ -2,26 +2,27 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="search-group">
|
<div class="search-group">
|
||||||
<el-select
|
<el-select
|
||||||
v-model="selectKey"
|
v-model="checkState"
|
||||||
class="search-group-item"
|
class="search-group-item"
|
||||||
placeholder="请选择"
|
placeholder="请选择"
|
||||||
>
|
>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in jumpPage"
|
v-for="item in jumpPage"
|
||||||
:key="item.selectKey"
|
:key="item.value"
|
||||||
:label="item.label"
|
:label="item.label"
|
||||||
:value="item.selectKey"
|
:value="item.value"
|
||||||
></el-option>
|
></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
|
|
||||||
<div class="search-condition">
|
<div class="search-condition">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="keywords"
|
@keyup.native.enter="search"
|
||||||
|
v-model="checkContent">
|
||||||
type="text"
|
type="text"
|
||||||
placeholder="请输入关键词"
|
placeholder="请输入关键词"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
<el-button class="primary_button" type="primary">搜索</el-button>
|
<el-button class="primary_button" type="primary" @click="search">搜索</el-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -33,36 +34,50 @@ export default {
|
|||||||
mixins: [],
|
mixins: [],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
selectKey: '',
|
// 当前查询状态
|
||||||
keywords: '',
|
checkState: 'All',
|
||||||
|
// 查询内容
|
||||||
|
checkContent: '',
|
||||||
jumpPage: [
|
jumpPage: [
|
||||||
{
|
{
|
||||||
selectKey: '选项1',
|
label: '全部',
|
||||||
label: '国内外标准法规',
|
value: 'All'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
selectKey: '选项2',
|
label: '国内标准法规',
|
||||||
label: '研究报告',
|
value: 'stand'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: '海外标准法规', // value没改
|
||||||
|
value: 'bussstand'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: '国内外政策',
|
||||||
|
value: 'laws'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
selectKey: '选项3',
|
|
||||||
label: '企业标准',
|
label: '企业标准',
|
||||||
},
|
value: 'enterprise'
|
||||||
{
|
}
|
||||||
selectKey: '选项4',
|
|
||||||
label: '动态&通知',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
selectKey: '选项5',
|
|
||||||
label: '流程中心',
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {},
|
computed: {},
|
||||||
watch: {},
|
watch: {},
|
||||||
mounted() {},
|
methods: {
|
||||||
methods: {},
|
search() {
|
||||||
|
this.$router.push({
|
||||||
|
name: 'StandardSearch',
|
||||||
|
params: {
|
||||||
|
selectKey: this.checkState,
|
||||||
|
searchValue: this.checkContent || undefined
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
},
|
||||||
|
mounted(){
|
||||||
|
|
||||||
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@@ -43,12 +43,13 @@ export default {
|
|||||||
} )
|
} )
|
||||||
},
|
},
|
||||||
standForComments (item) {
|
standForComments (item) {
|
||||||
this.$router.push({
|
this.$store.commit('setDetailMap',this.$router.path)
|
||||||
name:'standardForComments',
|
this.$router.push({
|
||||||
params: {
|
name: 'consultationDetails',
|
||||||
id: item.id
|
query: {
|
||||||
}
|
item: item
|
||||||
},)
|
}
|
||||||
|
})
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||||
<div class="headerTabsItem" :class="active === '2' ? 'active' : ''" @click="handleTabs('2')">人员信息</div>
|
<div class="headerTabsItem" :class="active === '2' ? 'active' : ''" @click="handleTabs('2')">人员信息</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-if="active == '1'">
|
<div class="content" v-show ="active === '1'">
|
||||||
<div style="flex: auto; overflow: auto">
|
<div style="flex: auto; overflow: auto">
|
||||||
<process-title>
|
<process-title>
|
||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
|
|||||||
@@ -12,23 +12,23 @@
|
|||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
</ProcessTitle>
|
</ProcessTitle>
|
||||||
<el-form :modal="dataList" inline class="label-input-form">
|
<el-form :modal="nonSearch" inline class="label-input-form">
|
||||||
<el-form-item label="标准号/标准名称" class="search-item">
|
<el-form-item label="标准号/标准名称" class="search-item">
|
||||||
<el-input v-model="dataList.standId"
|
<el-input v-model="nonSearch.standId"
|
||||||
size="small"
|
size="small"
|
||||||
placeholder="请输入"
|
placeholder="请输入"
|
||||||
clearable
|
clearable
|
||||||
:maxlength="100"></el-input>
|
:maxlength="100"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="项目名称" class="search-item">
|
<el-form-item label="项目名称" class="search-item">
|
||||||
<el-input v-model="dataList.productName"
|
<el-input v-model="nonSearch.productName"
|
||||||
size="small"
|
size="small"
|
||||||
placeholder="请输入"
|
placeholder="请输入"
|
||||||
clearable
|
clearable
|
||||||
:maxlength="100"></el-input>
|
:maxlength="100"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="责任部门" class="search-item">
|
<el-form-item label="责任部门" class="search-item">
|
||||||
<el-input v-model="dataList.responsibleUnit" v-show="false"/>
|
<el-input v-model="nonSearch.responsibleUnit" v-show="false"/>
|
||||||
<el-popover
|
<el-popover
|
||||||
placement="bottom"
|
placement="bottom"
|
||||||
popper-class="user-dept-popper"
|
popper-class="user-dept-popper"
|
||||||
@@ -38,7 +38,7 @@
|
|||||||
<el-input
|
<el-input
|
||||||
size="small"
|
size="small"
|
||||||
slot="reference"
|
slot="reference"
|
||||||
v-model="dataList.responseUnitShow"
|
v-model="nonSearch.responseUnitShow"
|
||||||
placeholder="根据责任部门查找"
|
placeholder="根据责任部门查找"
|
||||||
readonly
|
readonly
|
||||||
clearable
|
clearable
|
||||||
@@ -62,7 +62,7 @@
|
|||||||
class="common-button-primary"
|
class="common-button-primary"
|
||||||
size="mini"
|
size="mini"
|
||||||
v-btn-permission="'b3aaea6d18f5871b68825d3783eb736a'"
|
v-btn-permission="'b3aaea6d18f5871b68825d3783eb736a'"
|
||||||
@click="getTableByPage">
|
@click="getTableByPage(nonSearch)">
|
||||||
查询
|
查询
|
||||||
</el-button>
|
</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -105,15 +105,15 @@
|
|||||||
<el-table-column prop="dutyEngineer" label="责任工程师"/>
|
<el-table-column prop="dutyEngineer" label="责任工程师"/>
|
||||||
<el-table-column label="选择分发责任人" prop="dutyPeopleInfo">
|
<el-table-column label="选择分发责任人" prop="dutyPeopleInfo">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span v-if="scope.row.show">
|
|
||||||
<el-input
|
<el-input
|
||||||
|
style="display: none"
|
||||||
v-model="scope.row.dutyPeopleInfo"
|
v-model="scope.row.dutyPeopleInfo"
|
||||||
size="mini"
|
size="mini"
|
||||||
placeholder="请输入内容"
|
placeholder="请输入内容"
|
||||||
@click.native="choiceDuty"
|
/>
|
||||||
/>
|
<div v-if="scope.row.dutyPeopleInfo" class="fileClass">
|
||||||
</span>
|
{{ scope.row.dutyPeopleInfo || '-'}}
|
||||||
<span v-else>{{scope.row.dutyPeopleInfo}}</span>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
@@ -187,7 +187,7 @@ export default {
|
|||||||
ListModel: false, // 新增编辑抽屉开关
|
ListModel: false, // 新增编辑抽屉开关
|
||||||
taskIds: this.$route.query.taskIds,
|
taskIds: this.$route.query.taskIds,
|
||||||
pId: this.$route.query.prcId,
|
pId: this.$route.query.prcId,
|
||||||
nonConformitySearch: {
|
nonSearch: {
|
||||||
standId: '', // 标准号/名称
|
standId: '', // 标准号/名称
|
||||||
productName: '', // 项目名称
|
productName: '', // 项目名称
|
||||||
responsibleUnit: '' // 责任部门
|
responsibleUnit: '' // 责任部门
|
||||||
@@ -206,15 +206,6 @@ export default {
|
|||||||
myLoading: false,
|
myLoading: false,
|
||||||
// 责任部门
|
// 责任部门
|
||||||
zNodesSItem: [],
|
zNodesSItem: [],
|
||||||
unqualidiedData: [{
|
|
||||||
standId: '',
|
|
||||||
productName: '',
|
|
||||||
itemsNum: '',
|
|
||||||
itemsName: '',
|
|
||||||
planCloseTime: '',
|
|
||||||
responsibleUnit: '',
|
|
||||||
dutyEngineer: ''
|
|
||||||
}],
|
|
||||||
clearSelection: false,
|
clearSelection: false,
|
||||||
nodeList: [],
|
nodeList: [],
|
||||||
drawerTitle: '', //drawer标题
|
drawerTitle: '', //drawer标题
|
||||||
@@ -244,11 +235,19 @@ export default {
|
|||||||
this.getData()
|
this.getData()
|
||||||
this.getTree()
|
this.getTree()
|
||||||
},
|
},
|
||||||
methods: {
|
watch: {
|
||||||
|
nonSearch(val) {
|
||||||
|
this.nonSearch = val
|
||||||
|
}
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
getData() {
|
getData() {
|
||||||
const params = {
|
const params = {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
pId: this.pId,
|
pId: this.pId,
|
||||||
|
standId: '', // 标准号/名称
|
||||||
|
productName: '', // 项目名称
|
||||||
|
responsibleUnit: '' // 责任部门
|
||||||
}
|
}
|
||||||
inboundLiaisonDetail(params).then(res => {
|
inboundLiaisonDetail(params).then(res => {
|
||||||
const processForm = JSON.parse(res.mesg)
|
const processForm = JSON.parse(res.mesg)
|
||||||
@@ -261,30 +260,19 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 批量选择分发责任人
|
// 批量选择分发责任人
|
||||||
dutyEngineerList() {
|
dutyEngineerList(id) {
|
||||||
if (this.multipleSelection.length === 0) {
|
if (this.multipleSelection.length === 0) {
|
||||||
this.$message.warning("请选择至少一条数据进行分发责任人");
|
this.$message.warning("请选择至少一条数据进行分发责任人");
|
||||||
} else {
|
} else {
|
||||||
this.multipleSelection.map((i, index)=> {
|
this.nodeList = []
|
||||||
i.show = true
|
this.nodeList.push(id)
|
||||||
this.$set(this.dataList, i, index)
|
this.modalshowflag = true
|
||||||
})
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 选择勾选项的集合
|
// 选择勾选项的集合
|
||||||
handleSelectionChange(value) {
|
handleSelectionChange(value) {
|
||||||
this.multipleSelection = value
|
this.multipleSelection = value
|
||||||
},
|
console.log(value)
|
||||||
// 选择分发责任人时
|
|
||||||
choiceDuty(type, title, id) {
|
|
||||||
this.nodeList = []
|
|
||||||
this.nodeList.push(id)
|
|
||||||
this.type = type
|
|
||||||
this.drawerTitle = title
|
|
||||||
this.modalshowflag = true
|
|
||||||
},
|
|
||||||
selectPeople(row) {
|
|
||||||
this.modalshowflag = true
|
|
||||||
},
|
},
|
||||||
handleTabs(name) {
|
handleTabs(name) {
|
||||||
this.active = name
|
this.active = name
|
||||||
@@ -313,10 +301,7 @@ export default {
|
|||||||
}
|
}
|
||||||
let json = {
|
let json = {
|
||||||
dockUserList: list,
|
dockUserList: list,
|
||||||
// engineer: this.$store.getters.userInfo.userId,
|
|
||||||
// standardInfoList: list[0].standardInfoList,
|
|
||||||
}
|
}
|
||||||
console.log(json)
|
|
||||||
let flag=false
|
let flag=false
|
||||||
this.dataList.forEach(item => {
|
this.dataList.forEach(item => {
|
||||||
if (item.dutyPeopleInfo === '') {
|
if (item.dutyPeopleInfo === '') {
|
||||||
@@ -364,19 +349,13 @@ export default {
|
|||||||
// 流程节点负责人抽屉保存按钮
|
// 流程节点负责人抽屉保存按钮
|
||||||
saveUserInfo () {
|
saveUserInfo () {
|
||||||
// 选取负责人时的操作
|
// 选取负责人时的操作
|
||||||
for (let i = 0; i < this.multipleSelection.length; i++ ) {
|
this.multipleSelection.forEach(item => {
|
||||||
this.multipleSelection[i].dutyPeopleInfo = this.roleRow[0].name
|
item.dutyPeopleInfo = this.roleRow[0].name
|
||||||
this.multipleSelection[i].dutyPeopleInfoId = this.roleRow[0].id
|
item.dutyPeopleInfoId = this.roleRow[0].id
|
||||||
for (let b = 0; b < this.multipleSelection.length; b++) {
|
})
|
||||||
this.dataList[b].dutyPeopleInfo = this.multipleSelection[i].dutyPeopleInfo
|
this.lastDataList = this.dataList
|
||||||
this.dataList[b].dutyPeopleInfoId = this.multipleSelection[i].dutyPeopleInfoId
|
this.$refs.multipleTable.clearSelection();
|
||||||
this.dataList.forEach(val=> {
|
// 选取流程信息完成
|
||||||
val.show = false
|
|
||||||
})
|
|
||||||
}
|
|
||||||
this.lastDataList = this.dataList
|
|
||||||
this.$refs.multipleTable.clearSelection();
|
|
||||||
}
|
|
||||||
this.roleForm.dutyUserInfoName = this.roleRow.name
|
this.roleForm.dutyUserInfoName = this.roleRow.name
|
||||||
this.modalshowflag = false
|
this.modalshowflag = false
|
||||||
},
|
},
|
||||||
@@ -385,17 +364,37 @@ export default {
|
|||||||
this.modalshowflag = false
|
this.modalshowflag = false
|
||||||
},
|
},
|
||||||
//查询按钮
|
//查询按钮
|
||||||
getTableByPage() {
|
getTableByPage({ standId, productName, responsibleUnit }) {//多条件和模糊查询
|
||||||
this.getData()
|
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) {
|
clearAllSearch () {
|
||||||
this.nonConformitySearch = {
|
this.nonSearch = {
|
||||||
standId: '',
|
standId: '',
|
||||||
productName: '',
|
productName: '',
|
||||||
responsibleUnit: ''
|
responsibleUnit: ''
|
||||||
}
|
}
|
||||||
this.getTableByPage()
|
this.getData()
|
||||||
},
|
},
|
||||||
// 分页事件
|
// 分页事件
|
||||||
pageChange (page) {
|
pageChange (page) {
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||||
<div class="headerTabsItem" :class="active === '2' ? 'active' : ''" @click="handleTabs('2')">人员信息</div>
|
<div class="headerTabsItem" :class="active === '2' ? 'active' : ''" @click="handleTabs('2')">人员信息</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-if="active == '1'">
|
<div class="content" v-show="active === '1'">
|
||||||
<div style="flex: auto; overflow: auto">
|
<div style="flex: auto; overflow: auto">
|
||||||
<process-title>
|
<process-title>
|
||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
<el-form
|
<el-form
|
||||||
:model="listForm"
|
:model="listForm"
|
||||||
:rules="formRules"
|
:rules="formRules"
|
||||||
ref="xmpgForm"
|
ref="listForm"
|
||||||
class="label-input-form prc-content-border"
|
class="label-input-form prc-content-border"
|
||||||
label-width="150px"
|
label-width="150px"
|
||||||
>
|
>
|
||||||
@@ -109,7 +109,7 @@
|
|||||||
<div class="block" style="padding-top: 20px;">
|
<div class="block" style="padding-top: 20px;">
|
||||||
<el-timeline>
|
<el-timeline>
|
||||||
<el-form
|
<el-form
|
||||||
ref="Form"
|
ref="roleForm"
|
||||||
:model="roleForm"
|
:model="roleForm"
|
||||||
:rules="roleFormRules"
|
:rules="roleFormRules"
|
||||||
class="label-input-form">
|
class="label-input-form">
|
||||||
@@ -536,16 +536,15 @@ export default {
|
|||||||
},
|
},
|
||||||
//提交事件
|
//提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
console.log(this.roleForm)
|
|
||||||
console.log(this.listForm);
|
|
||||||
// var json = this.listForm
|
|
||||||
var json = Object.assign(this.listForm, this.roleForm)
|
var json = Object.assign(this.listForm, this.roleForm)
|
||||||
json.prcCreateUser = this.$store.getters.userInfo.userId;
|
json.prcCreateUser = this.$store.getters.userInfo.userId;
|
||||||
json.prcCreateUserName = this.$store.getters.userInfo.account;
|
json.prcCreateUserName = this.$store.getters.userInfo.account;
|
||||||
json.standId = this.listForm.standId;
|
json.standId = this.listForm.standId;
|
||||||
this.$refs["xmpgForm"].validate((valid) => {
|
json.XCXSSRQ = this.sarAccessListDatas[0].attrInfoMap.XCXSSRQ
|
||||||
|
json.ZCCSSRQ = this.sarAccessListDatas[0].attrInfoMap.ZCCSSRQ
|
||||||
|
this.$refs['listForm'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.$refs["Form"].validate((valid) => {
|
this.$refs['roleForm'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.$http.get("lawss/activiti/startProcess", { type: "5" }, {
|
this.$http.get("lawss/activiti/startProcess", { type: "5" }, {
|
||||||
_this: this
|
_this: this
|
||||||
@@ -652,7 +651,6 @@ export default {
|
|||||||
}, {
|
}, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
console.log(res.data);
|
|
||||||
this.productData = res.data;
|
this.productData = res.data;
|
||||||
this.totalNo = res.data.total;
|
this.totalNo = res.data.total;
|
||||||
}, e => {
|
}, e => {
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||||
<div class="headerTabsItem" :class="active === '3' ? 'active' : ''" @click="handleTabs('3')">审批历史</div>
|
<div class="headerTabsItem" :class="active === '3' ? 'active' : ''" @click="handleTabs('3')">审批历史</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-if="active == '1'">
|
<div class="content" v-show="active === '1'">
|
||||||
<div style="flex: auto; overflow: auto">
|
<div style="flex: auto; overflow: auto">
|
||||||
<process-title>
|
<process-title>
|
||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
@@ -110,7 +110,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="content" v-if="active === '3'">
|
<div class="content" v-show="active === '3'">
|
||||||
<div class="flow-list">
|
<div class="flow-list">
|
||||||
<el-table
|
<el-table
|
||||||
height="100%"
|
height="100%"
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||||
<div class="headerTabsItem" :class="active === '3' ? 'active' : ''" @click="handleTabs('3')">审批历史</div>
|
<div class="headerTabsItem" :class="active === '3' ? 'active' : ''" @click="handleTabs('3')">审批历史</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-if="active == '1'">
|
<div class="content" v-show="active === '1'">
|
||||||
<div style="flex: auto; overflow: auto">
|
<div style="flex: auto; overflow: auto">
|
||||||
<process-title>
|
<process-title>
|
||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
@@ -98,12 +98,12 @@
|
|||||||
label="条款名称">
|
label="条款名称">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="newTime"
|
prop="xCXSSRQ"
|
||||||
align="center"
|
align="center"
|
||||||
label="新车型实施日期">
|
label="新车型实施日期">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="oldTime"
|
prop="zCCSSRQ"
|
||||||
align="center"
|
align="center"
|
||||||
label="在产车实施日期">
|
label="在产车实施日期">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -155,7 +155,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="content" v-if="active === '3'">
|
<div class="content" v-show="active === '3'">
|
||||||
<div class="flow-list">
|
<div class="flow-list">
|
||||||
<el-table
|
<el-table
|
||||||
height="100%"
|
height="100%"
|
||||||
@@ -397,6 +397,8 @@ export default {
|
|||||||
qualityEngineer: item.pepdtos[i].qualityEngineer,
|
qualityEngineer: item.pepdtos[i].qualityEngineer,
|
||||||
standNumber: item.pepdtos[i].standNumber,
|
standNumber: item.pepdtos[i].standNumber,
|
||||||
standName: item.pepdtos[i].standName,
|
standName: item.pepdtos[i].standName,
|
||||||
|
xCXSSRQ: item.pepdtos[i].xCXSSRQ,
|
||||||
|
zCCSSRQ: item.pepdtos[i].zCCSSRQ,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||||
<div class="headerTabsItem" :class="active === '3' ? 'active' : ''" @click="handleTabs('3')">审批历史</div>
|
<div class="headerTabsItem" :class="active === '3' ? 'active' : ''" @click="handleTabs('3')">审批历史</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-if="active == '1'">
|
<div class="content" v-show="active === '1'">
|
||||||
<div style="flex: auto; overflow: auto">
|
<div style="flex: auto; overflow: auto">
|
||||||
<process-title>
|
<process-title>
|
||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
@@ -103,13 +103,13 @@
|
|||||||
label="条款名称">
|
label="条款名称">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="newTime"
|
prop="xCXSSRQ"
|
||||||
width="200"
|
width="200"
|
||||||
align="center"
|
align="center"
|
||||||
label="新车型实施日期">
|
label="新车型实施日期">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="oldTime"
|
prop="zCCSSRQ"
|
||||||
width="200"
|
width="200"
|
||||||
align="center"
|
align="center"
|
||||||
label="在产车实施日期">
|
label="在产车实施日期">
|
||||||
@@ -264,7 +264,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="content" v-if="active === '3'">
|
<div class="content" v-show="active === '3'">
|
||||||
<div class="flow-list">
|
<div class="flow-list">
|
||||||
<el-table
|
<el-table
|
||||||
height="100%"
|
height="100%"
|
||||||
@@ -492,10 +492,10 @@ export default {
|
|||||||
this.listForm.prcName = this.prcName
|
this.listForm.prcName = this.prcName
|
||||||
this.listForm['id'] = item.id
|
this.listForm['id'] = item.id
|
||||||
this.dataList = item.step3DTOS
|
this.dataList = item.step3DTOS
|
||||||
this.listForm.standName = item.step3DTOS[0].standName
|
// this.listForm.standName = item.step3DTOS[0].standName
|
||||||
this.listForm.standNumber = item.step3DTOS[0].standNumber
|
// this.listForm.standNumber = item.step3DTOS[0].standNumber
|
||||||
this.listForm.qualityEngineer = item.step3DTOS[0].qualityEngineer
|
// this.listForm.qualityEngineer = item.step3DTOS[0].qualityEngineer
|
||||||
this.listForm.certifiedEngineer = item.step3DTOS[0].certifiedEngineer
|
// this.listForm.certifiedEngineer = item.step3DTOS[0].certifiedEngineer
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||||
<div class="headerTabsItem" :class="active === '3' ? 'active' : ''" @click="handleTabs('3')">审批历史</div>
|
<div class="headerTabsItem" :class="active === '3' ? 'active' : ''" @click="handleTabs('3')">审批历史</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-if="active == '1'">
|
<div class="content" v-show="active === '1'">
|
||||||
<div style="flex: auto; overflow: auto">
|
<div style="flex: auto; overflow: auto">
|
||||||
<process-title>
|
<process-title>
|
||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
@@ -102,6 +102,18 @@
|
|||||||
align="center"
|
align="center"
|
||||||
label="条款名称">
|
label="条款名称">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="XCXSSRQ"
|
||||||
|
width="200"
|
||||||
|
align="center"
|
||||||
|
label="新车型实施日期">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="ZCCSSRQ"
|
||||||
|
width="200"
|
||||||
|
align="center"
|
||||||
|
label="在产车实施日期">
|
||||||
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="productType"
|
prop="productType"
|
||||||
align="center"
|
align="center"
|
||||||
@@ -203,7 +215,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="content" v-if="active === '3'">
|
<div class="content" v-show="active === '3'">
|
||||||
<div class="flow-list">
|
<div class="flow-list">
|
||||||
<el-table
|
<el-table
|
||||||
height="100%"
|
height="100%"
|
||||||
|
|||||||
+10
-10
@@ -295,19 +295,18 @@ export default {
|
|||||||
},
|
},
|
||||||
// 批量删除
|
// 批量删除
|
||||||
deleteSarAccess(flag, id) {
|
deleteSarAccess(flag, id) {
|
||||||
if (flag === "delOne") {
|
if (flag === 'delOne') {
|
||||||
this.selectedList = [];
|
this.selectedList = [];
|
||||||
this.selectedList[0] = id;
|
this.selectedList[0] = id;
|
||||||
}
|
}
|
||||||
if (!this.selectedList.length) {
|
if (this.selectedList.length === 0) {
|
||||||
this.$message.warning("请选择要删除的数据");
|
this.$message.warning('请选择要删除的数据')
|
||||||
} else {
|
} else {
|
||||||
this.$confirm("确认删除选中数据?", "确认删除", {
|
this.$confirm('确定删除这些数据?', '提示', {
|
||||||
confirmButtonText: "确定",
|
confirmButtonText: '确定',
|
||||||
cancelButtonText: "取消",
|
confirmButtonClass: 'common-button-primary',
|
||||||
confirmButtonClass: "common-button-primary",
|
cancelButtonText: '取消',
|
||||||
roundButton: false,
|
type: 'warning',
|
||||||
type: "warning"
|
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
const URL = `sarLawsDetailedList/sar-laws-detailed-list/deleteListAll?idList=${this.selectedList.join(',')}`
|
const URL = `sarLawsDetailedList/sar-laws-detailed-list/deleteListAll?idList=${this.selectedList.join(',')}`
|
||||||
this.$http.postDelete(URL, {}, res => {
|
this.$http.postDelete(URL, {}, res => {
|
||||||
@@ -317,7 +316,8 @@ export default {
|
|||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
});
|
|
||||||
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 表格选择框
|
// 表格选择框
|
||||||
|
|||||||
@@ -300,31 +300,31 @@ export default {
|
|||||||
name: "OtherAddEit"
|
name: "OtherAddEit"
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 删除
|
//批量删除
|
||||||
deleteSarAccess(flag, id) {
|
deleteSarAccess(flag, id) {
|
||||||
if (flag === "delOne") {
|
if (flag === 'delOne') {
|
||||||
this.selectedList = [];
|
this.selectedList = [];
|
||||||
this.selectedList[0] = id;
|
this.selectedList[0] = id;
|
||||||
}
|
}
|
||||||
if (this.selectedList.length === 0) {
|
if (this.selectedList.length === 0) {
|
||||||
this.$message.warning("请选择要删除的数据");
|
this.$message.warning('请选择要删除的数据')
|
||||||
} else {
|
} else {
|
||||||
this.$confirm("确认删除这些数据?", "提示", {
|
this.$confirm('确定删除这些数据?', '提示', {
|
||||||
confirmButtonText: "确认",
|
confirmButtonText: '确定',
|
||||||
confirmButtonClass: "common-button-primary",
|
confirmButtonClass: 'common-button-primary',
|
||||||
cancelButtonText: "取消",
|
cancelButtonText: '取消',
|
||||||
type: "warning"
|
type: 'warning',
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
const URL = `sarLawsDetailedList/sar-laws-detailed-list/deleteListAll?idList=${this.selectedList.join(",")}`;
|
const URL = `sarLawsDetailedList/sar-laws-detailed-list/deleteListAll?idList=${this.selectedList.join(',')}`
|
||||||
this.$http.postDelete(URL, {}, res => {
|
this.$http.postDelete(URL, {}, res => {
|
||||||
this.searchSarAccess();
|
this.searchSarAccess();
|
||||||
this.selectedList = [];
|
this.selectedList = [];
|
||||||
this.$message.success("删除成功");
|
this.$message.success('删除成功')
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
|
|
||||||
});
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 表格选择框
|
// 表格选择框
|
||||||
|
|||||||
@@ -309,7 +309,7 @@ export default {
|
|||||||
this.selectedList = [];
|
this.selectedList = [];
|
||||||
this.selectedList[0] = id;
|
this.selectedList[0] = id;
|
||||||
}
|
}
|
||||||
if (this.selectedList === 0) {
|
if (this.selectedList.length === 0) {
|
||||||
this.$message.warning('请选择要删除的数据')
|
this.$message.warning('请选择要删除的数据')
|
||||||
} else {
|
} else {
|
||||||
this.$confirm('确定删除这些数据?', '提示', {
|
this.$confirm('确定删除这些数据?', '提示', {
|
||||||
@@ -329,7 +329,6 @@ export default {
|
|||||||
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
// 表格选择框
|
// 表格选择框
|
||||||
selectOne(data) {
|
selectOne(data) {
|
||||||
|
|||||||
@@ -363,6 +363,10 @@ export default {
|
|||||||
mounted() {
|
mounted() {
|
||||||
//查询所有选项
|
//查询所有选项
|
||||||
this.queryOptions();
|
this.queryOptions();
|
||||||
|
let globalInputSearch = this.$route.params.searchValue
|
||||||
|
if (globalInputSearch !== 'allvalue') {
|
||||||
|
this.keywords = globalInputSearch
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
unmounted() {
|
unmounted() {
|
||||||
|
|||||||
Reference in New Issue
Block a user