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}) setStore({name: 'tenantId', content: state.tenantId})
}, },
SET_USER_INFO: (state, userInfo) => { SET_USER_INFO: (state, userInfo) => {
console.log(state)
console.log(userInfo)
if (validatenull(userInfo.avatar)) { if (validatenull(userInfo.avatar)) {
userInfo.avatar = "/img/bg/img-logo.png"; userInfo.avatar = "/img/bg/img-logo.png";
} }

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

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

Loading…
Cancel
Save