Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
396572590@qq.com
2022-06-21 09:11:39 +08:00
6 changed files with 14600 additions and 32877 deletions
+10954 -29177
View File
File diff suppressed because it is too large Load Diff
@@ -136,7 +136,7 @@ export default {
this.$message.warning(res.message) this.$message.warning(res.message)
fileList.pop() fileList.pop()
} }
this.importModalshowflagtemp = false // this.importModalshowflagtemp = false
}, },
//文件上传前 //文件上传前
beforeUpload(file){ beforeUpload(file){
@@ -192,6 +192,7 @@ export default {
}, res => { }, res => {
if(res.respCode === '200'){ if(res.respCode === '200'){
this.$emit('emitInsState',true) this.$emit('emitInsState',true)
this.$message.success('归档成功')
} }
}, e => { }, e => {
}) })
@@ -12,7 +12,9 @@
<div class="row"> <div class="row">
<div class="item" @click="clickButtonTo"> <div class="item" @click="clickButtonTo">
<div style="cursor: pointer;">附件 <div style="cursor: pointer;">附件
<span style="color: #409EFF">{{answer.appendixName}}</span> <div v-if="fileList.length > 0" v-for="(item,index) in fileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 40px;" class="fileClass">
<span style="" @click="clickButtonTo(item.id)" :title="item.name"> {{ item.name }}</span>
</div>
</div> </div>
</div> </div>
</div> </div>
@@ -42,16 +44,33 @@ export default {
checked: '', checked: '',
answererNowUserId: this.$store.getters.userInfo.userId, answererNowUserId: this.$store.getters.userInfo.userId,
answererNowUserName: this.$store.getters.userInfo.userName, answererNowUserName: this.$store.getters.userInfo.userName,
fileList:[],
} }
}, },
methods:{ methods:{
assemble(ids,names){
let list= [];
if(ids && ids !== '' && names && names !== ''){
let idArray=ids.split(',');
let nameArray=names.split(',');
for(let i=0; i<idArray.length; i++){
list.push({id:idArray[i],name:nameArray[i]});
}
}
return list;
},
//点击预览 //点击预览
clickButtonTo() { clickButtonTo(attId) {
const attId = this.answer.appendixId // 过滤
this.$preview(attId) if(attId.indexOf("ATT_FILE") !== -1){
this.$preview(attId)
}
}, },
answerChang(){} answerChang(){}
}, },
mounted () {
this.fileList = this.assemble(this.answer.appendixId,this.answer.appendixName)
},
watch:{ watch:{
answer: { answer: {
immediate: true, immediate: true,
@@ -65,6 +84,9 @@ export default {
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
/deep/ .fileClass{
line-height: 22px !important;
}
#answer-item{ #answer-item{
width: 100%; width: 100%;
min-width: 130px; min-width: 130px;
File diff suppressed because it is too large Load Diff
@@ -1084,8 +1084,9 @@ export default {
}, },
//问题查询 //问题查询
queSearch(){ queSearch(){
this.$http.get('lawss/AskQuestions/getAskQuestionsByStandardId',{ this.$http.get('lawss/AskQuestions/getAskQuestionsNew',{
standardId: this.activestand, standardId: this.activestand,
classification: this.activeName,
},{ },{
_this: this _this: this
}, res => { }, res => {
+2 -2
View File
@@ -8,8 +8,8 @@
// const devInterfacePORT = '10005' // const devInterfacePORT = '10005'
// const devIp = '192.168.1.42' // const devIp = '192.168.1.42'
// const devInterfacePORT = '9999' // const devInterfacePORT = '9999'
const devIp = '39.98.140.126' const devIp = '192.168.0.109'
const devInterfacePORT = '4201' const devInterfacePORT = '9999'
// const devIp = '62.234.136.153' // const devIp = '62.234.136.153'
// const devInterfacePORT = '8033' // const devInterfacePORT = '8033'
// 配置 idm 认证 // 配置 idm 认证