Browse Source

修改按钮

qin_s1
herenshan112 1 month ago
parent
commit
b50e9a6d05
  1. 2
      src/views/formTable/pageInfo.vue
  2. 4
      src/views/formTable/taskListPage.vue

2
src/views/formTable/pageInfo.vue

@ -117,7 +117,7 @@ watch(() => openPage.value,(val:boolean) => {
//liwenxuan bug end //liwenxuan bug end
props.stateForm.dict = string2json(data.structure.dict); props.stateForm.dict = string2json(data.structure.dict);
if(props.stateForm.type != 3){ if(props.stateForm.type != 3){
judgeSubmitCancel({ name: data.structure.mastesformjson }).then((data: any) => { judgeSubmitCancel({ name: data.structure.mastesformjson }).then((dataesv: any) => {
if (props.stateForm.type == 1) { if (props.stateForm.type == 1) {
// console.log("---------------->",props.stateForm.type,submitButtonEs); // console.log("---------------->",props.stateForm.type,submitButtonEs);
props.stateForm.formData.list.push(submitButton); props.stateForm.formData.list.push(submitButton);

4
src/views/formTable/taskListPage.vue

@ -417,9 +417,9 @@ const getNewAppForm = () => {
judgeSubmitCancel({ name: data.data.appForm.mastesformjson }) judgeSubmitCancel({ name: data.data.appForm.mastesformjson })
.then( .then(
(datajud: any) => { (datajud: any) => {
console.log("获取初始化表单数据:===1=======>",datajud)
if (datajud.code == 0) { if (datajud.code == 0) {
if (datajud.data == 3 || datajud.data == 4) { if (datajud.data.buttonIsTrue == 3 || datajud.data.buttonIsTrue == 4) {
if(data.data.appFlow){ if(data.data.appFlow){
stateForm.formData.list.push(submitFlowButton); stateForm.formData.list.push(submitFlowButton);
}else{ }else{

Loading…
Cancel
Save