From 357874db8aee453a95a792d60181785de19e27cc Mon Sep 17 00:00:00 2001
From: super_liu <396572590@qq.com>
Date: Mon, 24 Jan 2022 20:03:26 +0800
Subject: [PATCH] feat: There is no way the,
---
.../components/EnterpriseStandardDatabase.vue | 246 +++++++++++++++++-
1 file changed, 245 insertions(+), 1 deletion(-)
diff --git a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue
index 6e34d4592..5499ca708 100644
--- a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue
+++ b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue
@@ -277,6 +277,10 @@
size="mini" @click="OCRAdd('2')"
v-btn-permission="'247cebaefa7cf1683092af160af11502'">编辑
+ 企标复审计划
+
@@ -1335,6 +1339,118 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+
+
+
+ 清空
+
+
+
+
+
+
+
+
+
+ {{ scope.row.standCode }}
+
+
+
+ {{ formatIssueDate(scope.row.issueTime)}}
+
+
+ {{ formatIssueDate(scope.row.reviewTime) }}
+
+
+
+ {{ filterOp(scope.row.reviewResults) }}
+
+
+
+ {{$t('m.dataAcquisition')}}
+
+
+
+
10){
+ str = str.substring(0,10)
+ }
+ return str
+ },
+ filterOp(data){
+ if(!data || data === ""){
+ return ""
+ }
+ const map = new Map();
+ map.set(1,"修订");
+ map.set(2,"废止");
+ map.set(3,"继续有效");
+ return map.get(data)
+ },
+ selectBuss(){
+ this.replaceLawsNumModel = true
+ this.getReplaceLawsNumRow()
+ },
+ replaceLawsNumModelCancel () {
+ // this.replaceLawsNumModel = false
+ this.$refs.selections.clearSelection()
+ },
+ pageChangeReplace (page) {
+ this.replacePage = page
+ this.replaceLawsNumForm.page = page
+ this.getReplaceLawsNumRow()
+ },
+ pageSizeChangeReplace (pageSize) {
+ // this.replaceRows = pageSize
+ this.replaceLawsNumForm.pageSize = pageSize
+ this.getReplaceLawsNumRow()
+ },
+ getResetLawsNumRow () {
+ this.replaceLawsNumForm = {
+ standCode: '', // 标准编号
+ reviewTimeArr:'',
+ reviewTimeStart:'',
+ reviewTimeEnd:'',
+ issueTimeArr:'',
+ issueTimeStart:'',
+ issueTimeEnd:'',
+ page: 1,
+ pageSize: this.$store.getters.userInfo.configContent,
+ total: 0,
+ validFlag: '0',
+ }
+ this.getReplaceLawsNumRow()
+ },
+ getReplaceLawsNumRow () {
+ if(this.replaceLawsNumForm.issueTimeArr && this.replaceLawsNumForm.issueTimeArr.length > 0){
+ this.replaceLawsNumForm.issueTimeStart = this.replaceLawsNumForm.issueTimeArr[0] || null
+ this.replaceLawsNumForm.issueTimeEnd = this.replaceLawsNumForm.issueTimeArr[1] || null
+ }
+ if(this.replaceLawsNumForm.reviewTimeArr && this.replaceLawsNumForm.reviewTimeArr.length > 0){
+ this.replaceLawsNumForm.reviewTimeStart = this.replaceLawsNumForm.reviewTimeArr[0] || null
+ this.replaceLawsNumForm.reviewTimeEnd = this.replaceLawsNumForm.reviewTimeArr[1] || null
+ }
+ this.$http.get('lawss/sarBussionessStandState/getSarBussionStandPage', this.replaceLawsNumForm, {
+ _this: this,
+ loading: 'replaceLoading'
+ }, res => {
+ this.replaceLawsNumRow = res.data.list
+ this.replaceTotal = res.data.count
+ // if (this.selectedListRep.length !== 0) {
+ // this.selectedListRep.map((list) => {
+ // this.replaceLawsNumRow.map((item) => {
+ // if (list.id === item.id) {
+ // item._checked = true
+ // }
+ // })
+ // })
+ // }
+ }, e => {
+ })
+ },
+ getReplaceLawsNumRowFirst () {
+ this.replaceLawsNumForm.page = 1
+ this.replacePage = 1
+ if(this.replaceLawsNumForm.issueTimeArr && this.replaceLawsNumForm.issueTimeArr.length > 0){
+ console.log(this.replaceLawsNumForm.issueTimeArr)
+ this.replaceLawsNumForm.issueTimeStart = this.replaceLawsNumForm.issueTimeArr[0] || null
+ this.replaceLawsNumForm.issueTimeEnd = this.replaceLawsNumForm.issueTimeArr[1] || null
+ }
+ if(this.replaceLawsNumForm.reviewTimeArr && this.replaceLawsNumForm.reviewTimeArr.length > 0){
+ this.replaceLawsNumForm.reviewTimeStart = this.replaceLawsNumForm.reviewTimeArr[0] || null
+ this.replaceLawsNumForm.reviewTimeEnd = this.replaceLawsNumForm.reviewTimeArr[1] || null
+ }
+ this.$http.get('lawss/sarBussionessStandState/getSarBussionStandPage', this.replaceLawsNumForm, {
+ _this: this,
+ loading: 'replaceLoading'
+ }, res => {
+ this.replaceLawsNumRow = res.data.list
+ this.replaceTotal = res.data.count
+ // if (this.selectedListRep.length !== 0) {
+ // this.selectedListRep.map((list) => {
+ // this.replaceLawsNumRow.map((item) => {
+ // if (list.id === item.id) {
+ // item._checked = true
+ // }
+ // })
+ // })
+ // }
+ }, e => {
+ })
+ },
// 左右拖动事件
dragControllerLR: function () {
var resize = document.getElementById("resize");
@@ -4614,7 +4858,7 @@ export default {
// this.sarBussionessStandEO["FSRQBUSS"] = FSRQBUSS
let year = date.getFullYear() + 5;
- let month = (date.getMonth() + 1).toString();
+ let month = (date.getMonth()).toString();
let day = (date.getDate()).toString();
if (month.length == 1) {
month = "0" + month;