cloud-web-corejs 1.0.54-dev.30 → 1.0.54-dev.32

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cloud-web-corejs",
3
3
  "private": false,
4
- "version": "1.0.54-dev.30",
4
+ "version": "1.0.54-dev.32",
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
7
7
  "lint": "eslint --ext .js,.vue src",
@@ -1,11 +1,11 @@
1
1
  <template>
2
2
  <div class="detail-wrap" style="margin: -6px -8px;">
3
- <el-form ref="editForm" :model="fileObjNotify" label-position=top>
3
+ <el-form ref="editForm" :model="fileObjNotify">
4
4
  <div class="d-header clearfix">
5
5
  <div class="fl">
6
6
  <i class="el-icon-info"/>
7
7
  <!--{{ isEdit ? $t1('查看文件对象通知设置') : $t1('新增文件对象通知设置') }}-->
8
- 文件操作 - 发系统通知设置
8
+ {{ $t1('文件操作 - 发系统通知设置') }}
9
9
  </div>
10
10
  <div class="fr">
11
11
  <el-button type="primary" plain class="button-sty" @click="$baseReload()" icon="el-icon-refresh-right">
@@ -17,30 +17,45 @@
17
17
  </div>
18
18
  <div class="d-cont">
19
19
  <div class="d-item d-i-left">
20
- <div class="d-i-tit">
21
- <em class="f-red">*</em>
22
- {{ $t1('文件夹内文件操作是否通知') }}
23
- </div>
24
- <el-form-item prop="toNotify" :rules="[{ required: true, trigger: 'blur' }]">
25
- <el-radio-group v-model="fileObjNotify.toNotify">
26
- <div><el-radio :label="0">{{ $t1('不通知') }}</el-radio></div>
27
- <div><el-radio :label="1">{{ $t1('针对当前文件夹中的文件操作') }}</el-radio></div>
28
- <div><el-radio :label="2">{{ $t1('针对当前文件夹与下级所有文件夹的文件操作') }}</el-radio></div>
29
- </el-radio-group>
30
- </el-form-item>
20
+ <div class="d-i-tit">
21
+ {{ $t1('文件操作,是否发系统通知') }}
22
+ </div>
23
+ <el-form-item prop="toNotify" :rules="[{ required: true, trigger: 'blur' }]">
24
+ <el-radio-group v-model="fileObjNotify.toNotify">
25
+ <div>
26
+ <el-radio :label="0">{{ $t1('不发系统通知') }}</el-radio>
27
+ </div>
28
+ <div>
29
+ <el-radio :label="1">{{ $t1('针对当前文件夹中的文件操作') }}</el-radio>
30
+ </div>
31
+ <div>
32
+ <el-radio :label="2">{{ $t1('当前文件夹与下级所有文件夹的文件进行了操作,发系统通知') }}</el-radio>
33
+ </div>
34
+ </el-radio-group>
35
+ </el-form-item>
31
36
  </div>
32
37
  <div class="d-item d-i-right">
33
- <el-form-item prop="addNtCode" :rules="[{ required: false, trigger: 'blur' }]" :label="$t1('新增文件-通知模板编码')">
38
+ <div class="d-i-tit">
39
+ {{ $t1('不同的文件操作类型,设置对应的系统通知模板') }}
40
+ </div>
41
+ <el-form-item prop="addNtCode" :rules="[{ required: false, trigger: 'blur' }]"
42
+ :label="$t1('新增文件-通知模板编码')">
34
43
  <el-input type="text" autocomplete="off" v-model="fileObjNotify.addNtCode" clearable/>
35
44
  </el-form-item>
36
- <el-form-item prop="deleteNtCode" :rules="[{ required: false, trigger: 'blur' }]" :label="$t1('删除文件-通知模板编码') ">
45
+ <el-form-item prop="deleteNtCode" :rules="[{ required: false, trigger: 'blur' }]"
46
+ :label="$t1('删除文件-通知模板编码')">
37
47
  <el-input type="text" autocomplete="off" v-model="fileObjNotify.deleteNtCode" clearable/>
38
48
  </el-form-item>
39
- <el-form-item prop="replaceNtCode" :rules="[{ required: false, trigger: 'blur' }]" :label=" $t1('替换文件-通知模板编码') ">
49
+ <el-form-item prop="replaceNtCode" :rules="[{ required: false, trigger: 'blur' }]"
50
+ :label=" $t1('替换文件-通知模板编码')">
40
51
  <el-input type="text" autocomplete="off" v-model="fileObjNotify.replaceNtCode" clearable/>
41
52
  </el-form-item>
42
53
  </div>
43
54
  </div>
55
+ <div class="tips">{{
56
+ $t1('注:删除文件发通知,包括从当前文件夹移动、删除文件。 新增文件发通知,包括上传、复制、移动、从回收站还原文件到当前文件夹下。')
57
+ }}
58
+ </div>
44
59
  </el-form>
45
60
  </div>
46
61
  </template>
@@ -96,8 +111,6 @@ export default {
96
111
  if (valid) {
97
112
  this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
98
113
  var url = this.current_prefix + `/file_obj_notify/save`;
99
- debugger
100
- let a = 1;
101
114
  this.$http({
102
115
  url: url,
103
116
  method: `post`,
@@ -129,23 +142,51 @@ export default {
129
142
  .noTr td {
130
143
  height: 0px
131
144
  }
132
- .d-cont{display: flex;margin: -11px -12px;
133
- .d-i-left,.d-i-right{border:none !important;padding:24px 18px 24px 14px !important}
134
- .d-i-left{width:420px;}
135
- .d-i-tit{
136
- background:#f7f7f7;line-height: 36px;padding: 0 10px;margin-bottom: 16px;
145
+
146
+ .d-cont {
147
+ display: flex;
148
+ margin: -11px -12px;
149
+
150
+ .d-i-left, .d-i-right {
151
+ border: none !important;
152
+ padding: 24px 18px 24px 14px !important
153
+ }
154
+
155
+ .d-i-left {
156
+ width: 420px;
137
157
  }
138
- .d-i-right{
139
- border-left:solid 1px #e9e9e9 !important;flex:1;padding-left:32px !important;
140
- ::v-deep .el-form-item{margin-bottom:16px;
141
- .el-form-item__label{font-size:14px;}
142
- .el-form-item__content{
143
- .el-input{width:360px !important;
144
- .el-input__inner{height:38px !important}
158
+
159
+ .d-i-tit {
160
+ background: #f7f7f7;
161
+ line-height: 36px;
162
+ padding: 0 10px;
163
+ margin-bottom: 16px;
164
+ font-size: 13px
165
+ }
166
+
167
+ .d-i-right {
168
+ border-left: solid 1px #e9e9e9 !important;
169
+ flex: 1;
170
+ padding-left: 32px !important;
171
+
172
+ ::v-deep .el-form-item {
173
+ margin-bottom: 16px;
174
+
175
+ .el-form-item__content {
176
+ .el-input {
177
+ width: 360px !important;
145
178
  }
146
179
  }
147
180
  }
148
181
  }
149
182
  }
150
183
 
184
+ .tips {
185
+ margin-top: -156px;
186
+ background: #FFF;
187
+ position: relative;
188
+ line-height: 40px;
189
+ border-top: solid 1px #e9e9e9;
190
+ padding-left: 12px;
191
+ }
151
192
  </style>
@@ -45,7 +45,7 @@
45
45
  <tr>
46
46
  <th>{{ $t1('附件') }}</th>
47
47
  <td colspan="7">
48
- <baseUpload accept="file" multi="true" :file.sync="sysNoticeAttachmentDTOs" :auto="true"></baseUpload>
48
+ <baseUpload accept="file" multi="true" :file.sync="sysNoticeAttachmentDTOs"></baseUpload>
49
49
  </td>
50
50
  </tr>
51
51
  <tr>