mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-23 21:36:37 +08:00
优化代码
This commit is contained in:
parent
ccdc4c8fd5
commit
af909278ac
@ -29,7 +29,7 @@
|
||||
<div class="form-group row" v-if="flowAuditInfo.state == '1100' && flowAuditInfo.assignee == '-2'">
|
||||
<label class="col-sm-2 col-form-label">员工</label>
|
||||
<div class="col-sm-8">
|
||||
<input type="text" class="form-control" placeholder="必填,请选择下一处理人" disabled v-model="purchaseApproversInfo.staffName">
|
||||
<input type="text" class="form-control" placeholder="必填,请选择下一处理人" disabled v-model="flowAuditInfo.staffName">
|
||||
</div>
|
||||
<div class="col-sm-2">
|
||||
<button class="btn btn-white " type="button" v-on:click="chooseStaff()">
|
||||
|
||||
@ -32,6 +32,7 @@
|
||||
_initEvent: function() {
|
||||
vc.on('flowAudit', 'openAuditModal', function(_param) {
|
||||
vc.copyObject(_param, $that.flowAuditInfo);
|
||||
$that.flowAuditInfo.state = '';
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
@ -110,7 +111,10 @@
|
||||
param,
|
||||
function(json, res) {
|
||||
let _auditOrdersInfo = JSON.parse(json);
|
||||
$that.flowAuditInfo.auditOrders = _auditOrdersInfo.data;
|
||||
if (_auditOrdersInfo.data.length < 1) {
|
||||
return;
|
||||
}
|
||||
$that.flowAuditInfo.assignee = _auditOrdersInfo.data[0].assignee;
|
||||
},
|
||||
function(errInfo, error) {
|
||||
console.log('请求失败处理');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user