Merge branch 'develop' into 'test'
Develop See merge request LAWS/laws-system-front-FOTON!162
This commit is contained in:
@@ -44,8 +44,7 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="name"
|
prop="name"
|
||||||
label="链接名称"
|
label="链接名称">
|
||||||
width="220px">
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="链接">
|
label="链接">
|
||||||
|
|||||||
@@ -394,22 +394,29 @@ export default {
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
/deep/.el-select__tags {
|
#mechanism-manage{
|
||||||
overflow-x: hidden;
|
height: 100%;
|
||||||
}
|
.content {
|
||||||
/deep/.width-all{
|
height: calc(~'100% - 105px - 56px')
|
||||||
width: 100%;
|
}
|
||||||
}
|
/deep/.el-select__tags {
|
||||||
.filter-tree {
|
overflow-x: hidden;
|
||||||
height: calc(~'100% - 50px')
|
}
|
||||||
}
|
/deep/.width-all{
|
||||||
.laws-tree{
|
width: 100%;
|
||||||
/deep/.clearable {
|
}
|
||||||
top: 20px;
|
.filter-tree {
|
||||||
|
height: calc(~'100% - 50px')
|
||||||
|
}
|
||||||
|
.laws-tree{
|
||||||
|
/deep/.clearable {
|
||||||
|
top: 20px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.add-form-item {
|
||||||
|
display: flex;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.add-form-item {
|
|
||||||
display: flex;
|
|
||||||
}
|
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -49,24 +49,21 @@
|
|||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="附件" prop="fileName" class="add-form-item form-item-disabled">
|
<el-form-item label="附件" prop="fileName" class="add-form-item form-item-disabled">
|
||||||
<div>
|
<div class="file-box">
|
||||||
<p>
|
<el-upload
|
||||||
{{ listForm.fileName }}
|
:action="uploadFileListPath"
|
||||||
<el-upload
|
show-file-list
|
||||||
:action="uploadFileListPath"
|
:file-list="fileInfoList"
|
||||||
show-file-list
|
name="file"
|
||||||
:file-list="fileInfoList"
|
accept=".PDF, .pdf, .doc, .DOC, .docx, .DOCX, .xls, .xlsx, .ppt, .pptx, .PPT, .PPTX, .JPG, .JPEG, .PNG, .jpg, .jpeg, .png"
|
||||||
name="file"
|
:on-remove="delFileInfo"
|
||||||
accept=".PDF, .pdf, .doc, .DOC, .docx, .DOCX, .xls, .xlsx, .ppt, .pptx, .PPT, .PPTX, .JPG, .JPEG, .PNG, .jpg, .jpeg, .png"
|
:on-success="uploadBackSuccess"
|
||||||
:on-remove="delFileInfo"
|
:before-upload="beforeUpload"
|
||||||
:on-success="uploadBackSuccess"
|
>
|
||||||
:before-upload="beforeUpload"
|
<el-button class="common-button-default" size="mini">
|
||||||
>
|
点击上传
|
||||||
<el-button class="common-button-default" size="mini">
|
</el-button>
|
||||||
点击上传
|
</el-upload>
|
||||||
</el-button>
|
|
||||||
</el-upload>
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="会签" prop="sign" class="add-form-item form-item-disabled">
|
<el-form-item label="会签" prop="sign" class="add-form-item form-item-disabled">
|
||||||
@@ -129,6 +126,9 @@
|
|||||||
prop="issueTime"
|
prop="issueTime"
|
||||||
align="center"
|
align="center"
|
||||||
label="发布日期">
|
label="发布日期">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.issueTime ? $moment(scope.row.issueTime).format("YYYY-MM-DD") : "" }}</span>
|
||||||
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="XCXSSRQ"
|
prop="XCXSSRQ"
|
||||||
@@ -209,22 +209,8 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-card>
|
</el-card>
|
||||||
</el-timeline-item>
|
</el-timeline-item>
|
||||||
<el-timeline-item timestamp="选择会签责任人,填写意见" placement="top"
|
|
||||||
:color="roleForm.dockUser ? '#66b1ff' : ''" v-if="signFlag === '2'">
|
|
||||||
<el-card>
|
|
||||||
<el-form-item prop="dockUserName2" style="margin-bottom: 0">
|
|
||||||
<h4>会签人</h4>
|
|
||||||
<div style="margin-top: 10px;width: 300px;">
|
|
||||||
<el-input v-model="roleForm.dockUser" style="display: none;"></el-input>
|
|
||||||
<el-input v-model="roleForm.dockUserName" placeholder="选择会签责任人"
|
|
||||||
@click.native="choiceZRR('dockUser', '选择责任人', roleForm.dockUser)">
|
|
||||||
</el-input>
|
|
||||||
</div>
|
|
||||||
</el-form-item>
|
|
||||||
</el-card>
|
|
||||||
</el-timeline-item>
|
|
||||||
<el-timeline-item timestamp="根据会签意见修订" placement="top"
|
<el-timeline-item timestamp="根据会签意见修订" placement="top"
|
||||||
:color="roleForm.ministerUser ? '#66b1ff' : ''">
|
:color="roleForm.ministerUser ? '#66b1ff' : ''" v-if="signFlag === '1'">
|
||||||
<el-card>
|
<el-card>
|
||||||
<el-form-item prop="ministerUserName" style="margin-bottom: 0">
|
<el-form-item prop="ministerUserName" style="margin-bottom: 0">
|
||||||
<h4>标准/政策法规工程师</h4>
|
<h4>标准/政策法规工程师</h4>
|
||||||
@@ -305,7 +291,7 @@
|
|||||||
@row-click="rowClick"
|
@row-click="rowClick"
|
||||||
@select="select"
|
@select="select"
|
||||||
@selection-change="selectListChange"
|
@selection-change="selectListChange"
|
||||||
ref="selection"
|
ref="detailedSelection"
|
||||||
>
|
>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
type="selection"
|
type="selection"
|
||||||
@@ -313,7 +299,7 @@
|
|||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="countryArea"
|
prop="countryAreaShow"
|
||||||
label="国家/地区"
|
label="国家/地区"
|
||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -376,7 +362,7 @@
|
|||||||
@row-click="rowClick"
|
@row-click="rowClick"
|
||||||
@select="select"
|
@select="select"
|
||||||
@selection-change="selectListChange"
|
@selection-change="selectListChange"
|
||||||
ref="selection"
|
ref="detailedSelection"
|
||||||
>
|
>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
type="selection"
|
type="selection"
|
||||||
@@ -462,7 +448,7 @@
|
|||||||
@row-click="rowClick"
|
@row-click="rowClick"
|
||||||
@select="select"
|
@select="select"
|
||||||
@selection-change="selectListChange"
|
@selection-change="selectListChange"
|
||||||
ref="selection"
|
ref="detailedSelection"
|
||||||
>
|
>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
type="selection"
|
type="selection"
|
||||||
@@ -815,6 +801,7 @@ export default {
|
|||||||
uploadFileListPath: "api/att/attFile/upload", // 上传的地址
|
uploadFileListPath: "api/att/attFile/upload", // 上传的地址
|
||||||
fileInfoList: [], // 上传的附件
|
fileInfoList: [], // 上传的附件
|
||||||
fileIds: [], // 上传的附件
|
fileIds: [], // 上传的附件
|
||||||
|
fileList: [],
|
||||||
fileListName: [], //上传的附件名称
|
fileListName: [], //上传的附件名称
|
||||||
standardData: [], //添加标准数据
|
standardData: [], //添加标准数据
|
||||||
standardData1: [], //添加标准数据
|
standardData1: [], //添加标准数据
|
||||||
@@ -885,12 +872,38 @@ export default {
|
|||||||
bpnId: this.$route.query.bpnId
|
bpnId: this.$route.query.bpnId
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
let mes = JSON.parse(res.mes);
|
let mes = JSON.parse(res.mes);
|
||||||
|
mes.form.fileName.forEach(itemId => {
|
||||||
|
this.fileIds = itemId.id
|
||||||
|
this.fileInfoList.push(itemId)
|
||||||
|
this.getFileInfo();
|
||||||
|
});
|
||||||
this.listForm = mes.form;
|
this.listForm = mes.form;
|
||||||
this.dataList = mes.form.dataList;
|
this.dataList = mes.form.dataList;
|
||||||
this.roleForm = mes.roleForm;
|
this.roleForm = mes.roleForm;
|
||||||
this.commentText = mes.commentText;
|
this.commentText = mes.commentText;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
// 请求上传的文件信息
|
||||||
|
getFileInfo() {
|
||||||
|
this.$http.get("att/attFile/getMultiFileInfos", {
|
||||||
|
fileIds: this.fileIds
|
||||||
|
}, {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
this.$nextTick(() => {
|
||||||
|
res.data.map(item => {
|
||||||
|
// 赋值要回显的上传文件内容
|
||||||
|
this.fileList.push({
|
||||||
|
name: item.oldFileName,
|
||||||
|
uid: item.uid,
|
||||||
|
status: item.status,
|
||||||
|
id: item.id
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
|
},
|
||||||
checkedRole(data) {
|
checkedRole(data) {
|
||||||
if (this.type === "dockUser") {
|
if (this.type === "dockUser") {
|
||||||
this.roleForm.dockUser = this.roleRow.id;
|
this.roleForm.dockUser = this.roleRow.id;
|
||||||
@@ -998,7 +1011,22 @@ export default {
|
|||||||
}, {
|
}, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.sarAccessListDatas = res.data.records;
|
let arr = res.data.records;
|
||||||
|
//国家地区字段转换
|
||||||
|
arr.map(item => {
|
||||||
|
if (item.countryArea !== null || item.countryArea !== "") {
|
||||||
|
let k = (item.countryArea || "").split(',')
|
||||||
|
for (let i in this.countryOptions) {
|
||||||
|
for (let m = 0; m < k.length; m++) {
|
||||||
|
if (this.countryOptions[i].value === k[m]) {
|
||||||
|
k[m] = this.countryOptions[i].label
|
||||||
|
}
|
||||||
|
item.countryAreaShow = k.join(',')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
this.sarAccessListDatas = arr;
|
||||||
this.total = res.data.total;
|
this.total = res.data.total;
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
@@ -1256,6 +1284,17 @@ export default {
|
|||||||
cancelStand() {
|
cancelStand() {
|
||||||
this.standModel = false;
|
this.standModel = false;
|
||||||
},
|
},
|
||||||
|
// 点击清单名称跳转事件
|
||||||
|
showTable(item) {
|
||||||
|
sessionStorage.setItem("accessRow", JSON.stringify(item));
|
||||||
|
this.$store.commit("setDetailMap", this.$route.path);
|
||||||
|
this.$router.push({
|
||||||
|
name: "AccessStandardDetails",
|
||||||
|
params: {
|
||||||
|
id: item.id
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
//添加标准确定事件
|
//添加标准确定事件
|
||||||
okStand() {
|
okStand() {
|
||||||
if (this.standList.length < 1) {
|
if (this.standList.length < 1) {
|
||||||
@@ -1344,6 +1383,7 @@ export default {
|
|||||||
this.listForm.inforlist = formId.join(",");
|
this.listForm.inforlist = formId.join(",");
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
|
this.$refs.detailedSelection.clearSelection()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning("请选择一条数据进行带入");
|
this.$message.warning("请选择一条数据进行带入");
|
||||||
}
|
}
|
||||||
@@ -1413,7 +1453,6 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
pageChange(page) {
|
pageChange(page) {
|
||||||
console.log(page);
|
|
||||||
this.page = page;
|
this.page = page;
|
||||||
this.selectionList();
|
this.selectionList();
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -209,20 +209,6 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-card>
|
</el-card>
|
||||||
</el-timeline-item>
|
</el-timeline-item>
|
||||||
<!-- <el-timeline-item timestamp="选择会签责任人,填写意见" placement="top"-->
|
|
||||||
<!-- :color="roleForm.dockUser ? '#66b1ff' : ''" v-if="signFlag === '2'">-->
|
|
||||||
<!-- <el-card>-->
|
|
||||||
<!-- <el-form-item prop="dockUserName2" style="margin-bottom: 0">-->
|
|
||||||
<!-- <h4>会签人</h4>-->
|
|
||||||
<!-- <div style="margin-top: 10px;width: 300px;">-->
|
|
||||||
<!-- <el-input v-model="roleForm.dockUser" style="display: none;"></el-input>-->
|
|
||||||
<!-- <el-input v-model="roleForm.dockUserName" placeholder="选择会签责任人"-->
|
|
||||||
<!-- @click.native="choiceZRR('dockUser', '选择责任人', roleForm.dockUser)">-->
|
|
||||||
<!-- </el-input>-->
|
|
||||||
<!-- </div>-->
|
|
||||||
<!-- </el-form-item>-->
|
|
||||||
<!-- </el-card>-->
|
|
||||||
<!-- </el-timeline-item>-->
|
|
||||||
<el-timeline-item timestamp="根据会签意见修订" placement="top"
|
<el-timeline-item timestamp="根据会签意见修订" placement="top"
|
||||||
:color="roleForm.ministerUser ? '#66b1ff' : ''" v-if="signFlag === '1'">
|
:color="roleForm.ministerUser ? '#66b1ff' : ''" v-if="signFlag === '1'">
|
||||||
<el-card>
|
<el-card>
|
||||||
@@ -305,7 +291,7 @@
|
|||||||
@row-click="rowClick"
|
@row-click="rowClick"
|
||||||
@select="select"
|
@select="select"
|
||||||
@selection-change="selectListChange"
|
@selection-change="selectListChange"
|
||||||
ref="selection"
|
ref="detailedSelection"
|
||||||
>
|
>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
type="selection"
|
type="selection"
|
||||||
@@ -376,7 +362,7 @@
|
|||||||
@row-click="rowClick"
|
@row-click="rowClick"
|
||||||
@select="select"
|
@select="select"
|
||||||
@selection-change="selectListChange"
|
@selection-change="selectListChange"
|
||||||
ref="selection"
|
ref="detailedSelection"
|
||||||
>
|
>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
type="selection"
|
type="selection"
|
||||||
@@ -447,7 +433,7 @@
|
|||||||
@row-click="rowClick"
|
@row-click="rowClick"
|
||||||
@select="select"
|
@select="select"
|
||||||
@selection-change="selectListChange"
|
@selection-change="selectListChange"
|
||||||
ref="selection"
|
ref="detailedSelection"
|
||||||
>
|
>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
type="selection"
|
type="selection"
|
||||||
@@ -959,7 +945,7 @@ export default {
|
|||||||
}, res => {
|
}, res => {
|
||||||
let arr = res.data.records;
|
let arr = res.data.records;
|
||||||
//国家地区字段转换
|
//国家地区字段转换
|
||||||
arr.forEach(item => {
|
arr.map(item => {
|
||||||
if (item.countryArea !== null || item.countryArea !== "") {
|
if (item.countryArea !== null || item.countryArea !== "") {
|
||||||
let k = (item.countryArea || "").split(',')
|
let k = (item.countryArea || "").split(',')
|
||||||
for (let i in this.countryOptions) {
|
for (let i in this.countryOptions) {
|
||||||
@@ -1235,6 +1221,17 @@ export default {
|
|||||||
cancelStand() {
|
cancelStand() {
|
||||||
this.standModel = false;
|
this.standModel = false;
|
||||||
},
|
},
|
||||||
|
// 点击清单名称跳转事件
|
||||||
|
showTable(item) {
|
||||||
|
sessionStorage.setItem("accessRow", JSON.stringify(item));
|
||||||
|
this.$store.commit("setDetailMap", this.$route.path);
|
||||||
|
this.$router.push({
|
||||||
|
name: "AccessStandardDetails",
|
||||||
|
params: {
|
||||||
|
id: item.id
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
//添加标准确定事件
|
//添加标准确定事件
|
||||||
okStand() {
|
okStand() {
|
||||||
this.getStandData();
|
this.getStandData();
|
||||||
@@ -1324,6 +1321,7 @@ export default {
|
|||||||
this.listForm.inforlist = formId.join(",");
|
this.listForm.inforlist = formId.join(",");
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
|
this.$refs.detailedSelection.clearSelection()
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning("请选择一条数据进行带入");
|
this.$message.warning("请选择一条数据进行带入");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -779,6 +779,7 @@ export default {
|
|||||||
* @description: 动态表单读取
|
* @description: 动态表单读取
|
||||||
*/
|
*/
|
||||||
getFormFieldList (item) {
|
getFormFieldList (item) {
|
||||||
|
console.log(item.commentText);
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.listForm = JSON.parse(JSON.stringify(item))
|
this.listForm = JSON.parse(JSON.stringify(item))
|
||||||
if(item.form === undefined){
|
if(item.form === undefined){
|
||||||
@@ -791,9 +792,11 @@ export default {
|
|||||||
this.listForm.jlUserId = item.jlUserId
|
this.listForm.jlUserId = item.jlUserId
|
||||||
this.listForm.zrUserId = item.zrUserId
|
this.listForm.zrUserId = item.zrUserId
|
||||||
this.fileInfoList = item.fileName
|
this.fileInfoList = item.fileName
|
||||||
|
this.commentText = item.commentText
|
||||||
} else {
|
} else {
|
||||||
this.listForm = item.form
|
this.listForm = item.form
|
||||||
this.dataList = item.form.dataList
|
this.dataList = item.form.dataList
|
||||||
|
this.commentText = item.commentText
|
||||||
this.listForm.dataList = item.form.dataList
|
this.listForm.dataList = item.form.dataList
|
||||||
this.fileInfoList = item.form.fileName
|
this.fileInfoList = item.form.fileName
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -272,7 +272,7 @@ export default {
|
|||||||
this.countryOptions.forEach(item => {
|
this.countryOptions.forEach(item => {
|
||||||
map.set(item.value, item.label);
|
map.set(item.value, item.label);
|
||||||
});
|
});
|
||||||
arr.forEach(item => {
|
arr.map(item => {
|
||||||
// 国家地区转换
|
// 国家地区转换
|
||||||
if (item.countryArea !== null || item.countryArea !== "") {
|
if (item.countryArea !== null || item.countryArea !== "") {
|
||||||
let k = (item.countryArea || "").split(",");
|
let k = (item.countryArea || "").split(",");
|
||||||
|
|||||||
@@ -202,7 +202,6 @@
|
|||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="standName"
|
prop="standName"
|
||||||
label="标准名称"
|
label="标准名称"
|
||||||
width="300"
|
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<a v-if="textStatusMap[scope.row.textStatus] === '废止' || textStatusMap[scope.row.textStatus] === '被代替'" @click="handlePreview(scope.row)" class="table-jump" style="color: #F56C6C">{{ scope.row.standName }}</a>
|
<a v-if="textStatusMap[scope.row.textStatus] === '废止' || textStatusMap[scope.row.textStatus] === '被代替'" @click="handlePreview(scope.row)" class="table-jump" style="color: #F56C6C">{{ scope.row.standName }}</a>
|
||||||
@@ -4989,7 +4988,6 @@ export default {
|
|||||||
background: url('~@/assets/images/shangqi/img/none-file.png');
|
background: url('~@/assets/images/shangqi/img/none-file.png');
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/ .is-show {
|
/deep/ .is-show {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@@ -4998,7 +4996,12 @@ export default {
|
|||||||
background: url('~@/assets/images/shangqi/img/tree.png');
|
background: url('~@/assets/images/shangqi/img/tree.png');
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
}
|
}
|
||||||
|
#domesticStandardDatabase{
|
||||||
|
height: 100%;
|
||||||
|
.content {
|
||||||
|
height: calc(~'100% - 105px - 56px')
|
||||||
|
}
|
||||||
|
}
|
||||||
/deep/ .tree-line {
|
/deep/ .tree-line {
|
||||||
.el-tree-node {
|
.el-tree-node {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|||||||
-2
@@ -306,7 +306,6 @@
|
|||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="standName"
|
prop="standName"
|
||||||
label="中文名称"
|
label="中文名称"
|
||||||
width="300"
|
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<a v-if="scope.row.standStatusShow === '作废'" style="color: #F56C6C" @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
<a v-if="scope.row.standStatusShow === '作废'" style="color: #F56C6C" @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
||||||
@@ -318,7 +317,6 @@
|
|||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="standEnName"
|
prop="standEnName"
|
||||||
label="英文名称"
|
label="英文名称"
|
||||||
width="300"
|
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<a v-if="scope.row.standStatusShow === '作废'" style="color: #F56C6C" @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standEnName }}</a>
|
<a v-if="scope.row.standStatusShow === '作废'" style="color: #F56C6C" @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standEnName }}</a>
|
||||||
|
|||||||
@@ -199,7 +199,6 @@
|
|||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="standName"
|
prop="standName"
|
||||||
label="标准名称"
|
label="标准名称"
|
||||||
width="300"
|
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<a v-if="textStatusMap[scope.row.textStatus] === '废止' || textStatusMap[scope.row.textStatus] === '被代替'" style="color: #F56C6C" @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
<a v-if="textStatusMap[scope.row.textStatus] === '废止' || textStatusMap[scope.row.textStatus] === '被代替'" style="color: #F56C6C" @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standName }}</a>
|
||||||
|
|||||||
@@ -366,7 +366,7 @@
|
|||||||
},
|
},
|
||||||
seniortypeAll: ['selectIndex'],
|
seniortypeAll: ['selectIndex'],
|
||||||
seniortypeStand: ['selectIndex', 'standSort', 'category', 'nature', 'standState', 'applyArctic', 'applyAuth', 'CLLX', 'CBCD', 'ZRLX', 'CYSD'],
|
seniortypeStand: ['selectIndex', 'standSort', 'category', 'nature', 'standState', 'applyArctic', 'applyAuth', 'CLLX', 'CBCD', 'ZRLX', 'CYSD'],
|
||||||
seniortypeBuss: ['selectIndex', 'country', 'standSort', 'category', 'nature', 'standState', 'applyArctic', 'applyAuth', 'CLLX', 'CBCD', 'ZRLX', 'CYSD'],
|
seniortypeBuss: ['selectIndex', 'country', 'standSort', 'category', 'nature', 'standState', 'textStatus', 'applyArctic', 'applyAuth', 'CLLX', 'CBCD', 'ZRLX', 'CYSD'],
|
||||||
// seniortypeLaws: ['selectIndex', 'country', 'SYCLLX', 'ZRLX', 'WSSFCY'], // 政策的适用车辆类型、我司是否参与 和 国内的字段不一样
|
// seniortypeLaws: ['selectIndex', 'country', 'SYCLLX', 'ZRLX', 'WSSFCY'], // 政策的适用车辆类型、我司是否参与 和 国内的字段不一样
|
||||||
seniortypeLaws: ['selectIndex', 'country', 'CLLX', 'ZRLX', 'CYSD'], // 政策的适用车辆类型、我司是否参与 和 国内的字段不一样
|
seniortypeLaws: ['selectIndex', 'country', 'CLLX', 'ZRLX', 'CYSD'], // 政策的适用车辆类型、我司是否参与 和 国内的字段不一样
|
||||||
seniortypeEnterprise : ['selectIndex','BUSSSTATE','ORGLIST'],
|
seniortypeEnterprise : ['selectIndex','BUSSSTATE','ORGLIST'],
|
||||||
@@ -877,9 +877,7 @@
|
|||||||
// 检索栏每一项回显数字
|
// 检索栏每一项回显数字
|
||||||
if (seniortype[i] === 'standSort') {
|
if (seniortype[i] === 'standSort') {
|
||||||
renameType = 'standSort'
|
renameType = 'standSort'
|
||||||
}if(seniortype[i] === 'standState') {
|
}else if (seniortype[i] === 'applyArctic') {
|
||||||
renameType ='statecode'
|
|
||||||
} else if (seniortype[i] === 'applyArctic') {
|
|
||||||
renameType = 'apply_arctic'
|
renameType = 'apply_arctic'
|
||||||
} else if (seniortype[i] === 'energyKind') {
|
} else if (seniortype[i] === 'energyKind') {
|
||||||
renameType = 'energy_kind'
|
renameType = 'energy_kind'
|
||||||
@@ -893,13 +891,16 @@
|
|||||||
renameType = 'QCDW'
|
renameType = 'QCDW'
|
||||||
} else if (this.selectIndex === 'enterprise' && seniortype[i] === 'BUSSSTATE'){
|
} else if (this.selectIndex === 'enterprise' && seniortype[i] === 'BUSSSTATE'){
|
||||||
renameType = 'textStatusBuss'
|
renameType = 'textStatusBuss'
|
||||||
}
|
}else if (this.selectIndex === 'bussstand' && seniortype[i] === 'standState'){
|
||||||
else {
|
renameType = 'textStatus'
|
||||||
|
}else {
|
||||||
renameType = seniortype[i]
|
renameType = seniortype[i]
|
||||||
}
|
}
|
||||||
|
console.log(renameType)
|
||||||
let resultsubdata = resultdata[renameType] || {}
|
let resultsubdata = resultdata[renameType] || {}
|
||||||
let countAll = 0
|
let countAll = 0
|
||||||
if (nowdata) {
|
if (nowdata) {
|
||||||
|
console.log(nowdata)
|
||||||
for (let ji = 0; ji < nowdata.length; ji++) {
|
for (let ji = 0; ji < nowdata.length; ji++) {
|
||||||
if (resultsubdata[nowdata[ji].value] === undefined) {
|
if (resultsubdata[nowdata[ji].value] === undefined) {
|
||||||
nowdata[ji].number = 0
|
nowdata[ji].number = 0
|
||||||
@@ -1128,20 +1129,20 @@
|
|||||||
// filterOptions.standSort.options = [{label: '全部', value: 'all'}]
|
// filterOptions.standSort.options = [{label: '全部', value: 'all'}]
|
||||||
filterOptions.standSort.index = 1
|
filterOptions.standSort.index = 1
|
||||||
// 标准状态
|
// 标准状态
|
||||||
filterOptions.standState = originOptions.standState
|
filterOptions.standState = originOptions.WBZTCLASS
|
||||||
filterOptions.standState.title = '标准状态'
|
filterOptions.standState.title = '文本状态'
|
||||||
filterOptions.standState.index = 2
|
filterOptions.standState.index = 2
|
||||||
// 我司参与状态
|
// 我司参与状态
|
||||||
// filterOptions.CYSD = originOptions.CYSD
|
// filterOptions.CYSD = originOptions.CYSD
|
||||||
// filterOptions.CYSD.title = '我司参与深度'
|
// filterOptions.CYSD.title = '我司参与深度'
|
||||||
// filterOptions.CYSD.index = 3
|
// filterOptions.CYSD.index = 3
|
||||||
// 监管类型
|
// 监管类型
|
||||||
filterOptions.ZRLX = originOptions.ZRLX
|
// filterOptions.ZRLX = originOptions.ZRLX
|
||||||
filterOptions.ZRLX.title = '监管类型'
|
// filterOptions.ZRLX.title = '监管类型'
|
||||||
filterOptions.ZRLX.index = 4
|
// filterOptions.ZRLX.index = 4
|
||||||
// 适用车辆类型
|
// 适用车辆类型
|
||||||
filterOptions.CLLX = originOptions.CLLX
|
filterOptions.CLLX = originOptions.CLLX
|
||||||
filterOptions.CLLX.index = 5
|
filterOptions.CLLX.index = 3
|
||||||
// 采标程度
|
// 采标程度
|
||||||
// filterOptions.CBCD = originOptions.CBCD
|
// filterOptions.CBCD = originOptions.CBCD
|
||||||
// filterOptions.CBCD.index = 6
|
// filterOptions.CBCD.index = 6
|
||||||
@@ -1272,6 +1273,7 @@
|
|||||||
if (condition.selectIndex === 'bussstand') {
|
if (condition.selectIndex === 'bussstand') {
|
||||||
condition.selectIndex = 'stand'
|
condition.selectIndex = 'stand'
|
||||||
condition.standType = 'FOREIGN'
|
condition.standType = 'FOREIGN'
|
||||||
|
condition.textStatus = condition.standState
|
||||||
} else if (condition.selectIndex === 'stand') {
|
} else if (condition.selectIndex === 'stand') {
|
||||||
condition.standType = 'INLAND'
|
condition.standType = 'INLAND'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,10 +4,10 @@
|
|||||||
* @date: 2018-09-04 17:47:46
|
* @date: 2018-09-04 17:47:46
|
||||||
*/
|
*/
|
||||||
// 服务器地址
|
// 服务器地址
|
||||||
// const devIp = '62.234.136.153'
|
const devIp = '62.234.136.153'
|
||||||
// const devInterfacePORT = '8033'
|
const devInterfacePORT = '8033'
|
||||||
const devIp = '192.168.10.247'
|
// const devIp = '192.168.10.247'
|
||||||
const devInterfacePORT = '9999'
|
// const devInterfacePORT = '9999'
|
||||||
// 云端端口号
|
// 云端端口号
|
||||||
const DEV_CLOUD_RES_INTERFACE_PORT = '7777'
|
const DEV_CLOUD_RES_INTERFACE_PORT = '7777'
|
||||||
const simpleFilePath = 'att/attFile/upload'
|
const simpleFilePath = 'att/attFile/upload'
|
||||||
|
|||||||
Reference in New Issue
Block a user