|
@@ -37,7 +37,7 @@
|
|
|
ref="KFB"
|
|
|
@submit="handleSubmit"
|
|
|
/>
|
|
|
- <div v-if="printTitle" style="text-align: right;margin-right: 13%">
|
|
|
+ <div v-if="printTitleImg" style="text-align: right;margin-right: 13%">
|
|
|
<!-- <img v-print="'#printContent'" ghost style="margin-top: -30px;" width="170px" height="80px" src="http://www.myfitt.cn:18087/jeecg-boot/sys/common/static/temp/20230310100319_1678417947827.png"/> -->
|
|
|
<img v-print="'#printContent'" ghost style="margin-top: -30px;" width="340px" height="160px" src="http://www.myfitt.cn:18087/jeecg-boot/sys/common/static/temp/20230310100319_1678417947827.png"/>
|
|
|
</div>
|
|
@@ -123,6 +123,7 @@ export default {
|
|
|
data () {
|
|
|
return {
|
|
|
printTitle:false,
|
|
|
+ printTitleImg:false,
|
|
|
isSJ: false,
|
|
|
todoManageOperationObject: {
|
|
|
isSave: false,
|
|
@@ -196,15 +197,12 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
created () {
|
|
|
- // debugger
|
|
|
- // console.log("==============="+this.processData);
|
|
|
- // console.log("==============="+this.processData.status);
|
|
|
- // console.log("==============="+this.processData.title);
|
|
|
- if(this.processData.status == 2){
|
|
|
- this.printTitle = true;
|
|
|
- }else{
|
|
|
- this.printTitle = false;
|
|
|
- }
|
|
|
+ // debugger
|
|
|
+ console.log("==============="+this.processData);
|
|
|
+ console.log("==============="+this.processData.status);
|
|
|
+ console.log("==============="+this.processData.title);
|
|
|
+ console.log("==============="+this.processData.businessTable);
|
|
|
+
|
|
|
// console.log("==============="+getProjctName());
|
|
|
window.deleteRow = this.deleteRow
|
|
|
// console.log('流程数据', this.processData)
|
|
@@ -543,11 +541,34 @@ export default {
|
|
|
// 赋值
|
|
|
this.$refs.KFB.setData(this.data)
|
|
|
this.btndisabled = false
|
|
|
+
|
|
|
+ if(this.processData.status == 2){
|
|
|
+ this.printTitle = true;
|
|
|
+
|
|
|
+ if(this.processData.businessTable == 'meeting_summary'){
|
|
|
+ let leadership_pass = this.$refs.KFB.form.getFieldValue('leadership_pass');
|
|
|
+ if(leadership_pass == 2){
|
|
|
+ this.printTitleImg = false;
|
|
|
+ }else{
|
|
|
+ this.printTitleImg = true;
|
|
|
+ }
|
|
|
+ }else{
|
|
|
+ this.printTitleImg = true;
|
|
|
+ }
|
|
|
+
|
|
|
+ }else{
|
|
|
+ this.printTitleImg = false;
|
|
|
+ this.printTitle = false;
|
|
|
+ }
|
|
|
+
|
|
|
} else {
|
|
|
this.$message.error(res.message)
|
|
|
}
|
|
|
})
|
|
|
+
|
|
|
+
|
|
|
})
|
|
|
+
|
|
|
},
|
|
|
//遍历help
|
|
|
forHelp(obj){
|
|
@@ -614,7 +635,7 @@ export default {
|
|
|
setTimeout(function(){
|
|
|
that.$refs.KFB.setData({[item[0].label]:that.$store.getters.userInfo.realname})
|
|
|
var jnDeparment = ''
|
|
|
- if(getProjctName() =='技能博物馆'){ //获取技能博物馆登录人对应的部门
|
|
|
+ if(getProjctName() =='技能博物馆'){ //获取技能博物馆登录人对应的部门
|
|
|
that.dynamicData.personListJn.map(item =>{
|
|
|
if(item.label == that.$store.getters.nickname){
|
|
|
jnDeparment = item.departIds_dictText
|