1. 期望完成时间

main
赵培友 3 years ago
parent 8e53971923
commit 2e198ba184
  1. 2
      src/store/modules/user.js
  2. 15
      src/views/plugin/workflow/process/components/effect.vue
  3. 36
      src/views/plugin/workflow/process/components/form.vue

@ -262,8 +262,6 @@ const user = {
setStore({name: 'tenantId', content: state.tenantId})
},
SET_USER_INFO: (state, userInfo) => {
console.log(state)
console.log(userInfo)
if (validatenull(userInfo.avatar)) {
userInfo.avatar = "/img/bg/img-logo.png";
}

@ -163,6 +163,13 @@ export default {
// labelPosition: "top",
// disabled: true,
// },
{
type: "input",
span: 24,
display: true,
prop: "uploadRecords",
labelPosition: "top",
},
{
type: "upload",
propsHttp: {
@ -181,13 +188,7 @@ export default {
dragFile: true,
label: "附件上传",
},
{
type: "input",
span: 24,
display: true,
prop: "uploadRecords",
labelPosition: "top",
},
{
type: "textarea",
label: "实施反馈",

@ -200,7 +200,9 @@ export default {
"renwuzhonglei"
);
for (let i in renwuzhonglei.dicData) {
this.form.renwudengji = renwuzhonglei.dicData[i].taskLevel;
if (val === renwuzhonglei.dicData[i].id) {
this.form.renwudengji = renwuzhonglei.dicData[i].taskLevel;
}
}
}
},
@ -241,7 +243,7 @@ export default {
visible: false,
};
},
mounted() {
created() {
//
getCompany().then((res) => {
const data = res.data.data;
@ -282,13 +284,9 @@ export default {
getTaskTypeData({ parentId: id }).then((res) => {
this.form.renwuzhonglei = "";
this.form.renwudengji = "";
const renwuzhonglei = this.findObject(
this.option.column,
"renwuzhonglei"
);
this.$nextTick(() => {
renwuzhonglei.dicData = res.data.data;
});
console.log(this.option);
const renwuzhonglei = this.option.column[3];
renwuzhonglei.dicData = res.data.data;
});
},
systemChange(id) {
@ -370,17 +368,15 @@ export default {
option.column = columnArr;
option.group = groupArr;
this.option = option;
// this.findObject(this.option.column, 'yunweigongsi').disabled = true
//
// const gongshimingcheng = this.findObject(
// this.option.column,
// "gongshimingcheng"
// );
// if(gongshimingcheng.dicData.length === 1) {
// gongshimingcheng.disabled = true;
// gongshimingcheng.value = gongshimingcheng.dicData[0].dictKey;
// }
const time = this.findObject(
this.option.column,
"qiwangwanchengshijian"
);
time.pickerOptions = {
disabledDate(time) {
return time.getTime() < Date.now() - 24 * 60 * 60 * 1000;
},
};
if (this.permission.wf_process_draft) {
// 稿
this.initDraft(process.id).then((data) => {

Loading…
Cancel
Save