|
@ -10,28 +10,23 @@ |
|
|
</div> |
|
|
</div> |
|
|
<div style="width: 60%; margin:0 auto; background-color: #FFFFFF; position: relative; padding: 5rem 6.5rem; text-align: left;font-size: 14px; max-width: 400px"> |
|
|
<div style="width: 60%; margin:0 auto; background-color: #FFFFFF; position: relative; padding: 5rem 6.5rem; text-align: left;font-size: 14px; max-width: 400px"> |
|
|
<el-form ref="form" :rules="rules" :model="form" label-width="140px"> |
|
|
<el-form ref="form" :rules="rules" :model="form" label-width="140px"> |
|
|
<el-form-item label="HTTP端口" prop="port"> |
|
|
<el-form-item label="ip" prop="ip"> |
|
|
<el-input v-model.number="form.port" clearable></el-input> |
|
|
<el-input v-model="form.ip" clearable></el-input> |
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item label="点播超时" > |
|
|
|
|
|
<el-input v-model.number="form.playTimeout" clearable></el-input> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item label="自动点播" > |
|
|
|
|
|
<el-switch v-model="form.autoApplyPlay"></el-switch> |
|
|
|
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item label="扩展SDP" > |
|
|
<el-form-item label="端口" prop="port"> |
|
|
<el-switch v-model="form.seniorSdp"></el-switch> |
|
|
<el-input v-model.number="form.port" clearable></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item label="保存轨迹" > |
|
|
<el-form-item label="域" prop="domain"> |
|
|
<el-switch v-model="form.savePositionHistory"></el-switch> |
|
|
<el-input v-model="form.domain" clearable></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item label="等待音视频编码信息"> |
|
|
<el-form-item label="id" prop="id"> |
|
|
<el-switch v-model="form.waitTrack"></el-switch> |
|
|
<el-input v-model="form.id" clearable></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item label="开启接口鉴权"> |
|
|
<el-form-item label="密码" prop="password"> |
|
|
<el-switch v-model="form.interfaceAuthentication"></el-switch> |
|
|
<el-input v-model="form.password" clearable></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-form-item> |
|
|
<el-form-item> |
|
|
<div style="float: right;"> |
|
|
<div style="float: right;"> |
|
|
<el-button type="primary" @click="onSubmit">保存</el-button> |
|
|
<el-button type="primary" @click="onSubmit">保存</el-button> |
|
@ -58,20 +53,19 @@ export default { |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
form: { |
|
|
form: { |
|
|
|
|
|
ip: null, |
|
|
port: null, |
|
|
port: null, |
|
|
autoApplyPlay: null, |
|
|
domain: null, |
|
|
seniorSdp: null, |
|
|
id: null, |
|
|
savePositionHistory: null, |
|
|
password: null, |
|
|
playTimeout: null, |
|
|
|
|
|
waitTrack: null, |
|
|
|
|
|
interfaceAuthentication: null, |
|
|
|
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
rules: { |
|
|
rules: { |
|
|
name: [{ required: true, message: "请输入名称", trigger: "blur" }], |
|
|
ip: [{ required: true, message: "请输入名称", trigger: "blur" }], |
|
|
app: [{ required: true, message: "请输入应用名", trigger: "blur" }], |
|
|
port: [{ required: true, message: "请输入应用名", trigger: "blur" }], |
|
|
stream: [{ required: true, message: "请输入流ID", trigger: "blur" }], |
|
|
domain: [{ required: true, message: "请输入流ID", trigger: "blur" }], |
|
|
gbId: [{ required: true, message: "请输入国标编码", trigger: "blur" }], |
|
|
id: [{ required: true, message: "请输入国标编码", trigger: "blur" }], |
|
|
|
|
|
password: [{ required: true, message: "请输入国标编码", trigger: "blur" }], |
|
|
}, |
|
|
}, |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|