|
|
|
@ -96,90 +96,91 @@
|
|
|
|
|
<br/> |
|
|
|
|
<b>说明:</b>{{item.description}}--> |
|
|
|
|
</a-card> |
|
|
|
|
<a-card v-if="item.name=='民爆采购流程'" style="margin-bottom: 1%" v-has="'industrial:planAdd'" hoverable @click="chooseProcess(item)" class="forRadius" :style="{'background-color':item.color,'border-radius':'12px','width':'24%','display': 'inline-block','margin-right':'1%'}" :headStyle="{'border-radius':'12px'}"> |
|
|
|
|
<div slot="title"> |
|
|
|
|
<a-row style="text-align: center;"> |
|
|
|
|
<!-- <a-col span="12" :title="item.name">{{item.name}} </a-col>--> |
|
|
|
|
<!--<a-col span="12" style="text-align: center;">--> |
|
|
|
|
<a href="javascript:void (0)" style="color: white;font-size: 18px;font-weight: bolder;">{{item.name}}</a> |
|
|
|
|
<!-- <a href="javascript:void (0)" @click="chooseProcess(item)">{{item.name}}</a>--> |
|
|
|
|
<!--</a-col>--> |
|
|
|
|
</a-row> |
|
|
|
|
</div> |
|
|
|
|
<!-- <b>版本:</b>v.{{item.version}} |
|
|
|
|
<br/> |
|
|
|
|
<b>说明:</b>{{item.description}}--> |
|
|
|
|
</a-card> |
|
|
|
|
<a-card v-if="item.name=='民爆入库流程'" v-has="'industrial:warehousingAdd'" hoverable @click="chooseProcess(item)" class="forRadius" :style="{'background-color':item.color,'border-radius':'12px','width':'24%','display': 'inline-block','margin-right':'1%'}" :headStyle="{'border-radius':'12px'}"> |
|
|
|
|
<div slot="title"> |
|
|
|
|
<a-row style="text-align: center;"> |
|
|
|
|
<!-- <a-col span="12" :title="item.name">{{item.name}} </a-col>--> |
|
|
|
|
<!--<a-col span="12" style="text-align: center;">--> |
|
|
|
|
<a href="javascript:void (0)" style="color: white;font-size: 18px;font-weight: bolder;">{{item.name}}</a> |
|
|
|
|
<!-- <a href="javascript:void (0)" @click="chooseProcess(item)">{{item.name}}</a>--> |
|
|
|
|
<!--</a-col>--> |
|
|
|
|
</a-row> |
|
|
|
|
</div> |
|
|
|
|
<!-- <b>版本:</b>v.{{item.version}} |
|
|
|
|
<br/> |
|
|
|
|
<b>说明:</b>{{item.description}}--> |
|
|
|
|
</a-card> |
|
|
|
|
<a-card v-if="item.name=='民爆出库流程'" v-has="'industrial:deliberyAdd'" hoverable @click="chooseProcess(item)" class="forRadius" :style="{'background-color':item.color,'border-radius':'12px','width':'24%','display': 'inline-block','margin-right':'1%'}" :headStyle="{'border-radius':'12px'}"> |
|
|
|
|
<div slot="title"> |
|
|
|
|
<a-row style="text-align: center;"> |
|
|
|
|
<!-- <a-col span="12" :title="item.name">{{item.name}} </a-col>--> |
|
|
|
|
<!--<a-col span="12" style="text-align: center;">--> |
|
|
|
|
<a href="javascript:void (0)" style="color: white;font-size: 18px;font-weight: bolder;">{{item.name}}</a> |
|
|
|
|
<!-- <a href="javascript:void (0)" @click="chooseProcess(item)">{{item.name}}</a>--> |
|
|
|
|
<!--</a-col>--> |
|
|
|
|
</a-row> |
|
|
|
|
</div> |
|
|
|
|
<!-- <b>版本:</b>v.{{item.version}} |
|
|
|
|
<br/> |
|
|
|
|
<b>说明:</b>{{item.description}}--> |
|
|
|
|
</a-card> |
|
|
|
|
<a-card v-if="item.name=='民爆报废流程'" v-has="'industrial:srcapAdd'" hoverable @click="chooseProcess(item)" class="forRadius" :style="{'background-color':item.color,'border-radius':'12px','width':'24%','display': 'inline-block','margin-right':'1%'}" :headStyle="{'border-radius':'12px'}"> |
|
|
|
|
<div slot="title"> |
|
|
|
|
<a-row style="text-align: center;"> |
|
|
|
|
<!-- <a-col span="12" :title="item.name">{{item.name}} </a-col>--> |
|
|
|
|
<!--<a-col span="12" style="text-align: center;">--> |
|
|
|
|
<a href="javascript:void (0)" style="color: white;font-size: 18px;font-weight: bolder;">{{item.name}}</a> |
|
|
|
|
<!-- <a href="javascript:void (0)" @click="chooseProcess(item)">{{item.name}}</a>--> |
|
|
|
|
<!--</a-col>--> |
|
|
|
|
</a-row> |
|
|
|
|
</div> |
|
|
|
|
<!-- <b>版本:</b>v.{{item.version}} |
|
|
|
|
<br/> |
|
|
|
|
<b>说明:</b>{{item.description}}--> |
|
|
|
|
</a-card> |
|
|
|
|
<a-card v-if="item.name=='民爆归还流程'" v-has="'industrial:restore'" hoverable @click="chooseProcess(item)" class="forRadius" :style="{'background-color':item.color,'border-radius':'12px','width':'24%','display': 'inline-block','margin-right':'1%'}" :headStyle="{'border-radius':'12px'}"> |
|
|
|
|
<div slot="title"> |
|
|
|
|
<a-row style="text-align: center;"> |
|
|
|
|
<!-- <a-col span="12" :title="item.name">{{item.name}} </a-col>--> |
|
|
|
|
<!--<a-col span="12" style="text-align: center;">--> |
|
|
|
|
<a href="javascript:void (0)" style="color: white;font-size: 18px;font-weight: bolder;">{{item.name}}</a> |
|
|
|
|
<!-- <a href="javascript:void (0)" @click="chooseProcess(item)">{{item.name}}</a>--> |
|
|
|
|
<!--</a-col>--> |
|
|
|
|
</a-row> |
|
|
|
|
</div> |
|
|
|
|
<!-- <b>版本:</b>v.{{item.version}} |
|
|
|
|
<br/> |
|
|
|
|
<b>说明:</b>{{item.description}}--> |
|
|
|
|
</a-card> |
|
|
|
|
<a-card v-if="item.name=='民爆调拨流程'" v-has="'industrial:allot'" hoverable @click="chooseProcess(item)" class="forRadius" :style="{'background-color':item.color,'border-radius':'12px','width':'24%','display': 'inline-block','margin-right':'1%'}" :headStyle="{'border-radius':'12px'}"> |
|
|
|
|
<div slot="title"> |
|
|
|
|
<a-row style="text-align: center;"> |
|
|
|
|
<!-- <a-col span="12" :title="item.name">{{item.name}} </a-col>--> |
|
|
|
|
<!--<a-col span="12" style="text-align: center;">--> |
|
|
|
|
<a href="javascript:void (0)" style="color: white;font-size: 18px;font-weight: bolder;">{{item.name}}</a> |
|
|
|
|
<!-- <a href="javascript:void (0)" @click="chooseProcess(item)">{{item.name}}</a>--> |
|
|
|
|
<!--</a-col>--> |
|
|
|
|
</a-row> |
|
|
|
|
</div> |
|
|
|
|
<!-- <b>版本:</b>v.{{item.version}} |
|
|
|
|
<br/> |
|
|
|
|
<b>说明:</b>{{item.description}}--> |
|
|
|
|
</a-card> |
|
|
|
|
<!-- <a-card v-if="item.name=='民爆采购流程'" style="margin-bottom: 1%" v-has="'industrial:planAdd'" hoverable @click="chooseProcess(item)" class="forRadius" :style="{'background-color':item.color,'border-radius':'12px','width':'24%','display': 'inline-block','margin-right':'1%'}" :headStyle="{'border-radius':'12px'}">--> |
|
|
|
|
<!-- <div slot="title">--> |
|
|
|
|
<!-- <a-row style="text-align: center;">--> |
|
|
|
|
<!-- <!– <a-col span="12" :title="item.name">{{item.name}} </a-col>–>--> |
|
|
|
|
<!-- <!–<a-col span="12" style="text-align: center;">–>--> |
|
|
|
|
<!-- <a href="javascript:void (0)" style="color: white;font-size: 18px;font-weight: bolder;">{{item.name}}</a>--> |
|
|
|
|
<!-- <!– <a href="javascript:void (0)" @click="chooseProcess(item)">{{item.name}}</a>–>--> |
|
|
|
|
<!-- <!–</a-col>–>--> |
|
|
|
|
<!-- </a-row>--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<!-- <!– <b>版本:</b>v.{{item.version}}--> |
|
|
|
|
<!-- <br/>--> |
|
|
|
|
<!-- <b>说明:</b>{{item.description}}–>--> |
|
|
|
|
<!-- </a-card>--> |
|
|
|
|
<!-- <a-card v-if="item.name=='民爆入库流程'" v-has="'industrial:warehousingAdd'" hoverable @click="chooseProcess(item)" class="forRadius" :style="{'background-color':item.color,'border-radius':'12px','width':'24%','display': 'inline-block','margin-right':'1%'}" :headStyle="{'border-radius':'12px'}">--> |
|
|
|
|
<!-- <div slot="title">--> |
|
|
|
|
<!-- <a-row style="text-align: center;">--> |
|
|
|
|
<!-- <!– <a-col span="12" :title="item.name">{{item.name}} </a-col>–>--> |
|
|
|
|
<!-- <!–<a-col span="12" style="text-align: center;">–>--> |
|
|
|
|
<!-- <a href="javascript:void (0)" style="color: white;font-size: 18px;font-weight: bolder;">{{item.name}}</a>--> |
|
|
|
|
<!-- <!– <a href="javascript:void (0)" @click="chooseProcess(item)">{{item.name}}</a>–>--> |
|
|
|
|
<!-- <!–</a-col>–>--> |
|
|
|
|
<!-- </a-row>--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<!-- <!– <b>版本:</b>v.{{item.version}}--> |
|
|
|
|
<!-- <br/>--> |
|
|
|
|
<!-- <b>说明:</b>{{item.description}}–>--> |
|
|
|
|
<!-- </a-card>--> |
|
|
|
|
<!-- <a-card v-if="item.name=='民爆出库流程'" v-has="'industrial:deliberyAdd'" hoverable @click="chooseProcess(item)" class="forRadius" :style="{'background-color':item.color,'border-radius':'12px','width':'24%','display': 'inline-block','margin-right':'1%'}" :headStyle="{'border-radius':'12px'}">--> |
|
|
|
|
<!-- <div slot="title">--> |
|
|
|
|
<!-- <a-row style="text-align: center;">--> |
|
|
|
|
<!-- <!– <a-col span="12" :title="item.name">{{item.name}} </a-col>–>--> |
|
|
|
|
<!-- <!–<a-col span="12" style="text-align: center;">–>--> |
|
|
|
|
<!-- <a href="javascript:void (0)" style="color: white;font-size: 18px;font-weight: bolder;">{{item.name}}</a>--> |
|
|
|
|
<!-- <!– <a href="javascript:void (0)" @click="chooseProcess(item)">{{item.name}}</a>–>--> |
|
|
|
|
<!-- <!–</a-col>–>--> |
|
|
|
|
<!-- </a-row>--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<!-- <!– <b>版本:</b>v.{{item.version}}--> |
|
|
|
|
<!-- <br/>--> |
|
|
|
|
<!-- <b>说明:</b>{{item.description}}–>--> |
|
|
|
|
<!-- </a-card>--> |
|
|
|
|
<!-- <a-card v-if="item.name=='民爆报废流程'" v-has="'industrial:srcapAdd'" hoverable @click="chooseProcess(item)" class="forRadius" :style="{'background-color':item.color,'border-radius':'12px','width':'24%','display': 'inline-block','margin-right':'1%'}" :headStyle="{'border-radius':'12px'}">--> |
|
|
|
|
<!-- <div slot="title">--> |
|
|
|
|
<!-- <a-row style="text-align: center;">--> |
|
|
|
|
<!-- <!– <a-col span="12" :title="item.name">{{item.name}} </a-col>–>--> |
|
|
|
|
<!-- <!–<a-col span="12" style="text-align: center;">–>--> |
|
|
|
|
<!-- <a href="javascript:void (0)" style="color: white;font-size: 18px;font-weight: bolder;">{{item.name}}</a>--> |
|
|
|
|
<!-- <!– <a href="javascript:void (0)" @click="chooseProcess(item)">{{item.name}}</a>–>--> |
|
|
|
|
<!-- <!–</a-col>–>--> |
|
|
|
|
<!-- </a-row>--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<!-- <!– <b>版本:</b>v.{{item.version}}--> |
|
|
|
|
<!-- <br/>--> |
|
|
|
|
<!-- <b>说明:</b>{{item.description}}–>--> |
|
|
|
|
<!-- </a-card>--> |
|
|
|
|
<!-- <a-card v-if="item.name=='民爆归还流程'" v-has="'industrial:restore'" hoverable @click="chooseProcess(item)" class="forRadius" :style="{'background-color':item.color,'border-radius':'12px','width':'24%','display': 'inline-block','margin-right':'1%'}" :headStyle="{'border-radius':'12px'}">--> |
|
|
|
|
<!-- <div slot="title">--> |
|
|
|
|
<!-- <a-row style="text-align: center;">--> |
|
|
|
|
<!-- <!– <a-col span="12" :title="item.name">{{item.name}} </a-col>–>--> |
|
|
|
|
<!-- <!–<a-col span="12" style="text-align: center;">–>--> |
|
|
|
|
<!-- <a href="javascript:void (0)" style="color: white;font-size: 18px;font-weight: bolder;">{{item.name}}</a>--> |
|
|
|
|
<!-- <!– <a href="javascript:void (0)" @click="chooseProcess(item)">{{item.name}}</a>–>--> |
|
|
|
|
<!-- <!–</a-col>–>--> |
|
|
|
|
<!-- </a-row>--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<!-- <!– <b>版本:</b>v.{{item.version}}--> |
|
|
|
|
<!-- <br/>--> |
|
|
|
|
<!-- <b>说明:</b>{{item.description}}–>--> |
|
|
|
|
<!-- </a-card>--> |
|
|
|
|
<!-- <a-card v-if="item.name=='民爆调拨流程'" v-has="'industrial:allot'" hoverable @click="chooseProcess(item)" class="forRadius" :style="{'background-color':item.color,'border-radius':'12px','width':'24%','display': 'inline-block','margin-right':'1%'}" :headStyle="{'border-radius':'12px'}">--> |
|
|
|
|
<!-- <div slot="title">--> |
|
|
|
|
<!-- <a-row style="text-align: center;">--> |
|
|
|
|
<!-- <!– <a-col span="12" :title="item.name">{{item.name}} </a-col>–>--> |
|
|
|
|
<!-- <!–<a-col span="12" style="text-align: center;">–>--> |
|
|
|
|
<!-- <a href="javascript:void (0)" style="color: white;font-size: 18px;font-weight: bolder;">{{item.name}}</a>--> |
|
|
|
|
<!-- <!– <a href="javascript:void (0)" @click="chooseProcess(item)">{{item.name}}</a>–>--> |
|
|
|
|
<!-- <!–</a-col>–>--> |
|
|
|
|
<!-- </a-row>--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<!-- <!– <b>版本:</b>v.{{item.version}}--> |
|
|
|
|
<!-- <br/>--> |
|
|
|
|
<!-- <b>说明:</b>{{item.description}}–>--> |
|
|
|
|
<!-- </a-card>--> |
|
|
|
|
<!-- --> |
|
|
|
|
</template> |
|
|
|
|
</a-list> |
|
|
|
|
</a-collapse-panel> |
|
|
|
@ -199,6 +200,7 @@
|
|
|
|
|
> |
|
|
|
|
<component :disabled="lcModa.disabled" v-if="lcModa.visible" :is="lcModa.formComponent" :hieg = "lcModa.hieg" |
|
|
|
|
:processData="lcModa.processData" :isNew = "lcModa.isNew" :pictureId="lcModa.pictureId" :procInstId="lcModa.procInstId" |
|
|
|
|
:printNumber = "lcModa.printNumber" |
|
|
|
|
@afterSubmit="afterSub" @close="closeThis"> |
|
|
|
|
</component> |
|
|
|
|
</a-modal> |
|
|
|
@ -372,7 +374,7 @@
|
|
|
|
|
}).then(res => { |
|
|
|
|
if (res.success) { |
|
|
|
|
// 转换null为"" |
|
|
|
|
console.log("res.result",res.result); |
|
|
|
|
// console.log("res.result",res.result); |
|
|
|
|
let arry=[]; |
|
|
|
|
for (let i = 0; i < res.result.length; i++) { |
|
|
|
|
if (i != 0 && i != res.result.length - 1){ |
|
|
|
@ -381,7 +383,7 @@
|
|
|
|
|
} |
|
|
|
|
_this.nodeList=arry; |
|
|
|
|
if (arry.length>0){ |
|
|
|
|
console.log(_this.nodeList[0],"用户信息!") |
|
|
|
|
// console.log(_this.nodeList[0],"用户信息!") |
|
|
|
|
if (!_this.nodeList[0].users[0]){ |
|
|
|
|
_this.$message.warning(v.name+"审批人员未配置,请配置后在申请!!!"); |
|
|
|
|
ss= true; |
|
|
|
@ -400,19 +402,19 @@
|
|
|
|
|
// console.log("人员信息",res); |
|
|
|
|
// let bu = information(); |
|
|
|
|
// console.log("-=-=-=-=",bu); |
|
|
|
|
if(v.name == "民爆出库流程" && res.post != "系统管理员"){ |
|
|
|
|
let de= { |
|
|
|
|
id: res.departIds |
|
|
|
|
} |
|
|
|
|
let data=await getAction(this.url.queryPageDepare,de); |
|
|
|
|
if(data.result.orgType != "3"){ |
|
|
|
|
// 小队申请 |
|
|
|
|
this.$message.warning("请使用小队账号提交出库申请!"); |
|
|
|
|
return |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
// if(v.name == "民爆出库流程" && res.post != "系统管理员"){ |
|
|
|
|
// let de= { |
|
|
|
|
// id: res.departIds |
|
|
|
|
// } |
|
|
|
|
// let data=await getAction(this.url.queryPageDepare,de); |
|
|
|
|
// if(data.result.orgType != "3"){ |
|
|
|
|
// // 小队申请 |
|
|
|
|
// this.$message.warning("请使用小队账号提交出库申请!"); |
|
|
|
|
// return |
|
|
|
|
// } |
|
|
|
|
// } |
|
|
|
|
let re = false; |
|
|
|
|
if(v.name != "预算计划采购流程" && v.name != "权限授权流程" && res.post != "系统管理员"){ |
|
|
|
|
if(v.name != "权限授权流程"){ |
|
|
|
|
let did = res.departIds; |
|
|
|
|
let de= { |
|
|
|
|
id: res.departIds |
|
|
|
@ -441,6 +443,7 @@
|
|
|
|
|
this.lcModa.title = '发起流程:'+v.name; |
|
|
|
|
this.lcModa.isNew = true; |
|
|
|
|
this.lcModa.hieg = true; |
|
|
|
|
this.lcModa.printNumber = true; |
|
|
|
|
this.lcModa.pictureId=v.id; |
|
|
|
|
this.lcModa.procInstId=''; |
|
|
|
|
this.lcModa.processData = v; |
|
|
|
|