Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
@@ -234,22 +234,6 @@
|
|||||||
<!-- </el-form-item>-->
|
<!-- </el-form-item>-->
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
|
||||||
<el-collapse accordion>
|
|
||||||
<el-collapse-item title="审批意见">
|
|
||||||
<div style="margin: 10px 0;">
|
|
||||||
<el-input
|
|
||||||
type="textarea"
|
|
||||||
:rows="3"
|
|
||||||
resize="none"
|
|
||||||
disabled
|
|
||||||
placeholder="请输入意见"
|
|
||||||
v-model="commentText">
|
|
||||||
</el-input>
|
|
||||||
</div>
|
|
||||||
</el-collapse-item>
|
|
||||||
</el-collapse>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-show="active === '3'">
|
<div class="content" v-show="active === '3'">
|
||||||
<div class="flow-list" style="height: 100%">
|
<div class="flow-list" style="height: 100%">
|
||||||
|
|||||||
@@ -284,7 +284,7 @@ export default {
|
|||||||
formLoading: false,
|
formLoading: false,
|
||||||
approvalFlag: false,
|
approvalFlag: false,
|
||||||
showFlag: true,
|
showFlag: true,
|
||||||
taskId: '',
|
taskIds: '',
|
||||||
bpnId: '',
|
bpnId: '',
|
||||||
drawerTitle: "",
|
drawerTitle: "",
|
||||||
nodeList: [],
|
nodeList: [],
|
||||||
@@ -330,12 +330,12 @@ export default {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.taskId = this.$route.query.taskIds
|
this.taskIds = this.$route.query.taskIds
|
||||||
this.bpnId = this.$route.query.bpnId
|
this.bpnId = this.$route.query.bpnId
|
||||||
if (this.bpnId !== undefined) {
|
if (this.bpnId !== undefined) {
|
||||||
this.getData()
|
this.getData()
|
||||||
}
|
}
|
||||||
if(this.taskId){
|
if(this.taskIds){
|
||||||
this.approvalFlag = true
|
this.approvalFlag = true
|
||||||
this.processTable()
|
this.processTable()
|
||||||
//被驳回时调用
|
//被驳回时调用
|
||||||
@@ -387,10 +387,9 @@ export default {
|
|||||||
* @description: 动态表单读取
|
* @description: 动态表单读取
|
||||||
*/
|
*/
|
||||||
getFormFieldList(item) {
|
getFormFieldList(item) {
|
||||||
console.log(item);
|
this.toggleType= item.type || item.qbfsForm.type
|
||||||
let type = item.type || item.qbfsForm.type
|
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
switch (type){
|
switch (this.toggleType){
|
||||||
case '1':
|
case '1':
|
||||||
this.comName = "merge"
|
this.comName = "merge"
|
||||||
break
|
break
|
||||||
@@ -446,7 +445,6 @@ export default {
|
|||||||
qbzxdFrom.type = this.toggleType
|
qbzxdFrom.type = this.toggleType
|
||||||
this.saveLoading = true
|
this.saveLoading = true
|
||||||
let _formData = new FormData()
|
let _formData = new FormData()
|
||||||
_formData.append('id', this.bpnId || '')
|
|
||||||
_formData.append('createUser', this.$store.getters.userInfo.userId)
|
_formData.append('createUser', this.$store.getters.userInfo.userId)
|
||||||
_formData.append('createUserName', this.$store.getters.userInfo.userName)
|
_formData.append('createUserName', this.$store.getters.userInfo.userName)
|
||||||
_formData.append('prcType', '25')
|
_formData.append('prcType', '25')
|
||||||
@@ -469,10 +467,8 @@ export default {
|
|||||||
qbzxdFrom.type = this.toggleType
|
qbzxdFrom.type = this.toggleType
|
||||||
this.saveLoading = true
|
this.saveLoading = true
|
||||||
let _formData = new FormData()
|
let _formData = new FormData()
|
||||||
console.log(qbzxdFrom);
|
_formData.append("id", this.bpnId || "");
|
||||||
_formData.append('id', this.bpnId || '')
|
_formData.append("taskIds", this.taskIds);
|
||||||
_formData.append('createUser', this.$store.getters.userInfo.userId)
|
|
||||||
_formData.append('createUserName', this.$store.getters.userInfo.userName)
|
|
||||||
_formData.append('prcType', '25')
|
_formData.append('prcType', '25')
|
||||||
_formData.append('json', JSON.stringify({
|
_formData.append('json', JSON.stringify({
|
||||||
roleForm: this.roleForm,
|
roleForm: this.roleForm,
|
||||||
|
|||||||
@@ -736,8 +736,8 @@ export default {
|
|||||||
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.qblx_pageData = mes.qblx_pageData
|
this.qblx_pageData = mes.form ? mes.form : mes.qblx_pageData
|
||||||
this.fileInfoList = mes.qblx_pageData.qblxFile
|
this.fileInfoList = mes.form ? mes.form.qblxFile : mes.qblx_pageData.qblxFile
|
||||||
this.commentText = mes.commentText
|
this.commentText = mes.commentText
|
||||||
this.roleForm = mes.roleForm
|
this.roleForm = mes.roleForm
|
||||||
});
|
});
|
||||||
@@ -927,7 +927,6 @@ export default {
|
|||||||
this.saveLoading = true;
|
this.saveLoading = true;
|
||||||
let _formData = new FormData();
|
let _formData = new FormData();
|
||||||
this.qblx_pageData.qblxFile = this.fileInfoList
|
this.qblx_pageData.qblxFile = this.fileInfoList
|
||||||
_formData.append("id", this.bpnId || "");
|
|
||||||
_formData.append("createUser", this.$store.getters.userInfo.userId);
|
_formData.append("createUser", this.$store.getters.userInfo.userId);
|
||||||
_formData.append("createUserName", this.$store.getters.userInfo.userName);
|
_formData.append("createUserName", this.$store.getters.userInfo.userName);
|
||||||
_formData.append("prcType", "26");
|
_formData.append("prcType", "26");
|
||||||
|
|||||||
Reference in New Issue
Block a user