|
|
@@ -80,7 +80,8 @@
|
|
80
|
80
|
<!--<input class="input" type="button" value="删除附件" id="scfj" style="display:none;" />-->
|
|
81
|
81
|
<input type="hidden" id="file" />
|
|
82
|
82
|
<span style="color:#FF0000; border: none;">
|
|
83
|
|
- (文件格式为png,jpg,mp4,mp3,pdf,doc,docx,xls,xlsx)
|
|
|
83
|
+ (文件格式为png,jpg,mp4,mp3,pdf,doc,docx,xls,xlsx)
|
|
|
84
|
+
|
|
84
|
85
|
</span>
|
|
85
|
86
|
</td>
|
|
86
|
87
|
</tr>
|
|
|
@@ -278,8 +279,8 @@
|
|
278
|
279
|
}
|
|
279
|
280
|
formData.append("token", $.cookie("token"));
|
|
280
|
281
|
var typeName = Files[0].name.split('.')[1];
|
|
281
|
|
- if (typeName == "png" || typeName == 'jpg' || typeName == 'mp4' || typeName == 'mp3' || typeName ==
|
|
282
|
|
- 'pdf' || typeName == 'doc' || typeName == 'docx' || typeName == 'xls' || typeName == 'xlsx') {
|
|
|
282
|
+
|
|
|
283
|
+ if (typeName=="png"||typeName=='jpg'||typeName=='mp4'||typeName=='mp3'||typeName=='pdf'||typeName=='doc'||typeName=='docx'||typeName=='xls'||typeName=='xlsx' ) {
|
|
283
|
284
|
$.ajax({
|
|
284
|
285
|
url: huayi.config.callcenter_url + "/WorkOrder/UploadFile",
|
|
285
|
286
|
type: "POST",
|