feat: There is no way the,buss plan
This commit is contained in:
@@ -875,7 +875,7 @@
|
|||||||
align="center"
|
align="center"
|
||||||
width="150">
|
width="150">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div>{{ scope.row.planStatus === '0'? '完成' : (scope.row.planStatus === '1'? '修订' : '制定') }}</div>
|
<div>{{ getMap1(scope.row.planStatus)}}</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -949,12 +949,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="demo-drawer-footer">
|
<div class="demo-drawer-footer">
|
||||||
<el-button
|
|
||||||
round
|
|
||||||
class="common-button-primary"
|
|
||||||
icon="el-icon-check"
|
|
||||||
type="primary"
|
|
||||||
@click="handleProcessStandardNext(1)">新增</el-button>
|
|
||||||
<el-button
|
<el-button
|
||||||
round
|
round
|
||||||
class="common-button-primary"
|
class="common-button-primary"
|
||||||
@@ -1101,7 +1095,7 @@
|
|||||||
total: 0,
|
total: 0,
|
||||||
unit: '',
|
unit: '',
|
||||||
esName: '',
|
esName: '',
|
||||||
planStatus: '',
|
planStatus: '0,3',
|
||||||
reviseStatus: '',
|
reviseStatus: '',
|
||||||
},
|
},
|
||||||
tableData: {
|
tableData: {
|
||||||
@@ -1206,6 +1200,7 @@
|
|||||||
countryArr:'',
|
countryArr:'',
|
||||||
commentCycleDate:'',
|
commentCycleDate:'',
|
||||||
form: {
|
form: {
|
||||||
|
planId:'',
|
||||||
modelData:[],
|
modelData:[],
|
||||||
modelDataNameVerify:[],
|
modelDataNameVerify:[],
|
||||||
modelDataZrUserVerify:[],
|
modelDataZrUserVerify:[],
|
||||||
@@ -1343,7 +1338,7 @@
|
|||||||
standName: [
|
standName: [
|
||||||
{ required: true, message: '请输入企标中文名称', trigger: 'blur' },
|
{ required: true, message: '请输入企标中文名称', trigger: 'blur' },
|
||||||
{ min: 1, max: 100, message: '长度在 1 到 100 个字符', trigger: 'blur' },
|
{ min: 1, max: 100, message: '长度在 1 到 100 个字符', trigger: 'blur' },
|
||||||
{validator: this.verify.valiateName, trigger: 'change'}
|
{validator: this.verify.checkSpecialCharacterOftags, trigger: 'change'}
|
||||||
],
|
],
|
||||||
standEnName: [
|
standEnName: [
|
||||||
{ required: false, message: '请输入企标英文名称', trigger: 'blur' },
|
{ required: false, message: '请输入企标英文名称', trigger: 'blur' },
|
||||||
@@ -1446,6 +1441,15 @@
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
getMap1(item){
|
||||||
|
const map = new Map();
|
||||||
|
map.set('0','未开始')
|
||||||
|
map.set('1','制定中')
|
||||||
|
map.set('2','修订中')
|
||||||
|
map.set('3','已取消')
|
||||||
|
map.set('4','已完成')
|
||||||
|
return map.get(item)
|
||||||
|
},
|
||||||
modelProp(row,index){
|
modelProp(row,index){
|
||||||
console.log(row)
|
console.log(row)
|
||||||
console.log(index)
|
console.log(index)
|
||||||
@@ -1736,42 +1740,17 @@
|
|||||||
// 带入
|
// 带入
|
||||||
case 2:
|
case 2:
|
||||||
if (this.standardCheckedList.length === 1) {
|
if (this.standardCheckedList.length === 1) {
|
||||||
this.$http.get('lawss/sarLawsInfo/getStandInfoUpdateById', {id: this.standardCheckedList[0].id}, {
|
this.form.standName = this.standardCheckedList[0].esName
|
||||||
_this: this
|
this.form.standSort = this.standardCheckedList[0].bussSort
|
||||||
}, res => {
|
this.form.planId = this.standardCheckedList[0].id
|
||||||
if(res && res.data){
|
this.standardDrawer = false
|
||||||
const bringData = res.data
|
this.verifySarStandard = true
|
||||||
|
this.$forceUpdate()
|
||||||
const json = Object.assign(bringData, bringData.attrInfoMap);
|
|
||||||
this.form = JSON.parse(JSON.stringify(json))
|
|
||||||
this.form.TGRLAWS = JSON.parse(JSON.stringify(json)).TGRLAWS && JSON.parse(JSON.stringify(json)).TGRLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGRLAWS.split(',') : []
|
|
||||||
this.form.TGDWLAWS = JSON.parse(JSON.stringify(json)).TGDWLAWS && JSON.parse(JSON.stringify(json)).TGDWLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGDWLAWS.split(',') : []
|
|
||||||
this.form.NYLXLAWS = JSON.parse(JSON.stringify(json)).NYLXLAWS && JSON.parse(JSON.stringify(json)).NYLXLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).NYLXLAWS.split(',') : []
|
|
||||||
this.form.YYRZLAWS = JSON.parse(JSON.stringify(json)).YYRZLAWS && JSON.parse(JSON.stringify(json)).YYRZLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).YYRZLAWS.split(',') : []
|
|
||||||
this.form.ZRBMLAWS = JSON.parse(JSON.stringify(json)).ZRBMLAWS && JSON.parse(JSON.stringify(json)).ZRBMLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRBMLAWS.split(',') : []
|
|
||||||
this.form.ZRGCSLAWS = JSON.parse(JSON.stringify(json)).ZRGCSLAWS && JSON.parse(JSON.stringify(json)).ZRGCSLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRGCSLAWS.split(',') : []
|
|
||||||
this.form.prcNum = this.prcNum
|
|
||||||
this.form.prcName = this.prcName
|
|
||||||
this.form['id'] = bringData.id
|
|
||||||
this.standardDrawer = false
|
|
||||||
this.verifySarStandard = true
|
|
||||||
this.busVsFunc()
|
|
||||||
this.modelFunc()
|
|
||||||
this.$forceUpdate()
|
|
||||||
}
|
|
||||||
// 遍历对象初始化文件信息
|
|
||||||
for(const p in this.form) {
|
|
||||||
if (typeof (this.form[p ]) != "function") {
|
|
||||||
this.initializeFileList(p,this.form[p]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
console.log("res",res);
|
|
||||||
})
|
|
||||||
|
|
||||||
} else if (this.standardCheckedList.length > 1) {
|
} else if (this.standardCheckedList.length > 1) {
|
||||||
this.$message.warning('最多可以带入一条政策信息')
|
this.$message.warning('最多可以带入一条计划信息')
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning('请选择要带入的政策信息')
|
this.$message.warning('请选择要带入的计划信息')
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
// 取消
|
// 取消
|
||||||
@@ -1862,7 +1841,7 @@
|
|||||||
this.standardSearchForm.unit = ''
|
this.standardSearchForm.unit = ''
|
||||||
this.standardSearchForm.esName = ''
|
this.standardSearchForm.esName = ''
|
||||||
this.standardSearchForm.planStatus = ''
|
this.standardSearchForm.planStatus = ''
|
||||||
this.standardSearchForm.reviseStatus = ''
|
this.standardSearchForm.reviseStatus = '0,3'
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.handleSearchStandard()
|
this.handleSearchStandard()
|
||||||
}, 100)
|
}, 100)
|
||||||
@@ -1882,7 +1861,6 @@
|
|||||||
this.loadSarStandard = false
|
this.loadSarStandard = false
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
this.tableData.standardData = res.data.list
|
this.tableData.standardData = res.data.list
|
||||||
console.log(this.tableData.standardData)
|
|
||||||
this.standardSearchForm.total = res.data.count
|
this.standardSearchForm.total = res.data.count
|
||||||
}
|
}
|
||||||
}, e => {
|
}, e => {
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
<el-form :modal="form" inline class="label-input-form">
|
<el-form :modal="form" inline class="label-input-form">
|
||||||
<el-form-item label="计划状态" class="search-item">
|
<el-form-item label="计划状态" class="search-item">
|
||||||
<el-select v-model="form.planStatus" placeholder="请选择计划状态">
|
<el-select v-model="form.planStatus" placeholder="请选择计划状态">
|
||||||
|
<el-option label="请选择" value=""></el-option>
|
||||||
<el-option label="未开始" value="0"></el-option>
|
<el-option label="未开始" value="0"></el-option>
|
||||||
<el-option label="制定中" value="1"></el-option>
|
<el-option label="制定中" value="1"></el-option>
|
||||||
<el-option label="修订中" value="2"></el-option>
|
<el-option label="修订中" value="2"></el-option>
|
||||||
@@ -14,6 +15,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="制修订状态" class="search-item">
|
<el-form-item label="制修订状态" class="search-item">
|
||||||
<el-select v-model="form.reviseStatus" placeholder="请选择制修订状态">
|
<el-select v-model="form.reviseStatus" placeholder="请选择制修订状态">
|
||||||
|
<el-option label="请选择" value=""></el-option>
|
||||||
<el-option label="制定" value="1"></el-option>
|
<el-option label="制定" value="1"></el-option>
|
||||||
<el-option label="修订" value="2"></el-option>
|
<el-option label="修订" value="2"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
@@ -118,7 +120,7 @@
|
|||||||
align="center"
|
align="center"
|
||||||
label="制修订状态">
|
label="制修订状态">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div>{{ scope.row.reviseStatus === '0'? '制定完成' : (scope.row.reviseStatus === '1'? '制定中' : '未制定') }}</div>
|
<div>{{ scope.row.reviseStatus === ''? '' : (scope.row.reviseStatus === '1'? '制定' : '修订') }}</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
|||||||
Reference in New Issue
Block a user