Merge branch 'dev_test' into 'dev_20230829_change'

Dev test

See merge request laws-foton-slrs/foton-laws-system-front!121
This commit is contained in:
高嵩
2023-11-16 03:49:30 +00:00
9 changed files with 63 additions and 18 deletions
+2
View File
@@ -206,6 +206,8 @@ export default {
bottom: 10px; bottom: 10px;
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
border: 2px solid red;
padding: 5px;
} }
} }
</style> </style>
@@ -1,7 +1,10 @@
<template> <template>
<div class="qbzxd-jhgk"> <div class="qbzxd-jhgk">
<ProcessHeader toggle> <ProcessHeader toggle>
<template slot="proName">企标制修订计划管控</template> <template slot="proName">
企标制修订计划管控
<span v-if="toggleType">{{ toggleType === '1' ? '-计划合并' : toggleType === '2' ? '-计划延期' : toggleType === '3' ? '-计划取消' : toggleType === '4' ? '-计划更名' : '-计划立项' }}</span>
</template>
<template slot="proNode">起草</template> <template slot="proNode">起草</template>
</ProcessHeader> </ProcessHeader>
<div class="headerTabs"> <div class="headerTabs">
@@ -1,7 +1,10 @@
<template> <template>
<div class="qbzxd-jhgk"> <div class="qbzxd-jhgk">
<ProcessHeader toggle> <ProcessHeader toggle>
<template slot="proName">企标制修订计划管控</template> <template slot="proName">
企标制修订计划管控
<span>{{ type === '1' ? '-计划合并' : type === '2' ? '-计划延期' : type === '3' ? '-计划取消' : type === '4' ? '-计划更名' : '-计划立项' }}</span>>
</template>
<template slot="proNode">批准</template> <template slot="proNode">批准</template>
</ProcessHeader> </ProcessHeader>
<div class="headerTabs"> <div class="headerTabs">
@@ -321,6 +324,7 @@
@checkedRole="checkedRole" @checkedRole="checkedRole"
:nodeList="nodeList" :nodeList="nodeList"
></Role-tree> ></Role-tree>
<loading :loading="isLoading">加载中...</loading>
</div> </div>
</template> </template>
@@ -357,6 +361,7 @@ export default {
detailData: [], detailData: [],
standSortOptions: [], standSortOptions: [],
cbcdOptions: [], cbcdOptions: [],
isLoading: false,
} }
}, },
mounted() { mounted() {
@@ -412,6 +417,7 @@ export default {
}) })
}, },
getData() { getData() {
this.isLoading = true
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
inboundLiaisonDetail({ inboundLiaisonDetail({
taskIds: this.$route.query.taskIds, taskIds: this.$route.query.taskIds,
@@ -422,6 +428,7 @@ export default {
this.getFormFieldList(processForm) this.getFormFieldList(processForm)
} }
}).catch(e => { }).catch(e => {
this.isLoading = false
}) })
}) })
}, },
@@ -434,6 +441,7 @@ export default {
this.qbfsForm = JSON.parse(JSON.stringify(item)) this.qbfsForm = JSON.parse(JSON.stringify(item))
this.type = item.type this.type = item.type
this.LXDList=this.assemble(this.qbfsForm.LXD,this.qbfsForm.LXDName); this.LXDList=this.assemble(this.qbfsForm.LXD,this.qbfsForm.LXDName);
this.isLoading = false
}) })
}, },
assemble(ids,names){ assemble(ids,names){
@@ -1,7 +1,7 @@
<template> <template>
<div class="qbzxd-jhgk"> <div class="qbzxd-jhgk">
<ProcessHeader toggle> <ProcessHeader toggle>
<template slot="proName">企标制修订计划管控</template> <template slot="proName">企标制修订计划管控{{ toggleType === '1' ? '-计划合并' : toggleType === '2' ? '-计划延期' : toggleType === '3' ? '-计划取消' : toggleType === '4' ? '-计划更名' : '-计划立项' }}</template>
<template slot="proNode">起草</template> <template slot="proNode">起草</template>
</ProcessHeader> </ProcessHeader>
<div class="headerTabs"> <div class="headerTabs">
@@ -1,7 +1,10 @@
<template> <template>
<div class="qbzxd-jhgk"> <div class="qbzxd-jhgk">
<ProcessHeader toggle> <ProcessHeader toggle>
<template slot="proName">企标制修订计划管控</template> <template slot="proName">
企标制修订计划管控
<span v-if="type">{{ type === '1' ? '-计划合并' : type === '2' ? '-计划延期' : type === '3' ? '-计划取消' : type === '4' ? '-计划更名' : '-计划立项' }}</span>
</template>
<template slot="proNode">审核</template> <template slot="proNode">审核</template>
</ProcessHeader> </ProcessHeader>
<div class="headerTabs"> <div class="headerTabs">
@@ -343,6 +346,7 @@
@checkedRole="checkedRole" @checkedRole="checkedRole"
:nodeList="nodeList" :nodeList="nodeList"
></Role-tree> ></Role-tree>
<loading :loading="isLoading">加载中...</loading>
</div> </div>
</template> </template>
@@ -379,7 +383,7 @@ export default {
drawerTitle: '', drawerTitle: '',
detailData: [], detailData: [],
cbcdOptions: [], cbcdOptions: [],
isLoading: false,
} }
}, },
mounted() { mounted() {
@@ -435,6 +439,7 @@ export default {
}) })
}, },
getData() { getData() {
this.isLoading = true
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
inboundLiaisonDetail({ inboundLiaisonDetail({
taskIds: this.$route.query.taskIds, taskIds: this.$route.query.taskIds,
@@ -445,6 +450,7 @@ export default {
this.getFormFieldList(processForm) this.getFormFieldList(processForm)
} }
}).catch(e => { }).catch(e => {
this.isLoading = false
}) })
}) })
}, },
@@ -458,6 +464,7 @@ export default {
console.log(item.area.join(',')); console.log(item.area.join(','));
this.type = item.type this.type = item.type
this.LXDList=this.assemble(this.qbfsForm.LXD,this.qbfsForm.LXDName); this.LXDList=this.assemble(this.qbfsForm.LXD,this.qbfsForm.LXDName);
this.isLoading = false
}) })
}, },
assemble(ids,names){ assemble(ids,names){
@@ -1,7 +1,10 @@
<template> <template>
<div class="qbzxd-jhgk"> <div class="qbzxd-jhgk">
<ProcessHeader toggle> <ProcessHeader toggle>
<template slot="proName">企标制修订计划管控</template> <template slot="proName">
企标制修订计划管控
<span v-if="type">{{ type === '1' ? '-计划合并' : type === '2' ? '-计划延期' : type === '3' ? '-计划取消' : type === '4' ? '-计划更名' : '-计划立项' }}</span>
</template>
<template slot="proNode">会签</template> <template slot="proNode">会签</template>
</ProcessHeader> </ProcessHeader>
<div class="headerTabs"> <div class="headerTabs">
@@ -339,6 +342,7 @@
@checkedRole="checkedRole" @checkedRole="checkedRole"
:nodeList="nodeList" :nodeList="nodeList"
></Role-tree> ></Role-tree>
<loading :loading="isLoading">加载中...</loading>
</div> </div>
</template> </template>
@@ -375,6 +379,7 @@ export default {
detailData: [], detailData: [],
standSortOptions: [], standSortOptions: [],
cbcdOptions: [], cbcdOptions: [],
isLoading: false,
} }
}, },
mounted() { mounted() {
@@ -430,6 +435,7 @@ export default {
}) })
}, },
getData() { getData() {
this.isLoading = true
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
inboundLiaisonDetail({ inboundLiaisonDetail({
taskIds: this.$route.query.taskIds, taskIds: this.$route.query.taskIds,
@@ -440,6 +446,7 @@ export default {
this.getFormFieldList(processForm) this.getFormFieldList(processForm)
} }
}).catch(e => { }).catch(e => {
this.isLoading = false
}) })
}) })
}, },
@@ -452,6 +459,7 @@ export default {
this.qbfsForm = JSON.parse(JSON.stringify(item)) this.qbfsForm = JSON.parse(JSON.stringify(item))
this.type = item.type this.type = item.type
this.LXDList=this.assemble(this.qbfsForm.LXD,this.qbfsForm.LXDName); this.LXDList=this.assemble(this.qbfsForm.LXD,this.qbfsForm.LXDName);
this.isLoading = false
}) })
}, },
assemble(ids,names){ assemble(ids,names){
@@ -1,7 +1,10 @@
<template> <template>
<div class="qbzxd-jhgk"> <div class="qbzxd-jhgk">
<ProcessHeader toggle> <ProcessHeader toggle>
<template slot="proName">企标制修订计划管控</template> <template slot="proName">
企标制修订计划管控
<span v-if="type">{{ type === '1' ? '-计划合并' : type === '2' ? '-计划延期' : type === '3' ? '-计划取消' : type === '4' ? '-计划更名' : '-计划立项' }}</span>
</template>
<template slot="proNode">审定</template> <template slot="proNode">审定</template>
</ProcessHeader> </ProcessHeader>
<div class="headerTabs"> <div class="headerTabs">
@@ -341,6 +344,7 @@
@checkedRole="checkedRole" @checkedRole="checkedRole"
:nodeList="nodeList" :nodeList="nodeList"
></Role-tree> ></Role-tree>
<loading :loading="isLoading">加载中...</loading>
</div> </div>
</template> </template>
@@ -377,6 +381,7 @@ export default {
detailData: [], detailData: [],
standSortOptions: [], standSortOptions: [],
cbcdOptions: [], cbcdOptions: [],
isLoading: false,
} }
}, },
mounted() { mounted() {
@@ -432,6 +437,7 @@ export default {
}) })
}, },
getData() { getData() {
this.isLoading = true
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
inboundLiaisonDetail({ inboundLiaisonDetail({
taskIds: this.$route.query.taskIds, taskIds: this.$route.query.taskIds,
@@ -442,6 +448,7 @@ export default {
this.getFormFieldList(processForm) this.getFormFieldList(processForm)
} }
}).catch(e => { }).catch(e => {
this.isLoading = false
}) })
}) })
}, },
@@ -454,6 +461,7 @@ export default {
this.qbfsForm = JSON.parse(JSON.stringify(item)) this.qbfsForm = JSON.parse(JSON.stringify(item))
this.type = item.type this.type = item.type
this.LXDList=this.assemble(this.qbfsForm.LXD,this.qbfsForm.LXDName); this.LXDList=this.assemble(this.qbfsForm.LXD,this.qbfsForm.LXDName);
this.isLoading = false
}) })
}, },
assemble(ids,names){ assemble(ids,names){
@@ -1,7 +1,10 @@
<template> <template>
<div class="qbzxd-jhgk"> <div class="qbzxd-jhgk">
<ProcessHeader toggle> <ProcessHeader toggle>
<template slot="proName">企标制修订计划管控</template> <template slot="proName">
企标制修订计划管控
<span v-if="type">{{ type === '1' ? '-计划合并' : type === '2' ? '-计划延期' : type === '3' ? '-计划取消' : type === '4' ? '-计划更名' : '-计划立项' }}</span>
</template>
<template slot="proNode">批准</template> <template slot="proNode">批准</template>
</ProcessHeader> </ProcessHeader>
<div class="headerTabs"> <div class="headerTabs">
@@ -341,6 +344,7 @@
@checkedRole="checkedRole" @checkedRole="checkedRole"
:nodeList="nodeList" :nodeList="nodeList"
></Role-tree> ></Role-tree>
<loading :loading="isLoading">加载中...</loading>
</div> </div>
</template> </template>
@@ -377,6 +381,7 @@ export default {
detailData: [], detailData: [],
standSortOptions: [], standSortOptions: [],
cbcdOptions: [], cbcdOptions: [],
isLoading: false,
} }
}, },
mounted() { mounted() {
@@ -432,6 +437,7 @@ export default {
}) })
}, },
getData() { getData() {
this.isLoading = true
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
inboundLiaisonDetail({ inboundLiaisonDetail({
taskIds: this.$route.query.taskIds, taskIds: this.$route.query.taskIds,
@@ -442,6 +448,7 @@ export default {
this.getFormFieldList(processForm) this.getFormFieldList(processForm)
} }
}).catch(e => { }).catch(e => {
this.isLoading = false
}) })
}) })
}, },
@@ -454,6 +461,7 @@ export default {
this.qbfsForm = JSON.parse(JSON.stringify(item)) this.qbfsForm = JSON.parse(JSON.stringify(item))
this.type = item.type this.type = item.type
this.LXDList=this.assemble(this.qbfsForm.LXD,this.qbfsForm.LXDName); this.LXDList=this.assemble(this.qbfsForm.LXD,this.qbfsForm.LXDName);
this.isLoading = false
}) })
}, },
assemble(ids,names){ assemble(ids,names){
+11 -10
View File
@@ -59,7 +59,7 @@
<ul :class="[key, {'is-close': condition.isClose}]"> <ul :class="[key, {'is-close': condition.isClose}]">
<li v-for="(conditionOpt, optIndex) in optionsFun(condition.options)" :key="optIndex + condition.title"> <li v-for="(conditionOpt, optIndex) in optionsFun(condition.options)" :key="optIndex + condition.title">
<span :class="{ 'selected': searchCondition[key].indexOf(conditionOpt.value) !== -1 }" @click="optChecked(key, conditionOpt.value)">{{ conditionOpt.label }} <span :class="{ 'selected': searchCondition[key].indexOf(conditionOpt.value) !== -1 }" @click="optChecked(key, conditionOpt.value)">{{ conditionOpt.label }}
<span v-if="conditionOpt.number !== null && conditionOpt.number !== undefined && selectIndex !== 'All'">(<font style="color: red">{{ conditionOpt.number}}</font>)</span> <!-- <span v-if="conditionOpt.number !== null && conditionOpt.number !== undefined && selectIndex !== 'All'">(<font style="color: red">{{ conditionOpt.number}}</font>)</span>-->
</span> </span>
</li> </li>
</ul> </ul>
@@ -89,13 +89,13 @@
<!-- <el-button type="primary" size="small" @click="exportSearchResult" class="common-button-default export-button"--> <!-- <el-button type="primary" size="small" @click="exportSearchResult" class="common-button-default export-button"-->
<!-- round><i class="iconfont">&#xe6e9;</i>导出</el-button>--> <!-- round><i class="iconfont">&#xe6e9;</i>导出</el-button>-->
</div> </div>
<div class="operate-area" style="padding: 0 10px 10px 10px"> <!-- <div class="operate-area" style="padding: 0 10px 10px 10px">-->
<el-button <!-- <el-button-->
size="mini" <!-- size="mini"-->
type="primary" <!-- type="primary"-->
@click="openStandSystemModel">选择标准体系 <!-- @click="openStandSystemModel">选择标准体系-->
</el-button> <!-- </el-button>-->
</div> <!-- </div>-->
<el-table <el-table
ref="selection" ref="selection"
:data="resultData" :data="resultData"
@@ -130,8 +130,9 @@
align="center" align="center"
:label="(selectIndex === 'stand'||'bussstand') && selectIndex !== 'laws' ? $t('m.standName') : (selectIndex === 'laws' ? '中文名称' : $t('m.enterpriseStandardName'))"> :label="(selectIndex === 'stand'||'bussstand') && selectIndex !== 'laws' ? $t('m.standName') : (selectIndex === 'laws' ? '中文名称' : $t('m.enterpriseStandardName'))">
<template slot-scope="scope"> <template slot-scope="scope">
<a class="jumpColor" style="margin-left: 10px" @click="judgeRolePermiOnSar(scope.row, 1)">{{ selectIndex === 'laws' ? scope.row.lawsName : scope.row.nameshow }}</a> <!--<a class="jumpColor" style="margin-left: 10px" @click="judgeRolePermiOnSar(scope.row, 1)">{{ selectIndex === 'laws' ? scope.row.lawsName : scope.row.nameshow }}</a>-->
</template> <a v-if="selectIndex === 'laws'" class="jumpColor" style="margin-left: 10px" @click="judgeRolePermiOnSar(scope.row, 1)">{{scope.row.lawsName }}</a>
<a v-else class="jumpColor" style="margin-left: 10px" @click="judgeRolePermiOnSar(scope.row, 1)">{{ scope.row.standName || scope.row.stand_name || scope.row.nameshow || scope.row.standEnName || scope.row.stand_en_name }}</a></template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
min-width="12%" min-width="12%"