cloud-web-corejs 1.0.58 → 1.0.59
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,11 +1,11 @@
|
|
1
1
|
<template>
|
2
2
|
<div class="detail-wrap" style="margin: -6px -8px;">
|
3
|
-
<el-form ref="editForm" :model="fileObjNotify"
|
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,32 +17,45 @@
|
|
17
17
|
</div>
|
18
18
|
<div class="d-cont">
|
19
19
|
<div class="d-item d-i-left">
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
<
|
27
|
-
|
28
|
-
|
29
|
-
|
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>
|
30
36
|
</div>
|
31
37
|
<div class="d-item d-i-right">
|
32
38
|
<div class="d-i-tit">
|
33
39
|
{{ $t1('不同的文件操作类型,设置对应的系统通知模板') }}
|
34
40
|
</div>
|
35
|
-
<el-form-item prop="addNtCode" :rules="[{ required: false, trigger: 'blur' }]"
|
41
|
+
<el-form-item prop="addNtCode" :rules="[{ required: false, trigger: 'blur' }]"
|
42
|
+
:label="$t1('新增文件-通知模板编码')">
|
36
43
|
<el-input type="text" autocomplete="off" v-model="fileObjNotify.addNtCode" clearable/>
|
37
44
|
</el-form-item>
|
38
|
-
<el-form-item prop="deleteNtCode" :rules="[{ required: false, trigger: 'blur' }]"
|
45
|
+
<el-form-item prop="deleteNtCode" :rules="[{ required: false, trigger: 'blur' }]"
|
46
|
+
:label="$t1('删除文件-通知模板编码')">
|
39
47
|
<el-input type="text" autocomplete="off" v-model="fileObjNotify.deleteNtCode" clearable/>
|
40
48
|
</el-form-item>
|
41
|
-
<el-form-item prop="replaceNtCode" :rules="[{ required: false, trigger: 'blur' }]"
|
49
|
+
<el-form-item prop="replaceNtCode" :rules="[{ required: false, trigger: 'blur' }]"
|
50
|
+
:label="$t1('替换文件-通知模板编码')">
|
42
51
|
<el-input type="text" autocomplete="off" v-model="fileObjNotify.replaceNtCode" clearable/>
|
43
52
|
</el-form-item>
|
44
53
|
</div>
|
45
54
|
</div>
|
55
|
+
<div class="tips">{{
|
56
|
+
$t1('注:删除文件发通知,包括从当前文件夹移动、删除文件。 新增文件发通知,包括上传、复制、移动、从回收站还原文件到当前文件夹下。')
|
57
|
+
}}
|
58
|
+
</div>
|
46
59
|
</el-form>
|
47
60
|
</div>
|
48
61
|
</template>
|
@@ -98,8 +111,6 @@ export default {
|
|
98
111
|
if (valid) {
|
99
112
|
this.$baseConfirm(this.$t1('您确定要保存吗?')).then(() => {
|
100
113
|
var url = this.current_prefix + `/file_obj_notify/save`;
|
101
|
-
debugger
|
102
|
-
let a = 1;
|
103
114
|
this.$http({
|
104
115
|
url: url,
|
105
116
|
method: `post`,
|
@@ -131,23 +142,51 @@ export default {
|
|
131
142
|
.noTr td {
|
132
143
|
height: 0px
|
133
144
|
}
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
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;
|
157
|
+
}
|
158
|
+
|
159
|
+
.d-i-tit {
|
160
|
+
background: #f7f7f7;
|
161
|
+
line-height: 36px;
|
162
|
+
padding: 0 10px;
|
163
|
+
margin-bottom: 16px;
|
164
|
+
font-size: 13px
|
139
165
|
}
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
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;
|
147
178
|
}
|
148
179
|
}
|
149
180
|
}
|
150
181
|
}
|
151
182
|
}
|
152
183
|
|
184
|
+
.tips {
|
185
|
+
margin-top: -156px;
|
186
|
+
background: #FFF;
|
187
|
+
position: relative;
|
188
|
+
line-height: 40px;
|
189
|
+
border-top: solid 1px #eee;
|
190
|
+
padding-left: 12px;
|
191
|
+
}
|
153
192
|
</style>
|