cloud-web-corejs 1.0.54-dev.132 → 1.0.54-dev.133

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -76,6 +76,10 @@
76
76
  <el-input type="text" autocomplete="off" v-model="exportTemplate.etCompanyCode" clearable/>
77
77
  </el-form-item>
78
78
  </td>
79
+
80
+
81
+ </tr>
82
+ <tr>
79
83
  <th>
80
84
  {{ $t1('是否启用') }}
81
85
  </th>
@@ -87,10 +91,21 @@
87
91
  </el-radio-group>
88
92
  </el-form-item>
89
93
  </td>
94
+ <th>
95
+ {{ $t1('通知类型') }}
96
+ </th>
97
+ <td colspan="3">
98
+ <el-form-item prop="ntType;" :rules="[{ required: false, trigger: 'blur' }]">
99
+ <el-radio-group v-model="exportTemplate.ntType">
100
+ <el-radio :label="0">{{ $t1('系统通知') }}</el-radio>
101
+ <el-radio :label="1">{{ $t1('邮件通知') }}</el-radio>
102
+ </el-radio-group>
103
+ </el-form-item>
104
+ </td>
90
105
  </tr>
91
106
  <tr>
92
107
  <th>{{ $t1('备注') }}</th>
93
- <td colspan="7">
108
+ <td colspan="5">
94
109
  <el-input type="textarea" :rows="2" :placeholder="$t1('请输入内容')" size="small"
95
110
  v-model="exportTemplate.remark"
96
111
  clearable></el-input>
@@ -188,7 +203,7 @@ export default {
188
203
  isEdit: false,
189
204
  tabIndex: 'first',
190
205
  dataId: '',
191
- exportTemplate: {enabled: true, etType: null},
206
+ exportTemplate: {enabled: true, etType: null,ntType:0},
192
207
  showCodeEditor: false,
193
208
  showHiprintDesignDialog: false,
194
209
  printTypes: [2, 3, 6, 7, 8, 9],
@@ -136,6 +136,10 @@ export default {
136
136
  7: this.$t1('拼多多打印'),
137
137
  8: this.$t1('唯品会打印'),
138
138
  9: this.$t1('小红书打印')
139
+ },
140
+ ntTypeMap: {
141
+ 0: this.$t1('系统通知'),
142
+ 1: this.$t1('邮件通知')
139
143
  }
140
144
  };
141
145
  },
@@ -202,6 +206,16 @@ export default {
202
206
  },
203
207
  },
204
208
  },
209
+ {
210
+ title: this.$t1('通知类型'),
211
+ field: "ntType",
212
+ width: 250,
213
+ slots: {
214
+ default: ({row}) => {
215
+ return this.ntTypeMap[row.ntType] || "";
216
+ },
217
+ },
218
+ },
205
219
  {
206
220
  title: this.$t1('组织编码'),
207
221
  field: "etCompanyCode",