Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
@@ -315,6 +315,8 @@ tr.el-table__row{
|
|||||||
padding: 13px 10px;
|
padding: 13px 10px;
|
||||||
height: 49px;
|
height: 49px;
|
||||||
border: none;
|
border: none;
|
||||||
|
font-family: 'Microsoft Yahei', '\5FAE\8F6F\96C5\9ED1', Arial, sans-serif !important;
|
||||||
|
font-weight: lighter;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.el-input-number{
|
.el-input-number{
|
||||||
|
|||||||
@@ -1321,6 +1321,7 @@ export default {
|
|||||||
answerList: [],
|
answerList: [],
|
||||||
standList: [],
|
standList: [],
|
||||||
questionsList: [],
|
questionsList: [],
|
||||||
|
standMap: new Map()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted(){
|
mounted(){
|
||||||
@@ -1352,6 +1353,12 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
|
refreshStandMap(){
|
||||||
|
this.standMap = new Map()
|
||||||
|
this.standList.forEach(item=>{
|
||||||
|
this.standMap.set(item.standardId,item)
|
||||||
|
})
|
||||||
|
},
|
||||||
checkedRole(data){
|
checkedRole(data){
|
||||||
if(data[0].id){
|
if(data[0].id){
|
||||||
let asdId = sessionStorage.getItem('queId')
|
let asdId = sessionStorage.getItem('queId')
|
||||||
@@ -1666,15 +1673,16 @@ export default {
|
|||||||
queBtn(){
|
queBtn(){
|
||||||
this.fileList = []
|
this.fileList = []
|
||||||
// 清空提问
|
// 清空提问
|
||||||
this.standType = "INLAND"
|
const selectedStand = this.activestand == '0' ? this.standList[0] : this.standMap.get(this.activestand)
|
||||||
|
this.standType = selectedStand.classification
|
||||||
this.questionForm = {
|
this.questionForm = {
|
||||||
pubQue : '',//公共问题
|
pubQue : selectedStand.classification === "OTHER" ? selectedStand.standardId : '',//公共问题
|
||||||
classification: 'INLAND', //标准类型
|
classification: selectedStand.classification, //标准类型
|
||||||
problemDescription: '', //问题
|
problemDescription: '', //问题
|
||||||
questioner: this.$store.getters.userInfo.userId, //提问人
|
questioner: this.$store.getters.userInfo.userId, //提问人
|
||||||
standardEncdoing: '', //标准编号
|
standardEncdoing: selectedStand.standardEncdoing, //标准编号
|
||||||
standardName: '', //标准名称
|
standardName: selectedStand.standardName, //标准名称
|
||||||
standardId:'', //标准id
|
standardId: selectedStand.standardId, //标准id
|
||||||
fileList: '',
|
fileList: '',
|
||||||
}
|
}
|
||||||
this.dialogVisible = true
|
this.dialogVisible = true
|
||||||
@@ -1720,6 +1728,7 @@ export default {
|
|||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.standList = res.data
|
this.standList = res.data
|
||||||
|
this.refreshStandMap()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
//问题查询
|
//问题查询
|
||||||
@@ -1742,6 +1751,7 @@ export default {
|
|||||||
_this: this,
|
_this: this,
|
||||||
}, res => {
|
}, res => {
|
||||||
this.standList = res.data
|
this.standList = res.data
|
||||||
|
this.refreshStandMap()
|
||||||
this.questionClick()
|
this.questionClick()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -1754,6 +1764,7 @@ export default {
|
|||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.standList = res.data
|
this.standList = res.data
|
||||||
|
this.refreshStandMap()
|
||||||
this.questionClick()
|
this.questionClick()
|
||||||
}, e =>{
|
}, e =>{
|
||||||
|
|
||||||
@@ -1765,6 +1776,7 @@ export default {
|
|||||||
_this: this
|
_this: this
|
||||||
}, res =>{
|
}, res =>{
|
||||||
this.standList = res.data
|
this.standList = res.data
|
||||||
|
this.refreshStandMap()
|
||||||
this.questionClick()
|
this.questionClick()
|
||||||
}, e => {
|
}, e => {
|
||||||
|
|
||||||
|
|||||||
@@ -413,7 +413,7 @@
|
|||||||
<div style="display: flex; height: 100%;">
|
<div style="display: flex; height: 100%;">
|
||||||
<div style="width: 50%; overflow: auto; border-right: 1px solid #ccc;" v-if="form.itemsNum1 && PLmodalType === 1 ">
|
<div style="width: 50%; overflow: auto; border-right: 1px solid #ccc;" v-if="form.itemsNum1 && PLmodalType === 1 ">
|
||||||
<div v-if="BDtext" style="width: 100%; height: 100%;display: flex;">
|
<div v-if="BDtext" style="width: 100%; height: 100%;display: flex;">
|
||||||
<div v-if="itermsConditions" v-html="itermsConditions" class="itemsTextBox" style="margin: 5px; padding: 5px; width: 100%; overflow: auto;"></div>
|
<div v-if="itermsConditions" v-html="itermsConditions" class="itemsTextBox" style="margin: 5px; padding: 5px; height:auto;max-height:none"></div>
|
||||||
<div v-else style="margin: 5px; padding: 5px; width: 100%; overflow: auto;">无内容</div>
|
<div v-else style="margin: 5px; padding: 5px; width: 100%; overflow: auto;">无内容</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-else style="height: 100%;">
|
<div v-else style="height: 100%;">
|
||||||
@@ -426,7 +426,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 50%; overflow: auto; border-right: 1px solid #ccc;" v-if="!form.itemsNum1 && PLmodalType === 1 ">
|
<div style="width: 50%; overflow: auto; border-right: 1px solid #ccc;" v-if="!form.itemsNum1 && PLmodalType === 1 ">
|
||||||
<div v-if="itermsConditions" v-html="itermsConditions" class="itemsTextBox" style="margin: 5px; padding: 5px; width: 100%; overflow: auto;"></div>
|
<div v-if="itermsConditions" v-html="itermsConditions" class="itemsTextBox" style="margin: 5px; padding: 5px; height:auto;max-height:none"></div>
|
||||||
<div v-else style="margin: 5px; padding: 5px; width: 100%; overflow: auto;">无内容</div>
|
<div v-else style="margin: 5px; padding: 5px; width: 100%; overflow: auto;">无内容</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 80%">
|
<div style="width: 80%">
|
||||||
|
|||||||
@@ -122,6 +122,8 @@
|
|||||||
<el-tooltip :disabled="!form.standName" effect="dark" :content=form.standName placement="top-start">
|
<el-tooltip :disabled="!form.standName" effect="dark" :content=form.standName placement="top-start">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="form.standName"
|
v-model="form.standName"
|
||||||
|
type="textarea"
|
||||||
|
autosize
|
||||||
placeholder="请输入标准中文名称"
|
placeholder="请输入标准中文名称"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
@@ -132,6 +134,8 @@
|
|||||||
<el-form-item label="标准英文名称" prop="standEnName" class="add-form-item form-item-disabled">
|
<el-form-item label="标准英文名称" prop="standEnName" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="form.standEnName"
|
v-model="form.standEnName"
|
||||||
|
type="textarea"
|
||||||
|
autosize
|
||||||
placeholder="请输入标准英文名称"
|
placeholder="请输入标准英文名称"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
@@ -3540,7 +3544,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.prc-content-border {
|
.prc-content-border {
|
||||||
/deep/ .el-input__inner {
|
/deep/ .el-textarea__inner,.el-input__inner {
|
||||||
padding-left: 30px;
|
padding-left: 30px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -115,6 +115,8 @@
|
|||||||
<el-tooltip v-if="form.standName" effect="dark" :content=form.standName placement="top-start">
|
<el-tooltip v-if="form.standName" effect="dark" :content=form.standName placement="top-start">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="form.standName"
|
v-model="form.standName"
|
||||||
|
type="textarea"
|
||||||
|
autosize
|
||||||
disabled
|
disabled
|
||||||
placeholder="请输入标准中文名称"
|
placeholder="请输入标准中文名称"
|
||||||
clearable
|
clearable
|
||||||
@@ -124,6 +126,8 @@
|
|||||||
v-else
|
v-else
|
||||||
disabled
|
disabled
|
||||||
v-model="form.standName"
|
v-model="form.standName"
|
||||||
|
type="textarea"
|
||||||
|
autosize
|
||||||
placeholder="请输入标准中文名称"
|
placeholder="请输入标准中文名称"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
@@ -134,6 +138,8 @@
|
|||||||
<el-input
|
<el-input
|
||||||
disabled
|
disabled
|
||||||
v-model="form.standEnName"
|
v-model="form.standEnName"
|
||||||
|
type="textarea"
|
||||||
|
autosize
|
||||||
placeholder="请输入标准英文名称"
|
placeholder="请输入标准英文名称"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
@@ -1288,21 +1294,21 @@ export default {
|
|||||||
if (this.form.zrgcs.length === 0) {
|
if (this.form.zrgcs.length === 0) {
|
||||||
this.form.zrgcs = "";
|
this.form.zrgcs = "";
|
||||||
}
|
}
|
||||||
let qcdwName = []
|
// let qcdwName = []
|
||||||
if(this.form.qcdw && this.form.qcdw.length > 0){
|
// if(this.form.qcdw && this.form.qcdw.length > 0){
|
||||||
this.form.qcdw.map(item => {
|
// this.form.qcdw.map(item => {
|
||||||
this.qcdwOptions.forEach(items => {
|
// this.qcdwOptions.forEach(items => {
|
||||||
if(item === items.value){
|
// if(item === items.value){
|
||||||
qcdwName.push(items.label)
|
// qcdwName.push(items.label)
|
||||||
}
|
// }
|
||||||
})
|
// })
|
||||||
})
|
// })
|
||||||
}
|
// }
|
||||||
this.form.standType = this.form.standInData === '0' ? 'INLAND' : 'FOREIGN'
|
this.form.standType = this.form.standInData === '0' ? 'INLAND' : 'FOREIGN'
|
||||||
this.form.menuIds = this.form.treeListId;
|
this.form.menuIds = this.form.treeListId;
|
||||||
this.form.BBFDTBZ = this.form.bfbdtbzh
|
this.form.BBFDTBZ = this.form.bfbdtbzh
|
||||||
this.form.qcdw = qcdwName
|
// this.form.qcdw = qcdwName
|
||||||
this.form.qcdw = qcdwName.splice(',')
|
// this.form.qcdw = qcdwName.splice(',')
|
||||||
const json = JSON.stringify(this.form);
|
const json = JSON.stringify(this.form);
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
|
|||||||
@@ -126,6 +126,8 @@
|
|||||||
v-else
|
v-else
|
||||||
disabled
|
disabled
|
||||||
v-model="form.standName"
|
v-model="form.standName"
|
||||||
|
type="textarea"
|
||||||
|
autosize
|
||||||
placeholder="请输入标准中文名称"
|
placeholder="请输入标准中文名称"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
@@ -136,6 +138,8 @@
|
|||||||
<el-input
|
<el-input
|
||||||
disabled
|
disabled
|
||||||
v-model="form.standEnName"
|
v-model="form.standEnName"
|
||||||
|
type="textarea"
|
||||||
|
autosize
|
||||||
placeholder="请输入标准英文名称"
|
placeholder="请输入标准英文名称"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
|
|||||||
@@ -127,6 +127,8 @@
|
|||||||
<el-tooltip :disabled="!form.standName" effect="dark" :content=form.standName placement="top-start">
|
<el-tooltip :disabled="!form.standName" effect="dark" :content=form.standName placement="top-start">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="form.standName"
|
v-model="form.standName"
|
||||||
|
type="textarea"
|
||||||
|
autosize
|
||||||
placeholder="请输入标准中文名称"
|
placeholder="请输入标准中文名称"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
@@ -137,6 +139,8 @@
|
|||||||
<el-form-item label="标准英文名称" prop="standEnName" class="add-form-item form-item-disabled">
|
<el-form-item label="标准英文名称" prop="standEnName" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="form.standEnName"
|
v-model="form.standEnName"
|
||||||
|
type="textarea"
|
||||||
|
autosize
|
||||||
placeholder="请输入标准英文名称"
|
placeholder="请输入标准英文名称"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
|
|||||||
@@ -115,6 +115,8 @@
|
|||||||
<el-tooltip v-if="form.standName" effect="dark" :content=form.standName placement="top-start">
|
<el-tooltip v-if="form.standName" effect="dark" :content=form.standName placement="top-start">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="form.standName"
|
v-model="form.standName"
|
||||||
|
type="textarea"
|
||||||
|
autosize
|
||||||
disabled
|
disabled
|
||||||
placeholder="请输入标准中文名称"
|
placeholder="请输入标准中文名称"
|
||||||
clearable
|
clearable
|
||||||
@@ -124,6 +126,8 @@
|
|||||||
v-else
|
v-else
|
||||||
disabled
|
disabled
|
||||||
v-model="form.standName"
|
v-model="form.standName"
|
||||||
|
type="textarea"
|
||||||
|
autosize
|
||||||
placeholder="请输入标准中文名称"
|
placeholder="请输入标准中文名称"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
@@ -134,6 +138,8 @@
|
|||||||
<el-input
|
<el-input
|
||||||
disabled
|
disabled
|
||||||
v-model="form.standEnName"
|
v-model="form.standEnName"
|
||||||
|
type="textarea"
|
||||||
|
autosize
|
||||||
placeholder="请输入标准英文名称"
|
placeholder="请输入标准英文名称"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
|
|||||||
@@ -38,6 +38,16 @@
|
|||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="截止日期" prop="endTime" class="add-form-item form-item-disabled">
|
||||||
|
<el-date-picker
|
||||||
|
:picker-options="pickerOptions"
|
||||||
|
v-model="qdform.endTime"
|
||||||
|
type="date"
|
||||||
|
placeholder="请选择截止日期"
|
||||||
|
disabled
|
||||||
|
value-format="yyyy-MM-dd">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</el-form>
|
</el-form>
|
||||||
@@ -635,6 +645,11 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
pickerOptions: {
|
||||||
|
disabledDate(time) {
|
||||||
|
return time.getTime() < Date.now() - 8.64e7;
|
||||||
|
},
|
||||||
|
},
|
||||||
lawInfoTableLoading: true,
|
lawInfoTableLoading: true,
|
||||||
lawInfoTable:[],
|
lawInfoTable:[],
|
||||||
textState: [],
|
textState: [],
|
||||||
|
|||||||
@@ -38,6 +38,16 @@
|
|||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="截止日期" prop="endTime" class="add-form-item form-item-disabled">
|
||||||
|
<el-date-picker
|
||||||
|
:picker-options="pickerOptions"
|
||||||
|
v-model="qdform.endTime"
|
||||||
|
type="date"
|
||||||
|
placeholder="请选择截止日期"
|
||||||
|
disabled
|
||||||
|
value-format="yyyy-MM-dd">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</el-form>
|
</el-form>
|
||||||
@@ -659,6 +669,11 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
pickerOptions: {
|
||||||
|
disabledDate(time) {
|
||||||
|
return time.getTime() < Date.now() - 8.64e7;
|
||||||
|
},
|
||||||
|
},
|
||||||
lawInfoTableLoading: true,
|
lawInfoTableLoading: true,
|
||||||
lawInfoTable:[],
|
lawInfoTable:[],
|
||||||
textState: [],
|
textState: [],
|
||||||
|
|||||||
@@ -38,6 +38,16 @@
|
|||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="截止日期" prop="endTime" class="add-form-item form-item-disabled">
|
||||||
|
<el-date-picker
|
||||||
|
:picker-options="pickerOptions"
|
||||||
|
v-model="qdform.endTime"
|
||||||
|
type="date"
|
||||||
|
placeholder="请选择截止日期"
|
||||||
|
disabled
|
||||||
|
value-format="yyyy-MM-dd">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</el-form>
|
</el-form>
|
||||||
@@ -659,6 +669,11 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
pickerOptions: {
|
||||||
|
disabledDate(time) {
|
||||||
|
return time.getTime() < Date.now() - 8.64e7;
|
||||||
|
},
|
||||||
|
},
|
||||||
lawInfoTableLoading: true,
|
lawInfoTableLoading: true,
|
||||||
lawInfoTable:[],
|
lawInfoTable:[],
|
||||||
textState: [],
|
textState: [],
|
||||||
|
|||||||
@@ -38,6 +38,16 @@
|
|||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="截止日期" prop="endTime" class="add-form-item form-item-disabled">
|
||||||
|
<el-date-picker
|
||||||
|
:picker-options="pickerOptions"
|
||||||
|
v-model="qdform.endTime"
|
||||||
|
type="date"
|
||||||
|
placeholder="请选择截止日期"
|
||||||
|
disabled
|
||||||
|
value-format="yyyy-MM-dd">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</el-form>
|
</el-form>
|
||||||
@@ -650,6 +660,11 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
pickerOptions: {
|
||||||
|
disabledDate(time) {
|
||||||
|
return time.getTime() < Date.now() - 8.64e7;
|
||||||
|
},
|
||||||
|
},
|
||||||
lawInfoTableLoading: true,
|
lawInfoTableLoading: true,
|
||||||
lawInfoTable:[],
|
lawInfoTable:[],
|
||||||
textState: [],
|
textState: [],
|
||||||
|
|||||||
@@ -39,9 +39,9 @@
|
|||||||
<el-row style="margin-top: 10px">
|
<el-row style="margin-top: 10px">
|
||||||
<!--<el-col :span="5">产品线: <span class="valueColor">{{ localProEO.productLine }} </span></el-col>-->
|
<!--<el-col :span="5">产品线: <span class="valueColor">{{ localProEO.productLine }} </span></el-col>-->
|
||||||
<el-col :span="6">项目经理: <span class="valueColor">{{ localProEO.uname }} </span></el-col>
|
<el-col :span="6">项目经理: <span class="valueColor">{{ localProEO.uname }} </span></el-col>
|
||||||
<el-col :span="6"> 项目计划开始时间: <span
|
<el-col :span="6"> 项目计划开始日期: <span
|
||||||
class="valueColor">{{ $moment(localProEO.projectStartDate).format('YYYY-MM-DD') }}</span></el-col>
|
class="valueColor">{{ $moment(localProEO.projectStartDate).format('YYYY-MM-DD') }}</span></el-col>
|
||||||
<el-col :span="6">项目计划完成时间: <span
|
<el-col :span="6">项目计划完成日期: <span
|
||||||
class="valueColor">{{ $moment(localProEO.projectEndDate).format('YYYY-MM-DD') }} </span></el-col>
|
class="valueColor">{{ $moment(localProEO.projectEndDate).format('YYYY-MM-DD') }} </span></el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -777,6 +777,7 @@ export default {
|
|||||||
standList: [],
|
standList: [],
|
||||||
standIdList: [],
|
standIdList: [],
|
||||||
questionsList: [],
|
questionsList: [],
|
||||||
|
standMap: new Map()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted(){
|
mounted(){
|
||||||
@@ -819,6 +820,12 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
|
refreshStandMap(){
|
||||||
|
this.standMap = new Map()
|
||||||
|
this.standList.forEach(item=>{
|
||||||
|
this.standMap.set(item.standardId,item)
|
||||||
|
})
|
||||||
|
},
|
||||||
changeInput:debounce(function(val){
|
changeInput:debounce(function(val){
|
||||||
if(val.length){
|
if(val.length){
|
||||||
this.$http.get('lawss/AskQuestions/resemblance',{
|
this.$http.get('lawss/AskQuestions/resemblance',{
|
||||||
@@ -1040,15 +1047,16 @@ export default {
|
|||||||
//提问按钮
|
//提问按钮
|
||||||
queBtn(){
|
queBtn(){
|
||||||
this.fileList = []
|
this.fileList = []
|
||||||
this.standType = "INLAND"
|
const selectedStand = this.activestand == '0' ? this.standList[0] : this.standMap.get(this.activestand)
|
||||||
|
this.standType = selectedStand.classification
|
||||||
this.questionForm = {
|
this.questionForm = {
|
||||||
pubQue : '',//公共问题
|
pubQue : selectedStand.classification === "OTHER" ? selectedStand.standardId : '',//公共问题
|
||||||
classification: 'INLAND', //标准类型
|
classification: selectedStand.classification, //标准类型
|
||||||
problemDescription: '', //问题
|
problemDescription: '', //问题
|
||||||
questioner: this.$store.getters.userInfo.userId, //提问人
|
questioner: this.$store.getters.userInfo.userId, //提问人
|
||||||
standardEncdoing: '', //标准编号
|
standardEncdoing: selectedStand.standardEncdoing, //标准编号
|
||||||
standardName: '', //标准名称
|
standardName: selectedStand.standardName, //标准名称
|
||||||
standardId:'', //标准id
|
standardId: selectedStand.standardId, //标准id
|
||||||
fileList: '',
|
fileList: '',
|
||||||
}
|
}
|
||||||
this.dialogVisible = true
|
this.dialogVisible = true
|
||||||
@@ -1076,6 +1084,7 @@ export default {
|
|||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.standList = res.data
|
this.standList = res.data
|
||||||
|
this.refreshStandMap()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
//问题查询
|
//问题查询
|
||||||
@@ -1107,6 +1116,7 @@ export default {
|
|||||||
_this: this
|
_this: this
|
||||||
}, res =>{
|
}, res =>{
|
||||||
this.standList = res.data
|
this.standList = res.data
|
||||||
|
this.refreshStandMap()
|
||||||
if(this.$route.query.queId){
|
if(this.$route.query.queId){
|
||||||
this.activestand = this.standList[0].standardId
|
this.activestand = this.standList[0].standardId
|
||||||
this.queSearch()
|
this.queSearch()
|
||||||
@@ -1129,6 +1139,7 @@ export default {
|
|||||||
})
|
})
|
||||||
if(queNumber === 0){
|
if(queNumber === 0){
|
||||||
this.standList = res.data
|
this.standList = res.data
|
||||||
|
this.refreshStandMap()
|
||||||
}
|
}
|
||||||
}, e => {
|
}, e => {
|
||||||
|
|
||||||
@@ -1235,6 +1246,7 @@ export default {
|
|||||||
this.standSearch2()
|
this.standSearch2()
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
this.queSearch()
|
||||||
}, e => {
|
}, e => {
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user