This commit is contained in:
zhutianqi
2022-02-21 17:43:41 +08:00
parent 1c63566ad0
commit 62e82228aa
5 changed files with 20 additions and 12 deletions
@@ -264,6 +264,11 @@ export default {
_this: this, _this: this,
loading: 'replaceLoading' loading: 'replaceLoading'
}, res => { }, res => {
res.data.list.map(item => {
if (!item.issueTime) {
item.issueTime = ''
}
})
this.replaceLawsNumRow = res.data.list this.replaceLawsNumRow = res.data.list
this.replaceTotal = res.data.count this.replaceTotal = res.data.count
if (this.selectedListRep.length !== 0) { if (this.selectedListRep.length !== 0) {
@@ -25,7 +25,7 @@
style="position:absolute;top: 10px;right: 0;" style="position:absolute;top: 10px;right: 0;"
@click="selectLaws" @click="selectLaws"
v-if="(processModel && !disabled) || !processModel" v-if="(processModel && !disabled) || !processModel"
>手动查找</el-button> >手动查找123</el-button>
</el-form-item> </el-form-item>
<el-dialog <el-dialog
:title="config.attrName" :title="config.attrName"
@@ -258,6 +258,11 @@ export default {
_this: this, _this: this,
loading: 'replaceLoading' loading: 'replaceLoading'
}, res => { }, res => {
res.data.list.map(item => {
if (!item.issueTime) {
item.issueTime = ''
}
})
this.replaceLawsNumRow = res.data.list this.replaceLawsNumRow = res.data.list
this.replaceTotal = res.data.count this.replaceTotal = res.data.count
if (this.selectedListRep.length !== 0) { if (this.selectedListRep.length !== 0) {
@@ -472,8 +472,7 @@
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item title="“计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。" <el-form-item prop="textStatus" label-width="150px" class="add-form-item">
prop="textStatus" label-width="150px" class="add-form-item">
<template slot="label">文本状态</template> <template slot="label">文本状态</template>
<el-select v-model="sarStandardsInfoEO.textStatus" <el-select v-model="sarStandardsInfoEO.textStatus"
placeholder="请选择文本状态" placeholder="请选择文本状态"
@@ -687,7 +686,7 @@
:config="field" :config="field"
v-if="field.attrField !== 'BDTBZBH'" v-if="field.attrField !== 'BDTBZBH'"
v-model="sarStandardsInfoEO[field.attrField]" v-model="sarStandardsInfoEO[field.attrField]"
:disabled="formdisableflag" :disabled="true"
></custom-input> ></custom-input>
</template> </template>
</template> </template>
@@ -1145,6 +1145,7 @@
}, },
addDrawerClose () { addDrawerClose () {
this.addDrawer = false this.addDrawer = false
this.LXDList = []
}, },
addData () { addData () {
this.addDrawerTitle = '新增' this.addDrawerTitle = '新增'
@@ -1285,7 +1286,6 @@
} }
this.addForm.LXDName = fileName1 this.addForm.LXDName = fileName1
this.LXDList=this.assemble(command[0].lxd,fileName1) this.LXDList=this.assemble(command[0].lxd,fileName1)
console.log(this.LXDList)
if (typeof (this.addForm.area) === 'string') { if (typeof (this.addForm.area) === 'string') {
this.addForm.area = command[0].area.split(',') this.addForm.area = command[0].area.split(',')
} }
@@ -1327,7 +1327,6 @@
} }
this.addForm.LXDName = fileName this.addForm.LXDName = fileName
this.LXDList=this.assemble(command[0].lxd,fileName); this.LXDList=this.assemble(command[0].lxd,fileName);
console.log(this.LXDList)
if (typeof (this.addForm.area) === 'string') { if (typeof (this.addForm.area) === 'string') {
this.addForm.area = command[0].area.split(',') this.addForm.area = command[0].area.split(',')
} }
@@ -1336,12 +1335,13 @@
}, },
assemble(ids,names){ assemble(ids,names){
let list= new Array(); let list= new Array();
let idArray=ids.split(',');
let nameArray=names.split(','); let nameArray=names.split(',');
for(let i=0; i<idArray.length; i++){ if (ids) {
list.push({id:idArray[i],name:nameArray[i]}); let idArray=ids.split(',');
for(let i=0; i<idArray.length; i++){
list.push({id:idArray[i],name:nameArray[i]});
}
} }
return list; return list;
}, },
getData () { getData () {
@@ -971,8 +971,7 @@
</el-option> </el-option>
</el-select> </el-select>
</el-form-item>--> </el-form-item>-->
<el-form-item title="“计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。" <el-form-item prop="standState" label-width="150px" class="add-form-item">
prop="standState" label-width="150px" class="add-form-item">
<template slot="label">文本状态</template> <template slot="label">文本状态</template>
<el-select v-model="sarStandardsInfoEO.textStatus" <el-select v-model="sarStandardsInfoEO.textStatus"
placeholder="请选择文本状态" placeholder="请选择文本状态"