@@ -2346,6 +2346,7 @@
|
|||||||
this.qcdwOption = res.data.QCDW // 体系类别
|
this.qcdwOption = res.data.QCDW // 体系类别
|
||||||
this.gkglbmOptions = res.data.GKGLBM // 归口管理部门
|
this.gkglbmOptions = res.data.GKGLBM // 归口管理部门
|
||||||
this.cbcdOptions = res.data.DEGREESTANDARD // 采标程度
|
this.cbcdOptions = res.data.DEGREESTANDARD // 采标程度
|
||||||
|
this.txlbOptions = res.data.TXLBCLASS // 体系类别
|
||||||
this.setMap(this.standStateOptions)
|
this.setMap(this.standStateOptions)
|
||||||
})
|
})
|
||||||
this.busVsFunc()
|
this.busVsFunc()
|
||||||
|
|||||||
@@ -382,15 +382,13 @@ export default {
|
|||||||
},
|
},
|
||||||
// 移除上传的文件
|
// 移除上传的文件
|
||||||
handleBeforeRemove(file, fileList) {
|
handleBeforeRemove(file, fileList) {
|
||||||
this.fileListData.fileText = fileList
|
this.fileData = fileList
|
||||||
this.fileTextList = fileList
|
this.fileTextList.forEach((item, index) => {
|
||||||
/* this.newDataList.forEach((item, index) => {
|
if (item.name === file.name || item.id === file.id ) {
|
||||||
if (file.name === item.name || file.id === item.id) {
|
console.log()
|
||||||
this.newDataList.splice(index, 1)
|
this.fileTextList.splice(index,1)
|
||||||
console.log(this.dataList)
|
|
||||||
|
|
||||||
}
|
}
|
||||||
})*/
|
})
|
||||||
},
|
},
|
||||||
handleONRemove() {},
|
handleONRemove() {},
|
||||||
/************ ********* *****************/
|
/************ ********* *****************/
|
||||||
|
|||||||
@@ -360,8 +360,8 @@ export default {
|
|||||||
this.backLoading = true
|
this.backLoading = true
|
||||||
if (this.commentText) {
|
if (this.commentText) {
|
||||||
var json = {
|
var json = {
|
||||||
responUserInfo: {
|
responUserList: {
|
||||||
info: this.dataList
|
standardInfoList: this.dataList
|
||||||
},
|
},
|
||||||
actionFlag: 1,
|
actionFlag: 1,
|
||||||
commentText: this.commentText
|
commentText: this.commentText
|
||||||
|
|||||||
+1
-2
@@ -386,8 +386,7 @@ export default {
|
|||||||
form.current = this.sarProStateTotalPage;
|
form.current = this.sarProStateTotalPage;
|
||||||
form.size = this.sarProStatePageSize;
|
form.size = this.sarProStatePageSize;
|
||||||
this.$http.get("sarStandardComplianceAssessResult/product", form, {
|
this.$http.get("sarStandardComplianceAssessResult/product", form, {
|
||||||
_this: this,
|
_this: this
|
||||||
loading: "loading"
|
|
||||||
}, res => {
|
}, res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
// res.data.records.forEach((item)=>{
|
// res.data.records.forEach((item)=>{
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
</h5>
|
</h5>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="!kindtext" style="position: absolute;right: 110px;display: flex">
|
<div v-if="!kindtext" style="position: absolute;right: 110px;display: flex">
|
||||||
<el-input v-model="standForm.selectValue" :placeholder="$t('m.standSelect')" @keyup.enter.native="btnSearch"
|
<el-input v-model.trim="standForm.selectValue" :placeholder="$t('m.standSelect')" @keyup.enter.native="btnSearch"
|
||||||
clearable>
|
clearable>
|
||||||
</el-input>
|
</el-input>
|
||||||
<el-button type="primary" @click="btnSearch" style="width: 98px;background:#3391CE
|
<el-button type="primary" @click="btnSearch" style="width: 98px;background:#3391CE
|
||||||
@@ -53,7 +53,7 @@
|
|||||||
<el-row type="flex" justify="space-around" class="code-row-bg">
|
<el-row type="flex" justify="space-around" class="code-row-bg">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="标准类别" prop="standSort">
|
<el-form-item label="标准类别" prop="standSort">
|
||||||
<el-select :popper-append-to-body="false" v-model="standForm.standSort" placeholder="请选择标准类别">
|
<el-select :popper-append-to-body="false" v-model="standForm.standSort" placeholder="请选择标准类别" clearable>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in standSortOptions"
|
v-for="item in standSortOptions"
|
||||||
placeholder="请选择"
|
placeholder="请选择"
|
||||||
@@ -75,11 +75,11 @@
|
|||||||
<el-row type="flex" justify="space-around" class="code-row-bg">
|
<el-row type="flex" justify="space-around" class="code-row-bg">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="标准年份" prop="standYear">
|
<el-form-item label="标准年份" prop="standYear">
|
||||||
<el-date-picker
|
<el-input
|
||||||
v-model="standForm.standYear"
|
v-model.number="standForm.standYear"
|
||||||
type="date"
|
placeholder="请输入标准标准年份"
|
||||||
placeholder="根据标准年份查找">
|
clearable
|
||||||
</el-date-picker>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
@@ -104,7 +104,7 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="标准性质" prop="standNumber">
|
<el-form-item label="标准性质" prop="standNumber">
|
||||||
<el-select :popper-append-to-body="false" v-model="standForm.standNature" placeholder="请选择标准性质">
|
<el-select :popper-append-to-body="false" v-model="standForm.standNature" placeholder="请选择标准性质" clearable>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in standNatureOptions"
|
v-for="item in standNatureOptions"
|
||||||
placeholder="请选择"
|
placeholder="请选择"
|
||||||
@@ -119,7 +119,7 @@
|
|||||||
<el-row type="flex" justify="space-around" class="code-row-bg">
|
<el-row type="flex" justify="space-around" class="code-row-bg">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="文本状态" prop="textStatus">
|
<el-form-item label="文本状态" prop="textStatus">
|
||||||
<el-select :popper-append-to-body="false" v-model="standForm.textStatus" placeholder="请选择文本状态">
|
<el-select :popper-append-to-body="false" v-model="standForm.textStatus" placeholder="请选择文本状态" clearable>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in standStateOptions"
|
v-for="item in standStateOptions"
|
||||||
placeholder="请选择"
|
placeholder="请选择"
|
||||||
@@ -144,7 +144,7 @@
|
|||||||
<el-row type="flex" justify="space-around" class="code-row-bg">
|
<el-row type="flex" justify="space-around" class="code-row-bg">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="是否纳入标准清单" prop="bringIntoList">
|
<el-form-item label="是否纳入标准清单" prop="bringIntoList">
|
||||||
<el-select v-model="standForm.isRelateAccess" class="advanced-one" placeholder="请选择是否纳入标准清单">
|
<el-select v-model="standForm.isRelateAccess" class="advanced-one" placeholder="请选择是否纳入标准清单" clearable>
|
||||||
<el-option value="1" label="是"></el-option>
|
<el-option value="1" label="是"></el-option>
|
||||||
<el-option value="2" label="否"></el-option>
|
<el-option value="2" label="否"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
@@ -186,14 +186,14 @@
|
|||||||
<el-row type="flex" justify="space-around" class="code-row-bg">
|
<el-row type="flex" justify="space-around" class="code-row-bg">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="归口管理部门" prop="gkdw">
|
<el-form-item label="归口管理部门" prop="gkdw">
|
||||||
<el-select :popper-append-to-body="false" v-model="standForm.gkdw" placeholder="请选择归口管理部门">
|
<el-select :popper-append-to-body="false" v-model="standForm.gkdw" placeholder="请选择归口管理部门" clearable>
|
||||||
<el-option v-for="item in gkglbmOptions" :value="item.value" :key="item.value" :label="item.label"></el-option>
|
<el-option v-for="item in gkglbmOptions" :value="item.value" :key="item.value" :label="item.label"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="起草单位" prop="qcdw">
|
<el-form-item label="起草单位" prop="qcdw">
|
||||||
<el-select :popper-append-to-body="false" v-model="standForm.qcdw" placeholder="请选择起草单位" multiple>
|
<el-select :popper-append-to-body="false" v-model="standForm.qcdw" placeholder="请选择起草单位" multiple clearable>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in qcdwOption"
|
v-for="item in qcdwOption"
|
||||||
placeholder="请选择"
|
placeholder="请选择"
|
||||||
@@ -208,7 +208,7 @@
|
|||||||
<el-row type="flex" justify="space-around" class="code-row-bg">
|
<el-row type="flex" justify="space-around" class="code-row-bg">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="我司参与深度" prop="cysd">
|
<el-form-item label="我司参与深度" prop="cysd">
|
||||||
<el-select :popper-append-to-body="false" v-model="standForm.cysd" placeholder="请选择我司参与深度">
|
<el-select :popper-append-to-body="false" v-model="standForm.cysd" placeholder="请选择我司参与深度" clearable>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in cysdOptions"
|
v-for="item in cysdOptions"
|
||||||
placeholder="请选择"
|
placeholder="请选择"
|
||||||
@@ -221,7 +221,7 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="适用车型" prop="cllx">
|
<el-form-item label="适用车型" prop="cllx">
|
||||||
<el-select :popper-append-to-body="false" v-model="standForm.cllx" placeholder="请选择适用车型" multiple>
|
<el-select :popper-append-to-body="false" v-model="standForm.cllx" placeholder="请选择适用车型" multiple clearable>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in applyArcticOptions"
|
v-for="item in applyArcticOptions"
|
||||||
placeholder="请选择"
|
placeholder="请选择"
|
||||||
@@ -236,7 +236,7 @@
|
|||||||
<el-row type="flex" justify="space-around" class="code-row-bg">
|
<el-row type="flex" justify="space-around" class="code-row-bg">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="能源类型" prop="nylx">
|
<el-form-item label="能源类型" prop="nylx">
|
||||||
<el-select :popper-append-to-body="false" v-model="standForm.nylx" placeholder="请选择能源类型" multiple>
|
<el-select :popper-append-to-body="false" v-model="standForm.nylx" placeholder="请选择能源类型" multiple clearable>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in categoryOptions"
|
v-for="item in categoryOptions"
|
||||||
placeholder="请选择"
|
placeholder="请选择"
|
||||||
@@ -249,7 +249,7 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="适用产品线" prop="sycpx">
|
<el-form-item label="适用产品线" prop="sycpx">
|
||||||
<el-select :popper-append-to-body="false" v-model="standForm.sycpx" placeholder="请选择适用产品线" multiple>
|
<el-select :popper-append-to-body="false" v-model="standForm.sycpx" placeholder="请选择适用产品线" multiple clearable>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in sycpxOptions"
|
v-for="item in sycpxOptions"
|
||||||
placeholder="请选择"
|
placeholder="请选择"
|
||||||
@@ -264,7 +264,7 @@
|
|||||||
<el-row type="flex" justify="space-around" class="code-row-bg">
|
<el-row type="flex" justify="space-around" class="code-row-bg">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="适用认证" prop="syrz">
|
<el-form-item label="适用认证" prop="syrz">
|
||||||
<el-select :popper-append-to-body="false" v-model="standForm.syrz" placeholder="请选择适用认证" multiple>
|
<el-select :popper-append-to-body="false" v-model="standForm.syrz" placeholder="请选择适用认证" multiple clearable>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in applyAuthOptions"
|
v-for="item in applyAuthOptions"
|
||||||
placeholder="请选择"
|
placeholder="请选择"
|
||||||
@@ -277,7 +277,7 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="责任部门" prop="zrbm">
|
<el-form-item label="责任部门" prop="zrbm">
|
||||||
<el-select :popper-append-to-body="false" v-model="standForm.zrbm" placeholder="请选择责任部门" multiple>
|
<el-select :popper-append-to-body="false" v-model="standForm.zrbm" placeholder="请选择责任部门" multiple clearable>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in zrbmOptions"
|
v-for="item in zrbmOptions"
|
||||||
placeholder="请选择"
|
placeholder="请选择"
|
||||||
@@ -292,7 +292,7 @@
|
|||||||
<el-row type="flex" justify="space-around" class="code-row-bg">
|
<el-row type="flex" justify="space-around" class="code-row-bg">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="责任工程师" prop="zrgcs">
|
<el-form-item label="责任工程师" prop="zrgcs">
|
||||||
<el-select :popper-append-to-body="false" v-model="standForm.zrgcs" placeholder="请选择责任工程师" multiple>
|
<el-select :popper-append-to-body="false" v-model="standForm.zrgcs" placeholder="请选择责任工程师" multiple clearable>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in zrgcsOptions"
|
v-for="item in zrgcsOptions"
|
||||||
placeholder="请选择"
|
placeholder="请选择"
|
||||||
@@ -380,7 +380,7 @@
|
|||||||
<el-row type="flex" justify="space-around" class="code-row-bg">
|
<el-row type="flex" justify="space-around" class="code-row-bg">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="采标程度" prop="standNumber">
|
<el-form-item label="采标程度" prop="standNumber">
|
||||||
<el-select :popper-append-to-body="false" v-model="standForm.cbcd" placeholder="请选择采标程度">
|
<el-select :popper-append-to-body="false" v-model="standForm.cbcd" placeholder="请选择采标程度" clearable>
|
||||||
<el-option v-for="item in cbcdOptions" :key="item.value" :label="item.label" :value="item.value"></el-option>
|
<el-option v-for="item in cbcdOptions" :key="item.value" :label="item.label" :value="item.value"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -899,8 +899,8 @@
|
|||||||
v-if="selectIndex !== 'items'"
|
v-if="selectIndex !== 'items'"
|
||||||
width="130">
|
width="130">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div v-if="scope.row.issue_time !== null && scope.row.issue_time !== undefined">
|
<div v-if="scope.row.issue_time !== null && scope.row.issueTime !== undefined">
|
||||||
{{ $dateFormat(new Date(scope.row.issue_time), "yyyy-MM-dd") }}
|
{{ $dateFormat(new Date(scope.row.issueTime), "yyyy-MM-dd") }}
|
||||||
</div>
|
</div>
|
||||||
<div v-else></div>
|
<div v-else></div>
|
||||||
</template>
|
</template>
|
||||||
@@ -910,8 +910,8 @@
|
|||||||
:label="$t('m.putTime')"
|
:label="$t('m.putTime')"
|
||||||
width="130">
|
width="130">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div v-if="scope.row.put_time !== null && scope.row.put_time !== undefined">
|
<div v-if="scope.row.SSRQ !== null && scope.row.SSRQ !== undefined && scope.row.SSRQ !== ''">
|
||||||
{{ $dateFormat(new Date(scope.row.put_time), "yyyy-MM-dd") }}
|
{{ $dateFormat(new Date(scope.row.SSRQ), "yyyy-MM-dd") }}
|
||||||
</div>
|
</div>
|
||||||
<div v-else></div>
|
<div v-else></div>
|
||||||
</template>
|
</template>
|
||||||
@@ -919,7 +919,7 @@
|
|||||||
<el-table-column
|
<el-table-column
|
||||||
align="center"
|
align="center"
|
||||||
width="180"
|
width="180"
|
||||||
:label="selectIndex === 'INLAND_STAND' ? '标准状态' : (this.selectIndex === 'INLAND_LAWS' ? '文件状态' : '企业标准状态')">
|
:label="selectIndex === 'INLAND_STAND' ? '文本状态' : (this.selectIndex === 'INLAND_LAWS' ? '文件状态' : '企业标准状态')">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div>
|
<div>
|
||||||
{{ scope.row.standstateshow }}
|
{{ scope.row.standstateshow }}
|
||||||
@@ -937,7 +937,16 @@
|
|||||||
<i class="iconfont"></i>
|
<i class="iconfont"></i>
|
||||||
<el-dropdown-menu slot="dropdown">
|
<el-dropdown-menu slot="dropdown">
|
||||||
<el-dropdown-item :command="beforeHandleCommand('l',scope.row)">查看</el-dropdown-item>
|
<el-dropdown-item :command="beforeHandleCommand('l',scope.row)">查看</el-dropdown-item>
|
||||||
<el-dropdown-item :command="beforeHandleCommand('a',scope.row)">取消收藏</el-dropdown-item>
|
<el-dropdown-item v-if="scope.row.collectBtn"
|
||||||
|
:command="beforeHandleCommand('d',scope.row)"
|
||||||
|
>
|
||||||
|
收藏
|
||||||
|
</el-dropdown-item>
|
||||||
|
<el-dropdown-item v-else
|
||||||
|
:command="beforeHandleCommand('a',scope.row)"
|
||||||
|
>
|
||||||
|
取消收藏
|
||||||
|
</el-dropdown-item>
|
||||||
<!-- <el-dropdown-item :command="beforeHandleCommand('b',scope.row)">分享</el-dropdown-item>-->
|
<!-- <el-dropdown-item :command="beforeHandleCommand('b',scope.row)">分享</el-dropdown-item>-->
|
||||||
</el-dropdown-menu>
|
</el-dropdown-menu>
|
||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
@@ -948,8 +957,16 @@
|
|||||||
<i class="iconfont"></i>
|
<i class="iconfont"></i>
|
||||||
<el-dropdown-menu slot="dropdown">
|
<el-dropdown-menu slot="dropdown">
|
||||||
<el-dropdown-item :command="beforeHandleCommand('l',scope.row)">查看</el-dropdown-item>
|
<el-dropdown-item :command="beforeHandleCommand('l',scope.row)">查看</el-dropdown-item>
|
||||||
<el-dropdown-item v-btn-permission="'FB3R3TVALD'" :command="beforeHandleCommand('d',scope.row)">收藏</el-dropdown-item>
|
<el-dropdown-item v-if="scope.row.collectBtn"
|
||||||
<!-- <el-dropdown-item :command="beforeHandleCommand('b',scope.row)">分享</el-dropdown-item>-->
|
:command="beforeHandleCommand('d',scope.row)"
|
||||||
|
>
|
||||||
|
收藏
|
||||||
|
</el-dropdown-item>
|
||||||
|
<el-dropdown-item v-else
|
||||||
|
:command="beforeHandleCommand('a',scope.row)"
|
||||||
|
>
|
||||||
|
取消收藏
|
||||||
|
</el-dropdown-item><!-- <el-dropdown-item :command="beforeHandleCommand('b',scope.row)">分享</el-dropdown-item>-->
|
||||||
</el-dropdown-menu>
|
</el-dropdown-menu>
|
||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
|
|
||||||
@@ -960,7 +977,16 @@
|
|||||||
<el-button size="mini" @click="itemsDetails(scope.row)">查看</el-button>
|
<el-button size="mini" @click="itemsDetails(scope.row)">查看</el-button>
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
<el-button size="mini" type="primary" v-if="scope.row.collectId" @click="clickCollection(scope.row)">取消收藏</el-button>
|
<el-dropdown-item v-if="scope.row.collectBtn"
|
||||||
|
:command="beforeHandleCommand('d',scope.row)"
|
||||||
|
>
|
||||||
|
收藏
|
||||||
|
</el-dropdown-item>
|
||||||
|
<el-dropdown-item v-else
|
||||||
|
:command="beforeHandleCommand('a',scope.row)"
|
||||||
|
>
|
||||||
|
取消收藏
|
||||||
|
</el-dropdown-item>
|
||||||
<el-button size="mini" type="primary" v-else @click="clickCollection(scope.row)">收藏</el-button>
|
<el-button size="mini" type="primary" v-else @click="clickCollection(scope.row)">收藏</el-button>
|
||||||
<!-- <el-button sizi="mini" @click="clickShare(scope.row)">分享</el-button>-->
|
<!-- <el-button sizi="mini" @click="clickShare(scope.row)">分享</el-button>-->
|
||||||
</div>
|
</div>
|
||||||
@@ -1306,9 +1332,7 @@ export default {
|
|||||||
const inlandList = data['INLAND_STAND'] || []
|
const inlandList = data['INLAND_STAND'] || []
|
||||||
const foreignList = data['FOREIGN_STAND'] || []
|
const foreignList = data['FOREIGN_STAND'] || []
|
||||||
const foreignFilterList = foreignList.filter ( item => item.attrField === 'GXHBQ' || item.attrField === 'ZBJBD' || item.attrField === 'KWJ' || item.attrField === 'TXLB');
|
const foreignFilterList = foreignList.filter ( item => item.attrField === 'GXHBQ' || item.attrField === 'ZBJBD' || item.attrField === 'KWJ' || item.attrField === 'TXLB');
|
||||||
console.log(foreignFilterList)
|
|
||||||
this.formFieldListStandData = this.formFieldListStandData.concat(inlandList).concat(foreignFilterList);
|
this.formFieldListStandData = this.formFieldListStandData.concat(inlandList).concat(foreignFilterList);
|
||||||
console.log(this.formFieldListStandData,'-----------------------------------1')
|
|
||||||
}
|
}
|
||||||
}, e => {})
|
}, e => {})
|
||||||
},
|
},
|
||||||
@@ -1720,6 +1744,13 @@ export default {
|
|||||||
this.total = res.data.count;
|
this.total = res.data.count;
|
||||||
this.resultData = res.data.list;
|
this.resultData = res.data.list;
|
||||||
this.resultData.map((item) => {
|
this.resultData.map((item) => {
|
||||||
|
if (item.collectId != null && item.collectId !== '') {
|
||||||
|
item.collectBtn = false
|
||||||
|
item.cancelCollectBtn = true
|
||||||
|
} else {
|
||||||
|
item.collectBtn = true
|
||||||
|
item.cancelCollectBtn = false
|
||||||
|
}
|
||||||
if (item.applyArcticShow) {
|
if (item.applyArcticShow) {
|
||||||
item.applyArcticShow.toString();
|
item.applyArcticShow.toString();
|
||||||
item.applyArcticShow = item.applyArcticShow.slice(0, item.applyArcticShow.length - 1);
|
item.applyArcticShow = item.applyArcticShow.slice(0, item.applyArcticShow.length - 1);
|
||||||
@@ -1936,13 +1967,13 @@ export default {
|
|||||||
}
|
}
|
||||||
let pagetype = "";
|
let pagetype = "";
|
||||||
if (item.type === "stand") {
|
if (item.type === "stand") {
|
||||||
if (item.stand_type === "INLAND") {
|
if (item.standType === "INLAND") {
|
||||||
pagetype = "INLAND_STAND";
|
pagetype = "INLAND_STAND";
|
||||||
} else {
|
} else {
|
||||||
pagetype = "FOREIGN_STAND";
|
pagetype = "FOREIGN_STAND";
|
||||||
}
|
}
|
||||||
} else if (item.type === "laws") {
|
} else if (item.type === "laws") {
|
||||||
if (item.laws_type === "INLAND") {
|
if (item.lawsType === "INLAND") {
|
||||||
pagetype = "INLAND_LAWS";
|
pagetype = "INLAND_LAWS";
|
||||||
} else {
|
} else {
|
||||||
pagetype = "FOREIGN_LAWS";
|
pagetype = "FOREIGN_LAWS";
|
||||||
@@ -1959,6 +1990,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
personCollect.collectType = pagetype;
|
personCollect.collectType = pagetype;
|
||||||
|
personCollect.userId = this.$store.getters.userInfo.userId
|
||||||
this.$http.postData("person/personCollect", personCollect, {
|
this.$http.postData("person/personCollect", personCollect, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
@@ -1970,21 +2002,20 @@ export default {
|
|||||||
},
|
},
|
||||||
// 取消收藏
|
// 取消收藏
|
||||||
cancelCollectStandard(item) {
|
cancelCollectStandard(item) {
|
||||||
// this.judgeBussRole(item)
|
item.isSubmit = true
|
||||||
// if (this.bussRoleFlag === false) {
|
this.$http.put('person/personCollect/updateByUserId', {
|
||||||
// this.$message.error('当前角色无权限操作此数据')
|
id: item.collectId
|
||||||
// } else {
|
}, {
|
||||||
// }
|
_this: this
|
||||||
this.$http.put("person/personCollect/updateByUserId", {
|
}, res => {
|
||||||
id: item.collectId
|
item.isSubmit = false
|
||||||
}, {
|
item.collectBtn = !item.collectBtn
|
||||||
_this: this
|
item.cancelCollectBtn = !item.cancelCollectBtn
|
||||||
}, res => {
|
item.collectId = ''
|
||||||
item.collectBtn = !item.collectBtn;
|
this.$message.success(res.message)
|
||||||
item.cancelCollectBtn = !item.cancelCollectBtn;
|
}, e => {
|
||||||
item.collectId = "";
|
item.isSubmit = false
|
||||||
}, e => {
|
})
|
||||||
});
|
|
||||||
},
|
},
|
||||||
// 取消
|
// 取消
|
||||||
treeCancel() {
|
treeCancel() {
|
||||||
@@ -2278,6 +2309,26 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
"standForm.zccssrq"(newVal) {
|
||||||
|
if (newVal == null) {
|
||||||
|
this.standForm.zccssrq = "";
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"standForm.xcxssrq"(newVal) {
|
||||||
|
if (newVal == null) {
|
||||||
|
this.standForm.xcxssrq = "";
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"standForm.ssrq"(newVal) {
|
||||||
|
if (newVal == null) {
|
||||||
|
this.standForm.ssrq = "";
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"standForm.issueTime"(newVal) {
|
||||||
|
if (newVal == null) {
|
||||||
|
this.standForm.issueTime = "";
|
||||||
|
}
|
||||||
|
},
|
||||||
// 资源大类监听, 改变后过滤条件
|
// 资源大类监听, 改变后过滤条件
|
||||||
selectIndex(val) {
|
selectIndex(val) {
|
||||||
let type = "";
|
let type = "";
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
<el-input
|
<el-input
|
||||||
placeholder="请输入查询条件"
|
placeholder="请输入查询条件"
|
||||||
clearable
|
clearable
|
||||||
v-model="keywords"
|
v-model.trim="keywords"
|
||||||
@keyup.enter.native="searchSarByInputKeyByCondition">
|
@keyup.enter.native="searchSarByInputKeyByCondition">
|
||||||
</el-input>
|
</el-input>
|
||||||
</div>
|
</div>
|
||||||
@@ -156,8 +156,17 @@
|
|||||||
<!-- </el-button>-->
|
<!-- </el-button>-->
|
||||||
<el-dropdown-menu slot="dropdown">
|
<el-dropdown-menu slot="dropdown">
|
||||||
<el-dropdown-item :command="beforeHandleCommand('see',scope.row)">查看</el-dropdown-item>
|
<el-dropdown-item :command="beforeHandleCommand('see',scope.row)">查看</el-dropdown-item>
|
||||||
<el-dropdown-item :command="beforeHandleCommand('a',scope.row)">取消收藏</el-dropdown-item>
|
<el-dropdown-item v-if="scope.row.collectBtn"
|
||||||
<!-- <el-dropdown-item :command="beforeHandleCommand('b',scope.row)">分享</el-dropdown-item>-->
|
:command="beforeHandleCommand('d',scope.row)"
|
||||||
|
>
|
||||||
|
收藏
|
||||||
|
</el-dropdown-item>
|
||||||
|
<el-dropdown-item v-else
|
||||||
|
:command="beforeHandleCommand('a',scope.row)"
|
||||||
|
>
|
||||||
|
取消收藏
|
||||||
|
</el-dropdown-item>
|
||||||
|
<!-- <el-dropdown-item :command="beforeHandleCommand('b',scope.row)">分享</el-dropdown-item>-->
|
||||||
</el-dropdown-menu>
|
</el-dropdown-menu>
|
||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
</div>
|
</div>
|
||||||
@@ -170,8 +179,17 @@
|
|||||||
<!-- </el-button>-->
|
<!-- </el-button>-->
|
||||||
<el-dropdown-menu slot="dropdown">
|
<el-dropdown-menu slot="dropdown">
|
||||||
<el-dropdown-item :command="beforeHandleCommand('see',scope.row)">查看</el-dropdown-item>
|
<el-dropdown-item :command="beforeHandleCommand('see',scope.row)">查看</el-dropdown-item>
|
||||||
<el-dropdown-item :command="beforeHandleCommand('d',scope.row)">收藏</el-dropdown-item>
|
<el-dropdown-item v-if="scope.row.collectBtn"
|
||||||
<!-- <el-dropdown-item :command="beforeHandleCommand('b',scope.row)">分享</el-dropdown-item>-->
|
:command="beforeHandleCommand('d',scope.row)"
|
||||||
|
>
|
||||||
|
收藏
|
||||||
|
</el-dropdown-item>
|
||||||
|
<el-dropdown-item v-else
|
||||||
|
:command="beforeHandleCommand('a',scope.row)"
|
||||||
|
>
|
||||||
|
取消收藏
|
||||||
|
</el-dropdown-item>
|
||||||
|
<!-- <el-dropdown-item :command="beforeHandleCommand('b',scope.row)">分享</el-dropdown-item>-->
|
||||||
</el-dropdown-menu>
|
</el-dropdown-menu>
|
||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
</div>
|
</div>
|
||||||
@@ -1003,7 +1021,6 @@
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
this.searchOriginOptions = this.searchOptions
|
this.searchOriginOptions = this.searchOptions
|
||||||
console.log(this.searchOriginOptions)
|
|
||||||
this.saveAllSortOptions = res.data.STANDCLASSIFY
|
this.saveAllSortOptions = res.data.STANDCLASSIFY
|
||||||
this.saveAllFineOptions = res.data.BUSSFINECLASSSHOW
|
this.saveAllFineOptions = res.data.BUSSFINECLASSSHOW
|
||||||
this.lawssStateOptions = res.data.LAWSSTATE // 文本状态数组
|
this.lawssStateOptions = res.data.LAWSSTATE // 文本状态数组
|
||||||
@@ -1241,6 +1258,15 @@
|
|||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
this.total = res.data.count
|
this.total = res.data.count
|
||||||
this.resultData = res.data.list
|
this.resultData = res.data.list
|
||||||
|
this.resultData.map((item) => {
|
||||||
|
if (item.collectId != null && item.collectId !== '') {
|
||||||
|
item.collectBtn = false
|
||||||
|
item.cancelCollectBtn = true
|
||||||
|
} else {
|
||||||
|
item.collectBtn = true
|
||||||
|
item.cancelCollectBtn = false
|
||||||
|
}
|
||||||
|
});
|
||||||
this.selectGroupdata(res.data)
|
this.selectGroupdata(res.data)
|
||||||
} else {
|
} else {
|
||||||
this.total = 0
|
this.total = 0
|
||||||
@@ -1877,7 +1903,6 @@
|
|||||||
let pagetype = ''
|
let pagetype = ''
|
||||||
pagetype = item.typeShow
|
pagetype = item.typeShow
|
||||||
if (item.typeShow === 'INLAND_STAND') {
|
if (item.typeShow === 'INLAND_STAND') {
|
||||||
console.log('guonei权限')
|
|
||||||
routername = 'OtherStandardDetails'
|
routername = 'OtherStandardDetails'
|
||||||
// if (this.$hasPermission('CFEZ3VP7EA95CTRBH3JB')) {
|
// if (this.$hasPermission('CFEZ3VP7EA95CTRBH3JB')) {
|
||||||
// routername = 'OtherStandardDetails'
|
// routername = 'OtherStandardDetails'
|
||||||
@@ -2051,6 +2076,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
personCollect.collectType = pagetype
|
personCollect.collectType = pagetype
|
||||||
|
personCollect.userId = this.$store.getters.userInfo.userId
|
||||||
this.$http.postData('person/personCollect', personCollect, {
|
this.$http.postData('person/personCollect', personCollect, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
@@ -2120,7 +2146,6 @@
|
|||||||
type: 'warning'
|
type: 'warning'
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
console.log(this.selectNowObjResult);
|
|
||||||
let pagetype = ''
|
let pagetype = ''
|
||||||
if (this.selectNowObjResult.type === 'stand') {
|
if (this.selectNowObjResult.type === 'stand') {
|
||||||
if (this.selectNowObjResult.standType === 'INLAND') {
|
if (this.selectNowObjResult.standType === 'INLAND') {
|
||||||
@@ -2241,7 +2266,6 @@
|
|||||||
if (item.type === 'stand') {
|
if (item.type === 'stand') {
|
||||||
// if (this.$hasPermission('HK36LHK9444NPN8X634W')){
|
// if (this.$hasPermission('HK36LHK9444NPN8X634W')){
|
||||||
routername = 'OtherStandardDetails'
|
routername = 'OtherStandardDetails'
|
||||||
console.log('guoneiQUANXIAN')
|
|
||||||
if (item.standType === 'INLAND') {
|
if (item.standType === 'INLAND') {
|
||||||
pagetype = 'INLAND_STAND'
|
pagetype = 'INLAND_STAND'
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user