|
@@ -386,7 +386,7 @@
|
|
|
<div style="color: #b1b3b8;width: 100%;">
|
|
<div style="color: #b1b3b8;width: 100%;">
|
|
|
注:请上传后缀名为.docx .pdf .txt的文件
|
|
注:请上传后缀名为.docx .pdf .txt的文件
|
|
|
</div>
|
|
</div>
|
|
|
- <el-link type="primary">{{formJi.mdInName}}</el-link>
|
|
|
|
|
|
|
+ <el-link type="primary" @click="downIn">{{formJi.mdInName}}</el-link>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item label="说明:" prop="" style="margin-left: -1%;">
|
|
<el-form-item label="说明:" prop="" style="margin-left: -1%;">
|
|
|
<el-input v-model="formJi.mdInNote" style="width: 75%;" placeholder="请输入组件执行路径" :rows="2" type="textarea" resize="none"/>
|
|
<el-input v-model="formJi.mdInNote" style="width: 75%;" placeholder="请输入组件执行路径" :rows="2" type="textarea" resize="none"/>
|
|
@@ -417,7 +417,7 @@
|
|
|
<div style="color: #b1b3b8;width: 100%;">
|
|
<div style="color: #b1b3b8;width: 100%;">
|
|
|
注:请上传后缀名为.docx .pdf .txt的文件
|
|
注:请上传后缀名为.docx .pdf .txt的文件
|
|
|
</div>
|
|
</div>
|
|
|
- <el-link type="primary">{{formJi.mdOutName}}</el-link>
|
|
|
|
|
|
|
+ <el-link type="primary" @click="downOut">{{formJi.mdOutName}}</el-link>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item label="说明:" prop="" style="margin-left: -1%;">
|
|
<el-form-item label="说明:" prop="" style="margin-left: -1%;">
|
|
|
<el-input v-model="formJi.mdOutNote" style="width: 75%;" placeholder="请输入组件执行路径" :rows="2" type="textarea" resize="none"/>
|
|
<el-input v-model="formJi.mdOutNote" style="width: 75%;" placeholder="请输入组件执行路径" :rows="2" type="textarea" resize="none"/>
|
|
@@ -589,6 +589,7 @@ const upload = reactive({
|
|
|
// 上传的地址
|
|
// 上传的地址
|
|
|
url: import.meta.env.VITE_APP_BASE_API + "/common/upload"
|
|
url: import.meta.env.VITE_APP_BASE_API + "/common/upload"
|
|
|
});
|
|
});
|
|
|
|
|
+const downUrl = ref(import.meta.env.VITE_APP_BASE_API)
|
|
|
const tableKey = ref(0);
|
|
const tableKey = ref(0);
|
|
|
const totalComReg = ref()
|
|
const totalComReg = ref()
|
|
|
const currentPage = ref(1)
|
|
const currentPage = ref(1)
|
|
@@ -697,6 +698,11 @@ function showDe(row){
|
|
|
formJi.value = res.data
|
|
formJi.value = res.data
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
|
|
+function downIn(){
|
|
|
|
|
+ var url = formJi.value.mdInName
|
|
|
|
|
+ console.log(url)
|
|
|
|
|
+ proxy.download(url,formJi.value.mdInFile);
|
|
|
|
|
+}
|
|
|
function delModel(row){
|
|
function delModel(row){
|
|
|
proxy.$modal.confirm('是否确认删除?').then(function () {
|
|
proxy.$modal.confirm('是否确认删除?').then(function () {
|
|
|
return delMdid(row.mdid);
|
|
return delMdid(row.mdid);
|