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

This commit is contained in:
hanshaozhuang
2022-07-14 09:07:52 +08:00
8 changed files with 82 additions and 61 deletions
+1 -1
View File
@@ -462,7 +462,7 @@ html[dir='rtl'] #outerContainer.sidebarOpen > #sidebarContainer {
html[dir='ltr'] #outerContainer.sidebarOpen > #mainContainer { html[dir='ltr'] #outerContainer.sidebarOpen > #mainContainer {
-webkit-transition-property: left; -webkit-transition-property: left;
transition-property: left; transition-property: left;
left: 200px; /*left: 200px;*/
} }
html[dir='rtl'] #outerContainer.sidebarOpen > #mainContainer { html[dir='rtl'] #outerContainer.sidebarOpen > #mainContainer {
-webkit-transition-property: right; -webkit-transition-property: right;
+1 -1
View File
@@ -232,7 +232,7 @@ See https://github.com/adobe-type-tools/cmap-resources
<!-- </div>--> <!-- </div>-->
<div id="outerContainer"> <div id="outerContainer">
<div id="sidebarContainer"> <div id="sidebarContainer" style="display: none">
<div id="toolbarSidebar"> <div id="toolbarSidebar">
<div class="splitToolbarButton toggled"> <div class="splitToolbarButton toggled">
<button id="viewThumbnail" class="toolbarButton toggled" title="Show Thumbnails" tabindex="2" data-l10n-id="thumbs"> <button id="viewThumbnail" class="toolbarButton toggled" title="Show Thumbnails" tabindex="2" data-l10n-id="thumbs">
+1 -1
View File
@@ -28,7 +28,7 @@
<div v-else class="title">{{item.standSort + '&nbsp&nbsp' + item.standNumber }}</div> <div v-else class="title">{{item.standSort + '&nbsp&nbsp' + item.standNumber }}</div>
</div> </div>
<div class="standContent"> <div class="standContent">
<div class="standState">{{item.standName}}</div> <div class="standState">{{item.standName && item.standName !== '' ? item.standName : item.standEnName}}</div>
<!-- <div class="standSubTime">标准性质:--> <!-- <div class="standSubTime">标准性质:-->
<!-- <span v-if="natureMap[item.standNature] === '强制性' "--> <!-- <span v-if="natureMap[item.standNature] === '强制性' "-->
<!-- style="color: #F56C6C; padding-left: 5px;">--> <!-- style="color: #F56C6C; padding-left: 5px;">-->
@@ -373,20 +373,23 @@
this.foldFormFlag = !this.foldFormFlag this.foldFormFlag = !this.foldFormFlag
}, },
getData () { getData () {
const queryId = this.$route.query.bpnId
if(queryId !== null && queryId !== undefined && queryId !==''){
queryTaskFirst({ queryTaskFirst({
bpnId: this.$route.query.bpnId bpnId: this.$route.query.bpnId
}).then(res => { }).then(res => {
this.bpnId = this.$route.query.bpnId this.bpnId = this.$route.query.bpnId
let mes = JSON.parse(res.mes) let mes = JSON.parse(res.mes)
if (mes.form.date) { if (mes.form.date) {
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD')) mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
} else { } else {
mes.form.date = '' mes.form.date = ''
} }
this.form = mes.form this.form = mes.form
this.roleForm = mes.roleForm this.roleForm = mes.roleForm
this.commentText1 = mes.commentText1 || '' this.commentText1 = mes.commentText1 || ''
}) })
}
}, },
checkedRole2 (data) { checkedRole2 (data) {
var idList = '' var idList = ''
@@ -597,9 +600,11 @@
let taskId = { let taskId = {
id: this.$route.query.bpnId id: this.$route.query.bpnId
} }
taskDel(taskId).then(res=>{ if(taskId !=='' && taskId !== undefined && taskId !== null){
taskDel(taskId).then(res=>{
return res return res
}) })
}
this.$router.push('/processCenter') this.$router.push('/processCenter')
} }
this.isSubmit = false this.isSubmit = false
@@ -589,9 +589,11 @@ export default {
let taskId = { let taskId = {
id: this.$route.query.bpnId id: this.$route.query.bpnId
} }
taskDel(taskId).then(res=>{ if(taskId !== '' && taskId !== undefined && taskId !== null){
return res taskDel(taskId).then(res=>{
}) return res
})
}
this.$router.push('/processCenter') this.$router.push('/processCenter')
} }
this.isSubmit = false this.isSubmit = false
@@ -862,22 +862,25 @@
this.itermsConditionsTitle = row.replace(/''/g, '\'') this.itermsConditionsTitle = row.replace(/''/g, '\'')
}, },
getData () { getData () {
const queryId =this.$route.query.bpnId
if(queryId !== null && queryId !== undefined && queryId !==''){
queryTaskFirst({ queryTaskFirst({
bpnId: this.$route.query.bpnId bpnId: this.$route.query.bpnId
}).then(res => { }).then(res => {
let mes = JSON.parse(res.mes) let mes = JSON.parse(res.mes)
this.bpnId = this.$route.query.bpnId this.bpnId = this.$route.query.bpnId
if (mes.form.date) { if (mes.form.date) {
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD')) mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
} else { } else {
mes.form.date = '' mes.form.date = ''
} }
this.form = mes.form this.form = mes.form
this.roleForm = mes.roleForm this.roleForm = mes.roleForm
this.commentText1 = mes.commentText1 || '' this.commentText1 = mes.commentText1 || ''
this.itemList = mes.itemList this.itemList = mes.itemList
this.sarType = mes.sarType this.sarType = mes.sarType
}) })
}
}, },
setMap(data){ setMap(data){
data.forEach(item => { data.forEach(item => {
@@ -1136,9 +1139,11 @@
let taskId = { let taskId = {
id: this.$route.query.bpnId id: this.$route.query.bpnId
} }
if(taskId !== '' && taskId !== undefined && taskId !== null){
taskDel(taskId).then(res=>{ taskDel(taskId).then(res=>{
return res return res
}) })
}
this.$router.push('/processCenter') this.$router.push('/processCenter')
} }
}) })
@@ -661,30 +661,33 @@ export default {
window.open(routeUrl.href, '_blank') window.open(routeUrl.href, '_blank')
}, },
getData() { getData() {
queryTaskFirst({ const queryId = this.$route.query.bpnId
bpnId: this.$route.query.bpnId if(queryId !== null && queryId !== undefined && queryId !==''){
}).then(res => { queryTaskFirst({
let mes = JSON.parse(res.mes) bpnId: this.$route.query.bpnId
console.log(mes); }).then(res => {
this.bpnId = this.$route.query.bpnId let mes = JSON.parse(res.mes)
if (mes.form.endTime) { console.log(mes);
mes.form.endTime = new Date(this.$moment(mes.form.endTime).format('YYYY-MM-DD')) this.bpnId = this.$route.query.bpnId
} else { if (mes.form.endTime) {
mes.form.endTime = '' mes.form.endTime = new Date(this.$moment(mes.form.endTime).format('YYYY-MM-DD'))
} } else {
this.addFjList = mes.filesId || mes.form.filesId || '' mes.form.endTime = ''
this.form.fjListName = mes.filesName }
this.form = mes.form this.addFjList = mes.filesId || mes.form.filesId || ''
this.roleForm = mes.roleForm this.form.fjListName = mes.filesName
this.commentText1 = mes.commentText1 || '' this.form = mes.form
if (this.form.standId) { this.roleForm = mes.roleForm
this.$http.get('SarStandItems/sar-stand-items/getFileTypeHG', { this.commentText1 = mes.commentText1 || ''
standId: this.form.standId if (this.form.standId) {
}, {}, res => { this.$http.get('SarStandItems/sar-stand-items/getFileTypeHG', {
this.textTypeList = res.data standId: this.form.standId
}) }, {}, res => {
} this.textTypeList = res.data
}) })
}
})
}
}, },
addZqyjList() { addZqyjList() {
this.title = '国内外标准库' this.title = '国内外标准库'
@@ -860,9 +863,11 @@ export default {
let taskId = { let taskId = {
id: this.$route.query.bpnId id: this.$route.query.bpnId
} }
taskDel(taskId).then(res=>{ if(taskId !== '' && taskId !== undefined && taskId !== null){
return res taskDel(taskId).then(res=>{
}) return res
})
}
this.$router.push('/processCenter') this.$router.push('/processCenter')
} }
}) })
@@ -337,7 +337,10 @@
<div class="prc-content-border" v-show="verifySarStandard"> <div class="prc-content-border" v-show="verifySarStandard">
<el-row :gutter="24"> <el-row :gutter="24">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="代替企标编号" prop="DTQBBHBUSS" class="add-form-item form-item-disabled"> <el-form-item label="代替企标编号"
prop="DTQBBHBUSS"
:rules="form.reviseStatus === '1' ? rules.DTQBBHBUSSNot : rules.DTQBBHBUSS"
class="add-form-item form-item-disabled">
<el-input :disabled="disabledXX" <el-input :disabled="disabledXX"
v-model="form.DTQBBHBUSS" v-model="form.DTQBBHBUSS"
placeholder="请输入代替标准号" placeholder="请输入代替标准号"
@@ -1543,6 +1546,7 @@
DTQBBHBUSS: [ DTQBBHBUSS: [
{ required: true, message: '请选择代替企标编号', trigger: 'change' } { required: true, message: '请选择代替企标编号', trigger: 'change' }
], ],
DTQBBHBUSSNot: [],
}, },
zrUserIds: [], // 选择多个会签责任人 zrUserIds: [], // 选择多个会签责任人
userType:'', // 选择用户ID判断 userType:'', // 选择用户ID判断