cloud-web-corejs 1.0.54-dev.125 → 1.0.54-dev.127

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.
@@ -96,7 +96,7 @@ export default {
96
96
  status: "状态",
97
97
  "a-link": "超链接按钮",
98
98
  "a-text": "超链接文本",
99
- 'project-tag': '项目标签'
99
+ 'project-tag': '标签'
100
100
  },
101
101
  hint: {
102
102
  formulaSetting: "公式设置",
@@ -16,8 +16,8 @@
16
16
  <el-form ref="editCategoryForm" :model="formData" label-width="102px" class="adSearchForm" style="min-height: 150px; width: auto;">
17
17
  <el-form-item :label="$t1('类型')">
18
18
  <el-select v-model="formData.objType" class="all-width">
19
- <el-option value="FormTemplate" :label="$t1('表单')"></el-option>
20
- <el-option value="FormScript" :label="$t1('表单脚本')"></el-option>
19
+ <el-option value="FormTemplate" :label="$t1('表单模板')"></el-option>
20
+ <el-option value="FormScript" :label="$t1('逻辑脚本')"></el-option>
21
21
  <el-option value="TableTemplate" :label="$t1('数据表')"></el-option>
22
22
  </el-select>
23
23
  </el-form-item>
@@ -44,20 +44,22 @@
44
44
  </tr>
45
45
  <tr>
46
46
  <th>
47
- <em class="f-red">*</em>
48
47
  {{ $t1('导入时间') }}
49
48
  </th>
50
49
  <td>
51
50
  {{ formImportLog.impDate }}
52
51
  </td>
53
52
  <th>
54
- <em class="f-red">*</em>
55
53
  {{ $t1('结果') }}
56
54
  </th>
57
- <td colspan="3">
58
- {{ formImportLog.impReturnType }} - {{ formImportLog.impReturnMsg }}
55
+ <td>
56
+ {{ impReturnTypeMap[formImportLog.impReturnType] }}
59
57
  </td>
60
58
  </tr>
59
+ <tr>
60
+ <th>{{ $t1('失败描述') }}</th>
61
+ <td colspan="7">{{ formImportLog.impReturnMsg }}</td>
62
+ </tr>
61
63
  <tr>
62
64
  <th>{{ $t1('创建人') }}</th>
63
65
  <td>{{ formImportLog._createBy }}</td>
@@ -88,7 +90,11 @@ export default {
88
90
  isEdit: false,
89
91
  tabIndex: 'first',
90
92
  dataId: '',
91
- formImportLog: {}
93
+ formImportLog: {},
94
+ impReturnTypeMap: {
95
+ success: this.$t1('成功'),
96
+ fail: this.$t1('失败')
97
+ }
92
98
  };
93
99
  },
94
100
  created() {
@@ -112,6 +112,10 @@ export default {
112
112
  },
113
113
  initTableList() {
114
114
  let that = this;
115
+ let impReturnTypeMap = {
116
+ success: this.$t1('成功'),
117
+ fail: this.$t1('失败')
118
+ }
115
119
  let tableOption = {
116
120
  vue: this,
117
121
  tableRef: 'table-m1',
@@ -144,15 +148,20 @@ export default {
144
148
  }
145
149
  },
146
150
  {
147
- field: 'impReturnMsg',
151
+ field: 'impReturnType',
148
152
  title: this.$t1('结果'),
149
- width: 350,
153
+ width: 150,
150
154
  slots: {
151
155
  default: ({row}) => {
152
- return `${row.impReturnType} - ${row.impReturnMsg}`;
156
+ return impReturnTypeMap[row.impReturnType];
153
157
  }
154
158
  }
155
159
  },
160
+ {
161
+ field: 'impReturnMsg',
162
+ title: this.$t1('失败描述'),
163
+ width: 250
164
+ },
156
165
  {
157
166
  field: 'impDate',
158
167
  title: this.$t1('导入时间'),